skysight-inc/HackerNews huggingface dataset:
No more odd than using Java. There's the huge difference in libraries and tooling but I don't think any inherent feature of Rust makes it less suitable for web backends than Java. I wouldn't pitch this project at work today but somebody has to go first.

Rust makes the most sense to me in a GraphQL/Falcor type backend. The lower number of endpoints combined with Rust's perf and focus on correctness seem like a better fit than templating out web pages.
I didn't get the impression from the article that they just wanted to do something new, they wanted a language/compiler that provided a lot of guarantees before they ever started debugging. That seems like a perfectly reasonable motivation for using a new technology in production.
I bought it about an hour ago. The code generation looks fairly standard. You get 3 installs, but you can deactivate them to use elsewhere (it seems)
I don't necessarily think that it's an either/or situation. I started out with dynamic languages, then did a mix of dynamic languages and C++ for a while (C++ engine with Scheme based scripting language), then went back to dynamic languages, and am now getting into Rust.

You are likely to have a mixed audience as well; even if not everyone has that mixed experience like I do, there will probably be a mix of people in the audience. So, it would probably be a good idea to have some examples and descriptions tailored towards those with a C++ background, and some towards those with dynamic language backgrounds.
How could a "slight" financial transaction tax raise 250 billion in revenue? The profits of the entire banking sector in Switzerland is only 20 billion a year. The entire economy of Switzerland (GDP) is only about 800 billion.

Similarly arithmetically impossible claims were made by European politicians arguing for an FTT two years ago - claiming they would raise 100s of billions from an industry (HFT) which only generates 5 billion or so profits a year - worldwide.
What are your plans for the Windows release?
How do you make secure backups with this?
>That advantage will be a lasting, selling point vs cheap labor of "I know the dark corners and time-wasters. I'll do it right."<

This very much still holds true...excellent point...

I've been in the profession for a number of years, paid attention to detail, and put all my efforts into nailing the skills I've observed to be relevant...

Much to my amusement, I learned a few years ago that some in my network of friends had given me the nickname of "the fixer"...which led to more referrals than I could possibly handle...

I know what I know, and if you call me in I may take a bit more time than you'd like to fix your problem(s), but when I'm done it will be "fixed"....

That's still worth quite a bit, even though the pace has picked up dramatically over the years...your "core" needs to be rock solid for long-term viability...

My advice to beginners is master something, then master something else...before long your reputation will precede you in ways that you'll be delighted by...
Would have loved if they'd signed the code so I didn't get the "unidentified developer" message when I try to run it on OSX.
What the posters below said. If you use SMTP to send to an external server, and you are on Stanford's network, they intercept it. "Relay" might have been the wrong word.
It is. Various optional things from POSIX are missing though (https://github.com/uxcn/yafd/blob/master/src/c/pthread-dw.h).
Show HN: Git-s3-push – Deploy your Git repo to an S3 bucket
I can't see how it could happen - and the reason is even more depressing: world war 3. That will cause "the reset" and after few hundred years the civilization will start growing again. Some of the current knowledge will be lost but it will be reinvented again but better.
Remembering Marvin Minsky, the Father of Artificial Intelligence
Thanks for this reference. I'm quite interested in what kinds of alternate 'bootstrap' energy sources would have been available.
Uses of Function Keys [F1-F12] in Windows
Exactly - that's been our approach too, at least once she reached ~3. "Brush your teeth because otherwise you get cavities." I'd still call that a rule but the article was vague.
Define "average rock," and cite a source for this factoid, please? I'd never heard anything of the sort.

...While you're at it, define "incredibly easy." I'd gathered that thorium fission was still a hard problem.
I can confirm that it is indeed quantitatively slower. The reason is due to the higher resolution; you have to render and scale pictures, which simply didn't take as long on the 1440x900 of the air.

He isn't wrong, you are just looking at different sets of measurables.
cmake is very nice. I used it in my last big c++ project. The cmake language is ugly but I think it's a law or something that build tools use ugly languages.

One advantage of autotools is that it distributes everything as a portable shell script, so the user doesn't have to have a autoconf, etc installed. That was an advantage when giving tarballs to users to run on crazy cluster environments, for example. Anything that calls itself unix has to have a bourne shell. Oh well probably not that big of an advantage these days.

I was really complaining more about dunno-works-on-ubuntu GNUMakefiles and 90s scripting languages extention builds.
so quit your job there, or drop out or don't enroll. real simple solutions, you cowards.
His own sense and easy admittance of his initially poor social skills is quite telling that he has grown. A large issue in our career field is strong egos, and poor self awareness of social issues. It is really telling when you see an engineer who realizes that being social is not so much a choice if one wishes to accomplish great things, partnerships are necessary.

I personally see failure of being a flourishing person, when I observe an anti-social engineer. These type of one-dimensional individuals are great to have as wheels in ones' machine but will never really ascend to greatness lest they embrace total self improvement.
That's why you move to Switzerland for a decade, subsist on bi and pull a small job (maybe), live on scraps and in a hovel, and send money home in the form of remittances
Perhaps it is intended as structural protection of the mouth from the inevitable fall that we bipeds experience.

Does any other animal fall as commonly & dangerously as humans?
Windows support will be implemented next week.

Backups are run automatically and saved in the "bkups" directory (next to the executable).
Identify with this completely. I've done a lot of web programming over the years with PHP, Java, Ruby on Rails and now some Go. I'm perfectly comfortable with Javascript and CSS in terms of making adjustments...

But if you ask me to build an interface from scratch with bootstrap I'm going to end up curled up in a ball on the floor.
it depends - some minds are good with numbers others with different associations
Cantor Set
The WHATWG had a spec-compliant HTML parser in Pascal, if you need it. Currently only does UTF-8 but that should be fixable.
There is no valid way of estimating in invented technologies that rely on understanding things that humanity does not yet understand. The only possible arguments are emotional, which makes reason an unwelcome visitor, which makes the conversations both fraught and boring.
Pretty much every .edu with more than a few thousand students is likely already doing this. If you work at one of them, you should not be surprised to know that your traffic is being monitored or that the capability is there.

Is the "uproar" because of the capturing itself or because the captures are being sent to/monitored by an external third-party?
FSF needs less than $1000 by today to meet their $450K goal
This is more likely an abuse mitigation than intentional surveillance. I helped out in the dorms and student machines were constantly infected with malware, some of which sent tons of spam.

I'd be very surprised if correctly configured SMTP using TLS is intercepted.
Ask HN: Roles as Endpoints or Scoped Roles for an API?
Hi, I'm creating an API and wanting some suggestions or feedback on how roles should be addressed. Currently the system has four roles (responder, dispatcher, regionaladmin, admin). They all have access to only specific portions of the API.

Example of Roles as Endpoints:

Responders can get events (assigned to them) but not post.

GET /v1/responders/events

Dispatchers can get and post events

GET /v1/dispatchers/events
POST /v1/dispatchers/events

Example of Scoped Roles:

GET /v1/events
POST /v1/events

JSON Web Token with Scopes:

Dispatcher
{scopes: [events:read, events:create]}

Responder
{scopes: [events:read]}

Which one of these would be better or more flexible?
Not sure whether this is relevant for your talk, but I rarely see these introductory talks address a language that a lot of people write and which intended to provide several of the same guarantees that Rust does: Java. Java has statically typed "safety" (which is something most Rust talks pitch to dynamic lang devs), decent performance approaching C/C++ for long-running tasks, etc.

I think Rust does way better at most of Java's strong and weak points (aside from maybe ecosystem and current deployments), but it would be good at some point for Rust to have a good story to present to Java devs. Its type system is much better, its safety guarantees stronger, it has pretty good cache locality, its concurrency is approaching the ease of use of the JVM's and has always been safer, and its use of memory is far more reasonable and isn't prone to GC pause.
> And make sure the 3 redirects preserve any request URI parts after the domain as well.

I intentionally break such requests by dropping anything beyond the host name.

If someone are sending data in the open, I don't want their clients to keep working thanks to built-in support for redirects.
That is not at all germane to this issue -- we're talking about a campus mail system, so all metadata is inherently available to the system.
We have direct democracy here in Switzerland. Anybody can propose a federal law: just collect 20,000 signatures for it (100,000 for some radical changes). Iron a few wrinkles, and it can be put to vote in one of the next federal referendums (we have one about every two months).

So far, there were about 2 or 3 unconditional income law proposals in the last 10 years, and they were all voted "no". Thankfully. Because "unconditional income" will not magically appear from nowhere, it will be provided from my salary. And my company's income (at this point, I have to pay around 18,000 francs per year even if my company doesn't do anything to finance all social programs already there — so much for "unconditional income"). And I have to pay another 6,000 francs per year for obligatory medical insurance in Switzerland. And I won't be able to receive this "income" anyway, as I am not a Swiss citizen — I just live here and have a company here, and I have to pay _a lot_ for this.

Money don't grow on trees. It always have to be sourced from somewhere. And not from some nameless "rich corporation" — it will be sourced from my already struggling business. And from yours. And from your salary.
Argan oil benefits
A large part of the problem is centralization- if oil refineries or manufacturing hubs halfway across the world fail, we're suddenly out of supplies needed to function. The sort of collapse talked about here is scary precisely because it could happen everywhere at once. Likewise, because oil drilling depends on technology sourced from all over the world, you can't have a "local restart"- you'd have to reboot the entire planet all in one go.

Historically, the "fall of Rome" wasn't as big a setback in human history as its made out to be- cultural progress shifted over to Persian countries, who kept on doing science and other nice stuff until Europe got itself back together. Meanwhile China ticked along unconcerned about the whole thing. It wouldn't work the same way in today's world, but that's a solvable problem.

I've read about wood gas as a possible energy source for a non-global economy- non-ideal stuff in many respects, and requires the survival of a good amount of know-how, but providing a locally-sourced oil alternative in a pinch.
Companies with a purpose beyond profit tend to make more money
As I read the author's point it was that some set of events would materialize that pull us back into the stone age (the air tight box) which denies the possibility that something we're already doing has already counteracted that. There are no fewer than 6 reasonably well funded fusion research programs which have some possibility of producing massive amounts of easily consumed energy while eliminating large parts of the negative spiral (say carbon emissions), not to mention that with sufficiently inexpensive energy you can pull carbon out of the air and turn it into what every hydro carbon you want.

The world has seen doomsday predictions forever, and while there is always the possibility we'll kill ourselves off, one has to recognize that there is also the possibility that we won't. Good and bad things seem to happen in about equal measure when you look at it on a larger time scale.

Doomsday thinking is counter productive to getting stuff done anyway as it tends to sap people energy (why invest time in what you're doing if you're all going to die anyway? sorts of reasoning).
Well one official solution would be to use the vendor path.
The system works quite nicely - it funnels money from investors to entrepreneurs, just as it always did. It's just that it's running with all safeguards removed. When you see cases of fraud, in general it isn't that that person woke up one day, saying "Today I'm going to commit fraud." It's rather that something didn't work out quite right, and instead of looking back, that person ploughed forward and eventually got caught in a mess that they can't extricate themselves from any longer.

I think that's what happened with Theranos. Why shut the company down saying the underlying science did not work, when you can muddle on for a year longer, cash out, and then shut down and say the science did not work? Except that it's now a year later, and there's an army procurement contract in the works. This is how people turn frauds. The system that overpays CEOs, no matter how unsuccessful, is what's at fault.
My experience is that the quality of directions varies by distance.

Suppose route H -> D passes through intermediate point I.

In cases where most of my concern is directions for the are local to my destination, I've looked at directions H -> D and known they were crap due to knowing that the portion from I -> D contained poor segments. In those cases, getting directions from I -> D tends to improve the poor segments.

As distance increases the search space for routes increases and I strongly suspect Google limits the amount of computation it runs before returning a result. In other words, the route Google provides for A -> B is not idempotent...as is shown by your anecdote.
"Take it with a grain of salt" is an idiom. An idiom by its very nature has a meaning different from its literal meaning. You'll misunderstand an idiom if you try to reason about it from the literal meaning of the words.

A common example is "I could care less." When you see that phrase in a forum of literal-minded people like this one, someone is likely to reply that they should have said "I couldn't care less." Yes, of course that is what the writer meant - but this doesn't make the idiom wrong. The idiom is sarcasm - saying the opposite of its literal meaning. This is more clear when you hear it spoken out loud: the emphasis is on the words "I" and "care", indicating the sarcastic intent.

Or take the phrase "kicked the bucket", which obviously does not literally mean "died". In the movie It's a Mad Mad Mad Mad World, when Jimmy Durante's character dies after his car flies off the road, there happens to be a bucket next to his foot and in his death spasm he kicks it. What makes the scene funny is the use of the idiom's literal meaning - unlike the normal use of an idiom.

In fact, you might say they turned the idiom on its head. But idioms don't have heads, do they? :-)
Things No Skateboarder Ever Says
I don't understand the need to use project files with a text editor. Its like one of the reasons why I don't use IDEs - they force you to use a damn project file. I just use folders and I keep it organized the way I like.
Who you e-mail is protected by TLS
The Neuroscience of Pleasure
Yes, wekan.io is great. Right now the only advantages Skadi offers are a much easier installation/administration and instant search.

However the set of features will grow. I plan to implement functionality similar to Hackpad/Confluence, time management, and even source code management, so that companies have everything in one place for a very affordable price.
For anyone wondering how we know the Cantor set is uncountable, here is one way:

Take any real in the interval [0,1)
Express as a binary expansion
Convert all the 1's to 2's
Reinterpret as a ternary number

That forms a bijection between [0,1) and the Cantor set.
Show HN: Packlane Dreamcoat – custom packaging
Not sure about flipping burgers, but all supermarket chains pay a minimum wage of 4000 CHF (4200-4400 USD) per month, with 4 weeks of paid holidays. Taxes on such a low income would be quite low (15% payroll and 10% income tax). Health insurance is around 200 CHF/month per person, with a 2500 CHF yearly deductible.
The SNES had a different design in the US because of soda
Abuse mitigation may have been the (original) intent. However, it prevents sender verification because stanford.edu is not a designated sender for the external domains, and thus has no SPF records.

If I use SMTP to send via gmail with SSL/TLS over port 587, the headers show it hopping through 5 stanford.edu servers, and finally `spf=softfail (google.com: domain of transitioning xxx@gmail.com does not designate (a stanford IP) as permitted sender)`.
I consulted for UC Berkeley on a project with the UCB IT email team.

I can say firsthand they are excellent people, both technically and also morally. They are careful about security and protecting people and data. There is the usual email protection for virus scanning, spam blocking, abuse alerting, archiving of legal items, and the like.

In my direct experience, the entire chain of command up to and including the UCB CTO is solid. So I hope Napolitano steps up and explains what's happening now.

In the meantime if any UC Berkeley people want to learn how to use GPG for encrypting email, and VPNs for encrypting traffic, I will donate pro bono hours.
Nice project. I would also recommend self-hosted
Kanboard http://kanboard.net
It has full API a reporting capabilities.
Twitter is on the edge of Greatness
If I go to a site called IsTLSFastYet.com, I expect a huge bit of text that says "yes" or "no". Otherwise why use that format?
I honestly don't know much about it other than I was a weird kid and the school thought I was weird enough for observation. I don't think anything ever came of it though, I never changed schools or classes (not that I know what they would necessarily do about a "weird" 5 year old)
They're taking a widespread but largely illegal practice and building a business around it. Most startups don't make time to "figure out the details" by engaging in an organized criminal enterprise.

What will Shypmates be able to do when a Nigerian customs agent decides to make an example of one of their couriers? What about when a customer hides a small amount of contraband in a package and the courier gets jailed for importing drugs?
I wish my parents had taken me to a psychologist when I was having trouble in school. Instead, I was usually punished. I was raised by conservative, psychiatrophobic parents and I never got the help I needed until after college. I'm in my early 20's. I was lucky to have the meta-cognitive awareness needed to identify that something was wrong, and that it had gotten worse. After recently getting care from a professional my quality of life and productivity improved across the board. It almost breaks my heart how much it has helped me. I feel as if I could have been so much more successful in academia. I definitely would have led less of guilt-ridden academic life.

Even if you do not have anxiety, major depression, or other disorder - I think basic psychological therapy is something almost anyone can benefit from. We like to think friends and family are all we need for help during a rough time or troubling period, but, no matter how well intentioned they might be, they are usually the least qualified to help you. It's important to have a professional to talk to in these situations. With children this is even more so.

Psychiatrists can see the red-flags that others often ignore, or brush off as personality quirks. This was the case with me for long time. I would have had a better academic life if the "ADD is bullshit" meme never happened. For me, this prevalent mentality prevented me from receiving the health-care I needed, especially with regards to my very private (and personally shameful) crippling anxiety. I hope one day basic psychological check ups for children become as routine as a dentist visits. There are so many benefits to keeping tabs on your mental health and the only downside is the current social stigma.

If your child is acting up, consistently has trouble with areas such as organization, or is all over the place with grades - please don't assume he or she is lazy or doesn't want to succeed. Help them by taking them to someone who can see things you cannot, and possibly find an easily solvable underlying problem.
Oil drilling is one of the most technologically advanced industries that exist, if not the most, and the existence of such technology is predicated (currently) upon the existence of globally-available cheap energy. Non-oil-based development would likely hit a ceiling where there just isn't enough energy to progress long before you could recreate such an elaborate system.
I don't really see why it would be odd, other than the ecosystem not having quite caught up yet with some other languages. It's an expressive, high level language, which makes being explicit about error handling very easy, the type system makes it a lot easier to guarantee at compile time that a number of errors possible in dynamic languages will never happen, and it's quite efficient.

The efficiency and explicit memory ownership in Rust makes it a lot easier to avoid some of the scalability problems you run into in dynamic languages. The amount of material you can find online on people discussing hunting down memory leaks in Rails, or discussing how they just scale up by throwing gobs of RAM and extra servers at the problem or restarting their app every day or two, is all stuff that is much easier to avoid in a language like Rust. It is possible to leak memory in Rust, but due to how explicit you are about how memory is owned, it's less likely and more likely to be easier to track down if you do.

It is a bit more conceptual overhead to learn Rust than many dynamic languages, but I think that overhead is well spent as it can pay off in performance, stability, and maintainability later on.
I don't know that they physics analogy works so well, or at least, it's definitely missing something. What prevents the whole word "universe" from collapsing on itself, forming a black hole? That is, if there are only attractive forces, the global optimum is to co-locate everything in the same point, which doesn't give you a useful model. There needs to be something in the model that keeps different words apart from each other.

This page has the clearest explanation of word embeddings and the relationship between the objective function and why vector translation captures meaning.

http://nlp.stanford.edu/projects/glove/