skysight-inc/HackerNews huggingface dataset:
Hi, author here.

Unless I misunderstand your post, I think you may have missed important parts!

More is going on than "just wrapping the data of the original vector as a Vec<u8>". That is what happens when we are handed a Vec<uint>, but for other inner types (pairs, vectors, etc) there is more to do (and, actual code presented showing what that work is).

1. A Vec<(u8, u64)> definitely ends up as a (Vec<u8>, Vec<u64>), thereby avoiding padding you'd have if you just wrote out the elements as structs. You absolutely end up saving space, and part of doing this is definitely copying data. (responding to "as it does not actually copy any data").

2. The types themselves can be vectors, corresponding to a struct with owned pointers (whose elements can also own pointers, etc). This is not something that just casting the source array will deal with. It's important here that Rust hands you ownership, as otherwise it would be totally inappropriate for us to claim the underlying memory (which the code does). That part, recycling owned memory, is one of the big performance wins (about 2.5x faster for me than invoking the allocator each time I need to mint a new array).

3. "Copy" doesn't appear in the first post. The types don't have to be Copy, and indeed Vec<T> is not Copy, even if T is.
Not sure where you got that from. But, no such requirement; yay!

Read part 2 for more about Copy, and how when your type is Copy you get a free implementation that does what you suggest (keeping each struct intact), except you can mix and match with Vecs and Options and stuff like that.

Hope this clears up some of the not-sense-making. Feel free to holler with other questions.

Cheers,
Frank
It would actually be incredibly practical advice, but it's also some truly depressing advice.

"Kid, nobody cares how smart you are. Just smile and nod and you'll go further than you can imagine."
Citations:

[1] http://foxtrotalpha.jalopnik.com/7-things-the-marines-have-t...

[2] http://www.funker530.com/397-billion-spent-on-the-f-35-fight...
I agree with everything @fnordsensei said. With the same disclaimer as above, here are some of the things I noticed: heightened 'awareness' (ie: senses appear to be more sensitive than earlier), reduced anxiety, reduced 'restlessness'.
I totally left the #[inline(always)] out from the code, in the interest of explaining. That's what prevents the copying! :D

And also what Steve said about Rust being rly rly smart, or at least move semantics opening the door for that.
"Perhaps I'm more introverted than you are, but there is no way you could get me to go to a conference whose invitation and description excludes the possibility of my gender (or race, or other delineating characteristic) being interested in learning from female founders."

There are some events I avoid because of the language being all about men and the speakers all being male. It's just never intentional when that happens. We're not so different, you & I.
Hi Dodders,

I've writted up a lovely article about this and have just put it up on the site :

http://www.redwhite.cc/bibs-detailed/
Notch buys Beverly Hills mansion for record-setting $70M
More proof the US defense industry has nothing to do with defending America
Mongo + Postgres (with plv8)
I think you've captured the absurdity of the scenario quite well. Unfortunately, I don't have quite the poker face to pull off a claim like "developer <-> management communications aren't absurd".

To be slightly more fair: it's pretty easy to think "if solving this problem was really important, it would already have a budget, like how hurricanes get disaster relief". And so spending $100 on a logo helps people not dismiss the urgency.

This whole situation is not amazing. But an emergency isn't the time to start working on developer <-> management communication problems -- at that point, whatever gets the job done is great.
If the patient is flat unwilling to believe the truth then maybe it's not such a bad idea?

There isn't much of a line between deception and placebo.
Cell Phones and the NSA Mass Surveillance. The Way It Works
I'm not sure what you mean about the lexical awkwardness -- that it's unfamiliar or that it's not so good on its own terms? (Smalltalk's syntax always rubbed me the wrong way at least a little, but it feels like there should be some variation that I would like.)
That would be great! I'd be interested in hearing a panel discussion.
Is Google maps down or is it just me?
PostgreSQL 9.4 logical decoder plugin to deliver data as Protocol Buffers
FWIW, in my experience, those goals weren't at all exclusive of each other. I went to one of those schools, studied hard, and did well. The CS program had a strong feeling of community, particularly among undergraduates who worked as TAs, and from that I developed a network of smart people (including people several years older and younger than me) who also studied hard and did well. There's no doubt I've benefited from that. But the network I'm talking about isn't a prototypical "old boys" network, and it wasn't developed by shmoozing at networking events. I feel very lucky for the opportunity to have the experience.
It is not weighted. For now, it just selects a random country from an array of countries. But I agree that it should be weighted.
John Romero Live-streaming Game Development
I've had this idea for a while and I'm not sure if it's possible from your video. I have a code window, and ideally it would be next to everything: a documentation brower, a test browser, and a terminal. There isn't enough room for that.

It would be awesome if I could cycle through "spaces" that laid the same code window out next to multiple different things. Like maybe 1 is code | browser and 2 is terminal | code.

Possible?
I too found this extremely gratuitous.
Sure. Banning them indeed. For those interested in the why, in some language I speak everyday you could say something that would translate literally into "summoning someone to do or not to do something" as "summoning intruders not to enter". Thanks for pointing that out. :-)
The slides themselves (served via a unikernel) can be found at http://decks.openmirage.org/irill14-seminar#/
The last time I saw this story come up (if I recall correctly it was on 60 minutes a few years back), it was mentioned that antipsychotics worked to alleviating the symptoms; the real problem is that most of the patients experiencing these symptoms didn't _want_ to be told that it was mental, and would refuse to take antipsychotics as a potential solution.

How else could the doctors informing the patients of the real problem, and pointing them at a real solution to the problem?
I'm sorry you regret it. For once, I appreciated reading to the end of an HN comment thread. The comic you posted is a useful illustration.
Hi David,

No problem at all! I do understand where you are coming from.

We're not denying the quality of Castelli and other brands of course. I myself have ridden on these brands and do enjoy them!

But, we are doing something very different by creating a niche within the apparel industry. And this shows in the choices we make during the design process.

We've written up a lovely article for your perusal : http://www.redwhite.cc/bibs-detailed/

Regarding your points about winter gear, rest assured we do have great plans for that. So stay tuned!

I'd also like to get your opinon on a winter bibshort/ tights/ biblongs that you'd like to see on the market. What features would you value?
> and the fact the treatment isn't a delousing or similar is not what we need to focus on

Except that's exactly what the patients focus on. When offered an antipsychotic, most refuse it, and become incensed that the doctor thinks they are (to use the afflicted's terms) crazy.
Dogpatch: HTTP API testing framework, written in PHP using curl
Startup Lessons: Why Finding the Right Co-Founder Is Critical to Startup Success
Philip Greenspun wrote really interesting things about web development in the mid-/late 90's. Nowdays he writes about more general issues, still always worth reading:

http://blogs.law.harvard.edu/philg/
Ironically, vis-a-vis this thread, my non-court, non-client in the office legal uniform is slacks or jeans and a flannel shirt.[1] It's as comfortable as you can get in winter, and I get no shit from anyone about it.

[1] My Oregonian wife is slowly turning me into a lumberjack.
http://en.m.wikipedia.org/wiki/Unicode_equivalence

http://en.m.wikipedia.org/wiki/IDN_homograph_attack

What seems really scary about this is that even Unicode has several different ways of comparing strings, and the correct one depends on the exact situation, so the common response of "just use a library" doesn't work; for example, if a user were searching for a filename it might make sense for full-width characters to compare equal to half-width ones, but not if opening a file where you wouldn't want e.g. the full width version of /etc/passwd to be equivalent to the half-width one.
> It is no surprise that the students on scholarships are typically more successful in the long run. But the reason for the success is not only the college.

Private colleges give out scholarships like candy. It's a form of price discrimination.
Slingshot: Facebook's new app for ephemeral photos
Even plants can do maths (2013)
I don't understand how you can literally have a picture of colored fibers produced in the skin by this phenomenon, and also blame it on a mental issue.

Am I missing something or is the author totally writing off the very empirical evidence he talks about?
They essentially did have this, they told people on the ground that they needed a wrench, and the people on the ground designed one for them to print.
I, for one, do not welcome the trend of information-free wankerism masquerading as security research. I would like proof-of-concept code, formatted in 80-column plain text, dropped on mailing lists. Not this unreadable javascript-laden junk that doesn't even tell me anything worth knowing.
Looks like he's still active.

https://github.com/lsalzman?tab=activity
What did you use for the wireless (if anything)? I gave up trying to use Debian on an Alix board with an Atheros radio because the open ath9k stuff is missing all of the vendor work-arounds that make the radio actually function for more than 20 minutes in a row. I'd love to revisit that project if I thought it wasn't a complete waste of my time.
Pretty much every job I know of outside of our little SV tech bubble will reward you based on your college GPA. Unless something has changed in the last 8 years, a majority of my accounting/finance friends all were vetted on interviews and GPA when applying to E&Y, KPMG, Goldman and the like. Also, it's all about who you know. These type of people represent the majority of white-collar, white college graduate jobs out there - not tech.

Note - that being said, I've interviewed quite a few young graduates recently and for the life of me, I don't remember a single time I looked at someone's GPA. But that's because in tech I'm trying my best to hire young people based on merit. All that matters is whether you can ship code.
http://glance.wtf

Not quite what you're after, but a curated, speed-readable list of good reads.
well said @pilif. I've been using PostgreSQL since the early 6.x days as the back end to web sites. As time went on, I developed an Accounting & ERP software suite in C++ with a thin wrapper around libpq. We've pretty much standardized on PostgreSQL for the things you just said: "friendly community, awesome documentation, awesome tools, and of course and awesome product...."

I literally have a multi-million dollar business & product because of it. And without it, we would be stuck with Oracle or MS-SQL.

And we just recently added full text search within our product using the PostgreSQL full text add-on. My customers absolutely love the feature and they love us because of this.

Another HUGE Thank you from me too.
I see people complaining about JS fragmentation. While it is a problem, it is just a consequence of how hard it is to create a complex webapp this days.

The thing is this.

Things in tech are always changing, and in this web dev of ours, things change faster than anything else. It's crazy. And it is hard. SUPER HARD. And we got to deal with it. So, deal with it.

Things like Exilir, closurescript or any other non-javascript thing are not the answer. Simply because they don't provide a solution on how to architecture your app (front and back end). There is a reason why the JS world is fragmented today. If someday closurescript becomes popular, I guarantee it will be fragmented with frameworks. Simple because WE STILL DON’T KNOW how to create webapps. Sure it would be more functional, pure or whatever. But who cares ?

Now let me tell you what is the situation in the JS community today.

There is the frontend and the backend JS ecosystems, and they have different approaches on how to architecture an app. While the frontend folks used (past tense here) to subscribe to a monolithic approach (angular/ember) the backend folks always subscribed to the unix way (single purpose tools doing one thing well).

I've being coding exclusively js for 3 years now. And trust me when I say that since last October (ng-conf), there is a trend in the frontend community to move away from these monolithic solutions (http://www.breck-mckye.com/blog/2014/12/the-state-of-javascr...). This article really illustrate the feeling we have this days. (and here is the HN: https://news.ycombinator.com/item?id=8679245)

Now think about the backend folks, The unix way have around for over 40 years, and the nodejs folks have embraced it. I guess they got something right. Just a though here. (Compare this with convention over configuration)

Nodejs tools like npm, browserify and gulp are the way to go for building your app and they completely replace rails asset pipeline and rvm (and much more flexible). And there will be no replacement for them anytime soon. They are around for about 5, 3 years and 2 years (an eternity) and they get things right.

JavaScript 1.6 (ES6) feels like a complete different language.
Things like Map, modules and generators are game changers. And 6to5 is the best way to translate ES6 into ES5. So you should learn them ASAP if you wanna be ahead of the curve.

Now let me tell you this about Ruby versus JS world. While the former offers lots of magic with the goal of making the programmer job easier, the later offers the right primitives without any sugar at the cost of convenience. It seems crazy at first (I came from python world, and I used to love their battery included approach) but there is wisdom in the JS approach.

My conclusion, JS and its community has many flaws, but learn to see beyond the trees. The jungle is beautiful and vibrant. And thats be best we got.

PERIOD. and move on. PLS
There are some real stinkers in that list, the ones so long that it's difficult to imagine you getting where you're trying to go:

WINNEMUCCAINDIANCOLONYOFNEVADA-NSN.GOV

FLORIDASORTHOTISTSPROSTHETISTS.GOV

PALMBEACHCOUNTYTAXCOLLECTOR-FL.GOV

The funny thing is, the last one redirects to "PBCTAX.COM", which makes me wonder why they bothered in the first place.
I am working on a similar platform called TalkBig
http://talkbig.co
Yeah, but I don't scratch itches consciously at least. I do it without thinking about it.
fyi: CFA = Chartered Financial Analyst (https://www.cfainstitute.org/pages/index.aspx)
No problem. I feel it's good to automate stupid little things like this, and to share those stupid little scripts with the world.

And yes, I'm an automated tester. :)
The OCaml module system doesn't exist in Rust, and is key to being able to fling around large abstractions with very little runtime cost.

It's worth bearing in mind that OCaml is really two distinct languages: the core ML-style language (which is concise due to type inference, and I think what the above poster is referring to by "pretty functional-programmey"), and the module language (which is verbose and signatures explicitly written down with no inference).

The latter is really the key to constructing large scale systems like Mirage, since they allow fragments of OCaml code to be mapped onto everything from Xen unikernels to JavaScript. Modules can be higher-order (that is, depend on other modules). You can read more about it at https://realworldocaml.org/v1/en/html/functors.html

It's also not yet clear how well Rust's ownership types will scale in bigger systems, but I'm sure we'll find out as the language stabilises. OCaml is a stable, fast and mature implementation of ML that has been around for years.
Let's see the research that supports your claims.
App that lets you talk over email
How 1 Kilowatt Hour Is Wreaking Your Electricity Bill
Interesting. That's directly opposite what I've seen. My close high school friends nearly all went to Ivy League-quality schools: Yale, Penn, MIT, Caltech, etc. Some of us are happy. Most of us are succeeding. A few of us are excelling. (Personally, I'm struggling. I have this irrepressible notion that liberal arts are a waste of my time, no matter how hard I try to subscribe to the learning-for-learning's-sake theory, which is not great for grades.) We're all stressed out of our minds.

Three of my equally, if not more, intelligent friends ended up at public institutions or "second-" or "third-tier" schools. Unequivocally, they're happier. They're thriving, as the article puts it. Student council presidents, top of their class, balanced social life, good job or graduate school prospects.

Of course, this is all anecdata. Me as much as you. The article at least has some semblance of data.

In the end, it's an optimization problem. What is higher education optimizing for? Salary? That seems myopic. Happiness? That seems overly hedonistic. Maturity? Impact upon the world? Good luck measuring that.

College is only not worth it if you don't get out of it what you want. Most of us go to college because society tells us it leads to a "better life"--which is an inherently unquantifiable notion.
If this results in reduced attention for vulnerabilities that don't have a site, logo, and marketing department, then what we've done is imposed a tax on security research.

Which is fine, because security work is extremely overfunded and we don't have globally critical infrastructure like OpenSSL developed by one or two dudes begging for donations.
I can't speak on too many scrapers, but Selenium offers a whole lot over just Web scraping. It's a wonderful tool to automate functonal tests, perform monotonous tasks, and other handy things.

If you do any sort of Web development, I would recommend writing tests using it. It's quite easy to pick up, and is available in different languages, and for different browsers.
A couple days after this was posted to HN, the release of jQuery 1.11.2 and 2.1.3 offers an example of why you might want jQuery even if you might not need it.

http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-re...

> "A bug like this one emphasizes the benefit of using a library like jQuery rather than going directly to the DOM APIs."
> produced in the skin

There is no evidence of this.
Does this use the todo.txt standard format?
How are you so sure those brightly-colored fibers were produced in someone's skin, when the prior probability strongly favors the explanation that they were rubbed off on someone's skin?

For a similar example, think about navel lint. Where does it come from, and why is it approximately the color of the shirts you've been wearing recently?
Does anybody have URLs for the videos? Clicking on the video link for a lecture asks you to install Silverlight.
My girlfriend dealt with bed bugs once with a "steamer" she bought off craigslist. It's kind of like an iron, basically it blows steam. She steamed the whole room, carpet, bed, sheets, pillows. Apparently the temperature kills them. It worked... they disappeared. No chemicals.
My experience is that top students can get an equivalent if not better education at large public universities. (I went to Duke and Michigan)

Public universities are much less forgiving, which means mediocre or unmotivated students get crushed in cases they would get hand-holding (and A- grades) at a private university.

As for connections, they're important and you get better ones at top schools, unequivocally, but you don't need them for many careers.
Was not expecting that,interesting
I don't want to start a flame war here. But why do I ever need to hit the backend? If not to save state. Logic must run only on the frontend

I don't see any need for a Rails controller. In the age of unhosted apps https://unhosted.org/, any backend based app will lose in terms of performace (the network latency will always be there)

Ruby has awful performance characteristic. But it so cute. (seriously, someone have told me this, and sure enough, they love coffescript)

Let's assume if your project works. You get $500.000 in funding and 7 months later you realize that you need to ditch Rails because of the performance.

Just one example of the perf issues I have with Ruby.
Try to compile a super simple SASS file. One time it takes 0.3 sec, the next 2 sec, then the following 1.5 sec. Like WTF is happening. And it is cached !!!!
I was diagnosed with Chronic Idiopathic Urticaria a little while back. It's a histamine imbalance. It sounds similar to the article in that over a couple of days I spontaneously broke out in incredibly itchy hives. The itching was incessant and lasted for months. Even with a diagnosis I found myself getting frustrated and despondent with living with it day to day. Thankfully medicine has answers for me; via constant doctors appointments and $1,000-per-session shots that mask the symptoms.
Yes. I also pushed a docker image with thruk pre-installed:
https://registry.hub.docker.com/u/rohit01/shinken_thruk
Uh, No. It has a different format. Described here: http://www.getmemo.org/dev.html
> At this point I'm convinced only MS know how to write LINQ providers that won't fall over the moment you try to do something useful with them.

I would argue Revenj + Postgres provide much better developer experience. But as you said, it's not written by Microsoft so that attitude doesn't help it out.

I'm 100% sure Microsoft can't write LINQ provider which actually understands Postgres and can use it to the fullest (as Revenj can).
Peer 1:1s – Using Randomness to Strengthen Your Team
Chrome Tracks Every Key Typed into the Omnibox
12M home and business routers vulnerable to critical hijacking hack
awesome tool for writers.Very similar with Kickstarter
I'm kind of newbie in the start up world but your 'landing page' does not offer that much info about what the product is about
This may not apply to your language, but some projects could be maintained by making sure the newest compilers don't throw warnings. In my experience every once in a while when I try a new version of clang on my project, there will be some new warning showing up due to improved diagnostics. Even if not, grab some new tool and check your source - then say you've done it. Some ideas: (for a C project)

- warnings under GCC, clang

- valgrind (commit suppressions of needed, note there are no issues left)

- clang static analyser

- fuzz inputs, commit a note about what was tested

- does it already compile under Linux? Each main distribution? BSDs? Windows? Mac?

- does it include init scripts? Upstart config? Systemd?

- apparmor and selinux profiles?

- have you tested new versions of all your dependencies?

I'm sure not all points will apply to your project, but just be creative with those ideas :-)

Just do something useful. All of those points being some benefit to the project, even if tiny.