skysight-inc/HackerNews huggingface dataset:
I would prefer a cross-platform solution much more... like an IntelliJ IDEA plugin, for example.
If you look closely I never claimed you thought it was...
For entry-level positions, you're absolutely right.

But the authors fail to mention that these firms have turnover approaching 50% per year for new employees. As a new employee fresh out of college, they work you like a dog and wait for those who can't hack it to quit. The first two years are screening for work ethic (though by "work ethic", they mean how much of your life you're willing to sacrifice to the job).

And likability is the core criteria because not only are these professional jobs, they are professional service jobs. As in you work directly with clients. So it's a huge asset to the firm if you're a likable person because you'll have better client relationships that lead to you selling more work.

I've worked in management consulting for a while and that's just the game. Executives at large companies almost invariably have consulting backgrounds themselves, so they know how it works.
Does this use the rust ast? Ala llvm?

I keep hoping for a new age where editors can simply use the language itself to define structure.
I obviously don't know your story or any of the specifics but it might be worth taking a second look at whether or not being pushed while you were scared helped you eventually outgrow those fears.
Actually, no don't do it. I am interviewing for vacationers lately and many people seem to be doing that. It may work with some interviewers, but for me it looks very acted, kind of creepy and in any case irrelevant. If you want a tip for management consulting interviews, act like if you are ready to work, discuss your thought process, ask questions where you don't know something, say something that demonstrates imagination, knowledge or creativity and maybe even act a little by getting on the whiteboard as you would in a meeting. If you got the interview you are halfway there, I am assuming HR has already filtered for the best. The interviewer past me will assume even more.
works great with emacs.
The claim that the concept of "type" is not formally defined, is rather like saying that the concept of "logic" is not formally defined. In both cases there are several competing, completely formal definitions, each with their own scope and uses.

If one is really serious about studying types one should read some of Per Martin-Löf's more philosophical writings on the topic. In his dependent type theory there is a clear extensible philosophical notion of what constitutes a type (being defined by its introduction rules) — and a clear computational meaning.

The fact that one needs concepts like monads to describe effectful programs is not really more surprising than the fact that one needs the concept of a mathematical manifold to describe certain parts of physics. The cool thing is that these mathematical descriptions of effect can actually be used to do effectful programming, thanks to the computational nature of types.
This is pattern matching. They are bound on the left side, and the compiler basically 'solves an equation' to figure out what they are.

For instance, if you wrote

5 * a = 35

You know exactly what the value of `a` is because that value matches the given pattern.

Here, you have an equation that looks like

Ok(n) = number_str.parse::<i32>()

So `n` is defined by the value of `number_str.parse::<i32>()`.
While I'm appalled by some of the recent changes Spotify has made, I'm really impressed by how easy it is to work on their desktop client. I can't even imagine how nice things must be when you have the real source, automatic live-reload, and don't have to muck around with concatenated or minified JS/css/handlebars files. This setup can't be good for memory usage, but it rocks for development!

For anyone who's curious, it's easy to take a look under the hood from the Spotify installation folder. (Windows users can find it at %APPDATA%/Spotify/)

The Apps directory is full of *.spa files. These are zip files; if you extract them to folders with the same names and delete the zips, the application will still work, but you'll be able to edit the code.

The zlink directory is the most useful. This holds the main UI and much of the logic that powers it. Search through main.js in this directory for the Session.prototype.isDeveloper declaration. If you force it to return true, the Spotify UI will refresh when you press F5 inside it. Now you don't have to close and reopen every time you make a change! This will also add some miscellaneous UI embellishments (they aren't terribly useful and can be disabled by hardwiring logic elsewhere in main.js).

Initially, I thought the about directory would be a handy sandbox to mess around in, but then I realized that you can easily add new apps! Integrating them into the UI takes a bit of effort, but you can easily get to them by putting the app URI into the search bar (spotify:app:___). (Each app's URI is defined within the its js file. Make sure you give it a unique name in its manifest, too.)

Additionally, you can open cef.pak and devtools_resources.pak with a text editor and mess around (though they're not terribly useful).

NB: If you're really motivated, it shouldn't be too hard to set up a complete development environment for this. I was able to quickly dump most of the concatenated files to zips - all I needed to do to finish was to cut off some of the module wrapper code and reformat directory paths. I quit when I accomplished my goals of shuffling the UI around, but if you're interested, I have a simple concatenated files dumper at https://gist.github.com/GeorgeHahn/0deef2fb0d392ef507dd.

It takes a bit of mucking around, but it's not too hard to achieve a legacy-UI feel (volume on the left, no lyrics button, de-uglified media control buttons, compact playlist/track lists, etc). Of course, this will get ruined the next time Spotify updates, so you should block updates and make backups if you want to keep your changes.
I would like to suggest that you contact Jim Fruchterman at Benetech (http://benetech.org/) who has had years of experience with computers for the blind. His email is, I believe, jim(at)benetech.org.

About Benetech (from their website): Today, Benetech continues to be a different kind of tech company—a nonprofit—with a pure focus on developing technology for social good. More than two decades after our founding, we’ve grown to include multiple program areas and initiatives that provide technology to improve—even transform—the lives of people all across the world. You can read more about our work through our four main program areas: Human Rights, Global Literacy, Environment and Benetech Labs. - See more at: http://benetech.org/about-us/the-benetech-story/#sthash.qOG9...

Benetech is a not-for-profit and worthy of your support.
>What happens if I stop paying?

>We'll keep your blogs online, but you won't be able to edit content or add to it.

From a user perspective, especially a user who may only blog once every few months, I love this. From a business perspective, I can see this scaling poorly as you still have to pay for the storage and hosting of blogs.

At first - the storage/hosting will be small. But what if you have thousands of "idle" blogs from infrequent bloggers? People who might only post 2-3 blogs a year and only pay you on the month they put a blog up? What about people who begin a blog, post a few, then leave? A common occurrence for people who attempt to start a blog.
Unrelated, but are you talking about creating 3d models out of point cloud data or something else?
When the pool is freed, all strings in it get freed. Generally you arrange pools to be per-"request" (in a web server), but it might be per-syscall in a kernel. At the end of the syscall, all strings get freed in one go.

Pools can also have parent/child relations, so when a parent pool is freed, all child pools are freed.
Do what you like -- but reserve instances so you can do it for longer.
"Never let the future disturb you. You will meet it, if you have to, with the same weapons of reason which today arm you against the present" -- Marcus Aurelius
Because they hire for likability for a reason. If the client likes your people, and your people are good at talking to people, the client will be more likely to hire them.

Professional services margins are already so huge (think 200-500%) that what you pay your employees is almost irrelevant to the bottom line. Thus, these careers are highly lucrative and usually pay 10-20% more than the exact same job in industry.
Delivering Quality, Reliable VoIP via WAN Orchestration and Broadband Bonding
Yes, sitting all day is bad. That study was done decades ago.

http://www.nytimes.com/2009/11/08/health/research/08morris.h...

Maybe once a few more people become tired of these "results", we can devise better studies or use better science to measure our "health".
There are downsides to that approach, like when TedCruz.org shared an SSL with nigerian-prince.com for their donation page.
Quebec tax authorities raid Uber offices in Montreal
Avon Stockholders Can't Take a Joke
Although, I have my suspicions that this article is designed as click-bait, I will add my 5c:

"Those at the top of the consulting, investment-banking and legal professions know that the most prized possession in uncertain times is not brainpower, but self-confidence."

"The most important quality recruiters are looking for is “fit”: they would sooner choose an easy-going person with a second-class mind than a Mark Zuckerberg-type genius who rubs people up the wrong way."

This is exactly why these industries are ripe for disruption. Unfortunately, medicine/healthcare operates like this also to a large degree. The world will be in infinitely better place when this changes and second rate poseurs are replaced by legitimately competent and valuable alternatives.
> but five function calls (from_ptr, from_utf8, to_bytes, unwrap, to_string) just to convert a C string to a Rust string seems like an excessive amount of ceremony

Well, only the first four are really needed. The last one turns it into a local, growable copy. The rest should probably get a convenience wrapper, though.

> the libxls API has an array-of-structs in a few places [...]; because Rust doesn’t believe in pointer arithmetic, I found myself manually writing the pointer arithmetic logic

Forgive me if I'm being stupid, but can't you just use slice.from_raw_parts?

https://doc.rust-lang.org/std/slice/fn.from_raw_parts.html

> writing things in a pseudo-functional, lots-of-chained-method-calls style, for which Rust is not all that well-designed

If this is about speed, then see the other comments. But if this is for another reason, what reason is it? Personally this style of programming suits Rust beautifully.
It's more of a PEBKAC scenario. I'm not saying modern Windows isn't secure per se, but they are far less likely to install something they don't want on Mint (perhaps I should have said crapware or bloatware instead), such as questionable toolbars and other "bundled" software.
http://en.m.wikipedia.org/wiki/Correlation_is_not_causation
As a non-English native I didn't understand: Were there alligators in the river? Were the kids afraid of their own imagination? Is there a double meaning to the word "gator"? Thank you
Yes, the famous M#. Maybe some of that work might flow back into C#.
Citation please. I just searched the AWS ToS, AUP, and customer agreement and found no such restriction.

Or do you mean that the startup $100K credit is restricted from obvious reselling/mining/anything that's not doing a value add? Cause of course AWS doesn't want to give away money, but promote startups to actually use their services.
Updated it! Thanks!! :)
I have used HackerNode for the longest time. It has some weird UI elements but for some reason I like the way it uses the screen space, all the other seem to involve a lot of scrolling (more than I personally want)

Sadly recently HackerNode's comment section broke and none of the ASK HN type posts render any more. So I guess what I'm saying is, I'll give it a go :-)
Deserves it because he was stupid??? Or do you mean because of what he did?
This doesn't preclude such a thing
Dish plans ‘big’ foray into wireless business, document says
(Speaking as someone who knows the folks behind the project) Actually, the reason this exists is because Peli, Nikolai and some other folks wanted to create a way to program your phone using only the phone (i.e. how do you make apps for your phone if that's your only device).
has anyone here taken this course? any comments/opinions?
Yup! Yeah, it really depends on your style. Rust tends to prefer methods to free functions, due to multi-dispatch, but there's a good argument for either style.

Furthermore, there's a non-generic version of this particular conversion:

"foo".to_string()

And, a generic version that expresses a different semantic:

"foo".to_owned()

Strings are a very common type, and so implement a _lot_ of these things, even when this kind of usecase may overlap.
I used to think this myself, but reading up on computing history I've somewhat changed my mind. If Bill Gates hadn't been born and Microsoft hadn't existed, what might have happened instead?

IBM would have still made the PC, only using another CP/M clone as OS, and would have owned that market because the other vendor wouldn't have written as clever a deal as Gates did. Two possible outcomes of that: either IBM would have replaced microsoft as center stone of the PC market and been no better and probably worse than microsoft (they were considered pretty evil in their day), or more likely IBM would have failed to create the PC platform (because that was really Microsoft's doing), and the personal computing market would have remained deeply fragmented on both hardware and software levels, tools for gamers and tinkerers but not business computing. In either case, OS/2 wouldn't have happened in the way that it did (especially since microsoft was a key developer behind that). Linux would have had a significantly tougher time happening, either because of IBM's control of the PC market (including the hardware), or in the fragmentation scenario because the lack of a hardware standard would have made it more difficult to build a community of OS enthusiasts. Apple would have probably gone bankrupt during Jobs' wilderness years. Without ms office propping it up as the only desktop alternative to DOS/windows it wouldn't have stood a chance given how incompetent apple's management was at the time.

So, maybe microsoft slowed down the personal computing market, or maybe they sped it up, or maybe they didn't change the timeline at all. I reckon there's no way to tell unless you have a time machine.

I wonder if Gates feels guilty though. His current efforts are laudable, but it always seems like he's compensating for something.
The Australian system is very different in that we don't have the equivalent of the SAT with your entire university entrance mark determined by your final marks in your 10 best units of high school classes (there is a statewide final exam). Each subject was normalised to a mean of 60% with only 1% of marks over 90%. The universities then rescaled these marks so the mean for moron maths became something like 30% while 4U maths had a scaled mean of 80%. My unscaled mark was around 80% while my scaled mark ended up a little over 90%. My smart friends ended up with the oposite sort of mark.
What about doing some contact fighting sports like jiu jitsu or muay thai or maybe even boxing? This will quickly teach you that your body isn't as fragile as you think it is, it will raise your pain tolerance and give you some confidence.
Shark: Modern System Performance Management
> * "If it's illegal transport, there are consequences and the consequences are the seizure of a vehicle," Coderre said.*

so... Uber drivers might have their cars confiscated?
Fat/zoom.js
Implicitly, the most important feature of a 'systems language' is predictability: how easily can you predict how much memory or time a program will use when running?
Show HN: I built a tool to help you search Digi-Key quickly
The Startups No-One Talks About
Is it a uniquely American thing, this weird school with a caste system based on football?

I went to international school, and I noticed the kids who were playing the popularity game tended to be Americans. The ones who liked to say who was in and who was out. The ones who wanted to be cool, the ones who watched all the right shows and wore all the right clothes. It was a really strong influence on the other kids, and it was particularly Americans who'd recently arrived.

Since it was an international school, not everyone bought in.
Calling him stupid seems to kinda miss the point to me. I think it's more that when you're up against the Feds, especially on something so deeply entrenched as being illegal worldwide as distributing drugs on a massive scale, you're going to get caught eventually, because it only takes one mistake. Sure, he was kinda dumb and made a lot more than one mistake, but how much better could anybody here do? Enough to keep the Feds away for how long, exactly? Another year or two maybe?

I kinda sympathize with his position in a way. He was clearly in over his head both on the technological front and on the administration front, despite making piles of money. When that happens in a normal business, you hire some help. But how do you find help to hire for such a massively illegal operation? Finding anyone who could be trusted is a tough problem, much less someone who can be trusted and also has strong technical skills.
The problem with this comparison is that ordering pizza using some sort of webpage or client-side app is still fundamentally the same interaction as simply calling up the restaurant and ordering the traditional way. The same information needs to be exchanged.

Some devices (e.g. a phone or pizza ordering app) require a network connection because that is fundamentally what the device is intended to do: giving you access to a telecommunication network. A phone or pizza ordering app without immediate network access is generally useless.

On the other hand, a TV only needs to receive a video signal to function properly. If you take away the network, the TV is still useful (it can show traditional broadcast-only video, it can show locally-generated stuff (dvd/video game console), or whatever. You might be able to add additional utility to the TV with a network (automatic guide downloads, for example). Adding the network also brings with it the usual risks associated with being on the internet.

Some may find that trading risk for features is useful. A cell phone can have a lot of utility. The problem is when people start adding network chips to products as part of this "internet of things", without considering if the utility outweighs the risks. Unfortunately, there is moral hazard in this assessment: what is good for the end user ("not being spied upon") is in conflict with the business that sees profit in data mining what used to be the end user's private activities.
Lower (and Simpler) Reserved Pricing for Letters and Postcards
To elaborate a bit further, the reason that the original isn't exhaustive is that to know that, you would have to execute arbitrary code at compile time, the 'if'. The exhaustiveness check is only on the `y` part of the pattern.
Another thing that should probably be clarified is that the author diagnosed the problem with the `let y = x; let z = x;` code incorrectly (assuming that Rust is creating 'bindings'), which (not having actively programmed rust for a while) greatly alarmed me because it sounds like a terrible idea. What is in fact happening is that `x`'s value is _moved_ into `y`, which is a lot easier to think about.
Excited to see an excellent app continue to mature. Looking forward to freeing up my Dropbox space as well to switch to this.

Only question: When will they start to charge for cloud storage, and how much will I have to pay?
If you read Outliers you'll see Bill Gates was also "very lucky".
I'm half convinced that telling everyone you only hire the elite is actually to convince everyone working for you that they are elite and in turn will perform better. IMHO it's the same reason that Google has those crazy interviews and claim they only hire the best. It's motivational bullshit.
Thanks!! Even better we have decided to put our editor on our homepage.
Why we get recruiting wrong in 80% of cases
Reading this article and the comments here I'm stuck by how complicated (at least non trivial) the whole thing is.

At the same time we are trying to push every website (including blogs, little-league clubs, joke sites) to https-only.
Announcing LimeLeads Pro (Sales Leads)
read heinlein's "the man who sold the moon" for a very good portrait of a hero-entrepreneur-visionary. i think that's more in line with musk's mystique than hero-inventor; he's not so much the man who invents things as the man who collects inventors together and makes things happen.
I think joshmn's typo (SenSed instead of SunSed) may have made it onto the page as well. :)
Hesiod: storing user data in the DNS
Fixed it. English is my second language. Thanks!!!
It's very true. The click isn't the problem, the "waiting for transition between pages" is the problem.

Type username/password = ~1s each

Single keypress = ~0.1s each

Page load = ~2s

Before: username + tab + password + enter = 1 + 0.1 + 1 + 0.1 + 2 = ~2.2s

After: username + enter + page load + password + enter = 1 + 0.1 + 2 + 1 + 0.1 + 2 = ~4.2s

Roughly doubling the amount of time it takes to enter your information is significant and annoying.
Dad in the room is very modern development. It seems weird and pointless to me.
Hacking Immigration
Floating metal ideal for building ship hulls
We also may have dramatically underestimated the risk of asteroid impacts. There are many things out there that might be. We should focus on fact based science to address these issues.
>there's something very off putting politically about hard-working middle-class families subsidizing ultra-sports cars for the wealthy.

It seemed to work out for our current President, who subsidized auto manufacturers through bailouts and "Cash for Clunkers" to buy electoral votes in OH and MI.
Belief in Science is a religion.
This.... sounds incredible. Source - currently drunk.
The 'new CCP' in Iceland is making a browser strategy game with 1.5M hexagons
Only a very small part of income car is based on ZEV credits and if those were to go away they'd still have a ~20% profit margin which is well above most traditional auto companies. Their negative income has to do with the rapid expansion they are doing right now.

There always seems to be this ZOMG government bailout around Tesla when that's not really the case when you look at the entire picture.
I think the main thing is I would have sold it wholesale for Bitcoin as soon as it was stable and profitable enough that I could make $10 million USD.

He hit that point pretty early on.

The again, I wouldn't start an illegal business intentionally...so there is that.
Go talk to the guys at ClusterK.com for their balancer device. It will logicall auto-balance your spawn of spot instances across many AZs and make you very resilient. Tell them you want to prove out their balancer.

Do this, because intelligently following the cheapest spot price will save you 90% of the typical costs.

THis will make your 100K be able to support a ton more instances than you would otherwise.

Make sure that whatever you do though is not chatty between the nodes - if you have a ton of instances talking across zones the data transfer fee can be significant.

Make sure that you store large data on an EBS that an instance mounts to prevent large transfer fees between instances and S3.

All instance limits can be raised. The only hard limit in AWS is 100 S3 buckets per account.

Just put in a limit increase request via the console. Email gilleyt@amazon.com if you have issues.