skysight-inc/HackerNews huggingface dataset:
I will tell you what I tried when I was 22, and what I wish I had been told instead.

I was doing weight lifting and ended up developing really bad RSI. Most likely from a combination of a few things including excessive computer use. I stopped, and after that started running, not particularly successfully. That was on and off but not very successful.

Some things I did were good, others weren't. My hips started tightening up and I had joint issues. Lots of testing and alternations later:

#1 Don't eat processed foods or things that will cause a blood sugar crash. This messes up your energy levels and makes consistent exercise much harder. Bulking up, I don't have a good answer for, other than most Westerners are far, far larger than a human would be on a normal diet. Whether or not 61kg is too skinny depends in part on your height.

#2 Get a standing desk, and use it at least part of the day.

#3 Walk every day for at least an hour (much easier if you are in a walkable city; if I wasn't, I might consider a treadmill desk)

#4 Start doing body weight exercise - I recommend "You Are Your Own Gym" for an easy start. This means you can't make up an excuse to not go to the gym because you can do it right by your desk. In this case, it cured my RSI within weeks. Definitely one of the most incredible things that has happened in my life and completely unexpected.

#5 Use an elliptical for endurance or run occasionally.

The important thing is to build up your strength and flexibility without injuring yourself. You are 22 now, but consider if you will be able to do this stuff for the next 50 years.

This baseline fitness will also make it easier to do more active things without getting tired, whether it is mountain biking, running, kayaking, skating, tennis etc.
I'm surprised this article is from 2017. It seems that esr doesn't account for the latest (huge) improvements of Rust during the last year.

Given that Rust is younger than Go, ignoring a year's worth of development makes for an especially unfair comparison.

The issues he cited were from 2014 and 2015, regarding Rust for networking code. Moreover, on his blog post (http://esr.ibiblio.org/?p=7294) he received a clear answer that he seems to have ignored:

Stefano:

[...]
For epoll: There is a crate. You could also use
future-rs or tokio. So you have three possibilities.

Finally, the author of another networking project, TRust-DNS, used these Rust features and was quite satisfied with the elegance of the resulting code:

https://bluejekyll.github.io/blog/rust/2016/12/03/trust-dns-...
Presumably they didn't want to attract the attention of the international copyright police.
I would read that as ten of millions [of dollars of profit], not as revenue, which would imply quite a bit more laptops.
Analyzing the Buzzfeed Trumpworld Graph
Your project is something I had in mind as a potential idea for a long time, and the fact that you went as far as doing that is insane, in the best possible way. Kudos, guess you've just gained a new newsletter subscriber.
Which device are you using OsmocomBB on? Which custom device are you building?

Neo900 looks pretty good for baseband isolation.

The phone network and the protocols for connecting to it are pretty user hostile no matter how open and secure the phone and baseband are though.

Don't forget the SIM card runs its own insecure OS that people have hacked before and you just can't replace that.
Show HN: Iframe custom element which makes iframe not render blocking
not sure if trolling or not... but good luck having your bank app developed by the same standards as the Facebook app protected by the same password.
If that amuses you it gets even better if you replace the leftover translated names by the "original" version:

> In my experience it doesn't work either way, français-speaking wallons get vlaams, vlaming get français, and I assume deutschsprachige gemeinschaft get dansk or íslenska just to fuck with them, possibly schwiizertüütsch to taunt them.
Could someone point me in the direction of a good basic introduction to the mechanics of options, rounds, dilution etc?
I don't think that they could. Because in order to be able to buy fresh food, you need a suply of fresh food, and where is that fresh food going to come from, if not from small time farmers? And if it is impossible for a large number of people to become small time farmers, then if more people choose to eat fresh, the price of fresh food will only rise to the point where they no longer have the choice to do so.
And I suggest following gettext's lead in this regard, so that on your code you would have something like:

i18nstrings = {'My string':<?= _('My string') ?>, 'Second string':<?= _('Second string') ?>};

then you can just do stuff like elem.innerHTML = i18nstrings['My string'];

Of course, you process the language header in the backend.

I reviewed a couple of i18n libraries for javascript but ended up liking this approach more. It was simple and effective.
> What I don't get is why people are always so goddamn defensive of companies and their hiring practices. "The problem lies elsewhere, don't blame the company!!"

I guess because as people who are likely to be subject to those hiring practices, they like them as they currently are.
They already have "control" of copyright enforcement over the internet, they can at least use this power for good to give us nondiscriminatory license agreements.
Well, from my 15 years experience for each nice example of ternary operator being useful there are 10 more examples where it's being used improperly and makes code hardly readable.

I know that the typical answer is "it's just bad programmer", but that's where Go chooses different view. Many design decisions in Go were taken with awareness of the social context of programming.

If the feature incentivizes using it in a wrong way - it's not a bad programmer, it's a bad feature. Programming language is a language between humans in a first place and it should be readable as much as possible, it should deincentivize using obscure and easy-to-use-improperly things.

It so much better when you go to practically any Go repository and find that code is readable and clear. I've never had this experience with any other language before.

PS. Found one of the real examples of abusing ternary operators. That was one of the coolest I've seen. And I guess it's easy to understand that the same programmer wouldn't write the same with "if .. else .." blocks in Go. He would realize that it's too verbose and hard, hence probably wrong design, so he need to find better solution within the space of language features.
http://imgur.com/a/hjKOe
> `5 == Just 5` fails. But in Swift this works like you would want

Why in the world would you want those two to be equal when they obviously don't represent the same thing?

That doesn't make sense, not even if they have the exact same memory representation, in which case I'm pretty sure it has been a compromise, which would mean you're still dealing with `null` with some lipstick on it, making that type behave inconsistently with other types in the language.

This kind of misguided convenience is exactly why equality tests in most languages are in general a clusterfuck.
This is how I built a working conceptual prototype for a app in less than a week
I had a longer response until I read that you are happy to let universities die off. I agree that MOOCs are great for several fields, but everything is not computer science. Even many engineering fields need the physical lab space to get the most impactful learning done. We are seeing many alternatives to universities arise, which are great, but I REALLY don't see how that translates into letting the world's best higher education system decay into disrepair.
The intro calls emotional reasoning "logical reasoning". Fear is an emotion.

The problem with logic is it proceeds from facts. It doesn't account well for unknowns, nor the "unknown unknowns".
> Surely if they are inherently "smarter", they should be dominating the knowledge economy

Does the CEO have the highest IQ in the company? Is the president the most intelligent person in the country?
Let's not fall into the extremes. We can have nice, cheap dorm. Either prison-like dorm, or all inclusive Spanish coast dorm should be not a standard.
Or just having it as an optional language setting.
>Which device are you using OsmocomBB on?

A Motorola C139.

>Which custom device are you building?

A, uh, custom one.

>The phone network and the protocols for connecting to it are pretty user hostile no matter how open and secure the phone and baseband are though.

>Don't forget the SIM card runs its own insecure OS that people have hacked before and you just can't replace that.

Yeah, I'm keeping both of those things in mind. There won't be any assumption that your phone calls or SMS will be secure, but rather that your mainboard OS is secure _from_ the radio and that you don't have to worry about discussions had near your phone and such.
For the sake of comparison the Scala equivalent of those 8 lines is:

case class Data(id: Int, name: String)

and comes with all the other things merb mentioned. And it's unlikely to be any slower in practice since the JIT can inline the access (not that method calls are ever likely to be a noticeable overhead anyway).
Do you mean wall as in the flush button is part of the wall above the toilet, or wall as in the flush button is on a remote completely separate (often on the side or in front of) the toilet?

Because the latter is what you get in Japan, see what patio11 posted above.
The first 5 women who are seeking jobs on an all-male oil rig perhaps have a form of bravery that is a couple standard deviations from the median.

But if they win their case and help to integrate oil rigs, it seems the next 5 women to seek a job on an oil rig will be easier to find. Fields that are not diverse are less attractive to diversity candidates, but that doesn't mean that diversity candidates wouldn't be interested in working in a more integrated environment.
In the U.S. it is mostly assumed that students go straight to college, if that is an option. I think it's very shortsighted.

Four-year colleges are far to expensive to use it to figure out what you want to do. I think it would be much more valuable to try and find internships/shadowing opportunities with different businesses and people. That's what I would do, if I were going to do everything again.

For those who do want to go straight to college, taking random classes at a community college is the right way to go. Typography, Geology, Pre-law—use those classes to get an idea for what you want to study.
Does a modular design approach future-proof your concept?
It's nice that they're applying pressure for content producers to comply with various disability discrimination laws and supply subtitles.
Well, at least 2-3 years ago FB took the opposite direction by splitting FB app from messenger app.
Not to be a jerk, but I have trouble understanding how someone obviously intelligent can make such an oblivious statement. To be a successful self-taught software engineer and quant you likely have a IQ a couple standard deviations above average and work in one of the few fields where someone can succeed through intelligence and hard work with little need for credentials.

"Quit school and become software engineer" is good advice for probably about 1-3% of the population. Granted the alternative shouldn't be dropping $200k on a humanities degree, but what is your "no brainer" solution for everyone else? A degree has long been a pathway to the middle class / white collar work.
nice facilities are easy to see and judge.

And (in theory) this would make a good proxy for judging the other aspects: if the university has pride in providing good quality accommodation for their students, than you could assume that they provide similarly good quality education, library services, etc.

There is also an argument that the accommodation has a direct impact on students' education: if students are worrying about dodgy landlords, ongoing issues with heating or mould or leaking pipes, then they'd lose potential study-time in having to address the issues, have less mental capacity to channel to their education, and have an environment less suited to studying.

So good quality accommodation is a net asset for educational services, but in some places the cost is substantially higher than the private-sector rental market.
Most art courses start with some kind of training in "seeing". What are the real proportions of something? Can we percieve a face as a collection of light and dark areas rather than letting our feature-decoding brain make its own impressions? If you look at the colour of something in isolation, how does it compare to its perception in a scene? And so on.
for the record, firefox for android also integrates the google backdoor for the sole purpose of allowing chromecast for videos... which zero users use or want.
Low Impact DevOps for Beginners, Part 2
I mean, pressing the button to collapse the documentation isn't very hard http://i.imgur.com/rcI3JG5.jpg

I never had to print an osstr yet but it seems fairly straightforward when looking at the docs? There are three obvious functions one could use, each for different use cases: https://doc.rust-lang.org/std/ffi/struct.OsString.html

os_string.to_str() // returns Option<String>
os_string.to_string_lossy() // returns Cow<String>, replacing illegal characters
os_string.into_string() // returns Result<String, OsString> - String if the data is valid, stays OsString for error handling otherwise
I don't :-) But that's the reality of the izakayas around here. Actually the virtually brand new (7 years old???) onsen near me has exclusively washiki toilets (very nice new ones). Apparently the older patrons like them. They have handlebars on the wall too, which is a nice usability touch.
My favorite Pascal compiler story is about the development of G-Pascal for the Apple II and then C64 at http://www.supercoders.com.au/blog/nickgammongpascal.shtml
There are still people in that line of business doing exactly that same thing in 2017.
RedHat Ansible Vulnerability
Says the Python maintainers? And it is completely up to them to say - http://legacy.python.org/dev/peps/pep-0373/#update

Of course you can continue using Python 2.x after 2020 but you will receive no security/bug fixes.
it's not similar, WeChat competition is blocked by Chinese government, kakao operates in free market
It's about hygiene. Picture yourself picking up feces with your bare hands. Would you then rather wipe your hands using paper or wash it off with water? The same applies to your rear end.
The only difference between Go and the pthread model is that Go has a userland scheduler.

That's a _huge_ difference in the context of a network service, and also obscures some other details.

If I have several thousand long-polling clients, one kernel thread per client is simply not realistic. It uses up alot of memory, and the context switching can be costly. Throwing more hardware at the problem is just throwing money down the drain. And if throwing money down the drain is fine, one might as well use one process per connection with blocking I/O.

In order to avoid that in Rust, Node, or most other languages one needs to use a callback or future. But both a callback and future require a dynamic allocation and deallocation per invocation of each function that might block. Especially under heavy load (lots of broadcasts), that's alot when you consider chaining invocations, as you must when composing non-blocking I/O interfaces. Chaining futures hinders compiler optimizations. And in general it hinders function composition. (I commonly see claims that the react pattern is better for composition, yet I never see such people writing _all_ their code that way, e.g. for things like string manipulation. In reality most concurrency, even in network services, is effectively sequential within a wider context beyond the immediate operation. Have you ever tried to implement, e.g., a non-blocking MySQL protocol parser with callbacks/futures? It's ugly.)

People underestimate how efficient and useful storing function invocation state on a stack is. Goroutines (or contiguous, dynamically-sizeable stacks like in Lua) give you the best of all worlds--efficiency of a contiguous stack without the high fixed costs. That means performance _and_ scalability for massively concurrent network services, but also for other patterns--like being able to convert a callback-based push interface into a pull interface, without having to refactor the intermediate code, which can be amazingly powerful for things like parsers.

But for a language like Rust it's understandably difficult to implement stackful coroutines, let alone goroutines. I just wish people wouldn't whitewash the issue.
> Dogwhistle for "can't have nice things because blacks"

Eh. To constrain it deliberately to white people, think "established prosperous modern family, maybe WASPs or atheists, living in the Washington, D.C. suburbs with two stable incomes, commute on the Metro" vs, oh, "army veteran in a community in rural Appalachia which is reeling from the end of coal mining and wreaked by both prescription painkiller abuse and obesity, heavy smoker... local no-name church is the main community center ... considering a job driving a truck."

"Inner city African-American community" or not is but a small portion of this class of differences. Copenhagen vs Aeroskobing is a smaller gap than New York City vs Beards Fork, WV.
Sunk cost fallacy in action right from the start.

This is why you always have a disclaimer allowing editorial discretion when doing anything crowd based.
> I'm a big believer in learning for free via the internet; if you have internet access.

In many university courses the tuition you pay is to access the network of alumni, faculty. These are(still) vital for Phd to collaborate and MBAs to find work. I am not sure the internet is actually even a partially workable substitute for this important aspect.
well if she doesn't mind reporting everything to Chinese government in that piece of spyware (you can't even launch it with blocked location permission) and have censored speech with deleted inappropriate Moments posts and PRIVATE communication, then it's nice app i guess
Agreed. They're even different symbols (manji for temples is left-facing "sauwastika", while Hakenkreuz is right-facing); although both have the same origin.
How is it possible to not find multiple free (beer or speech) Pascal compilers that can deal with Turbo Pascal code after 30 seconds of googling?
HockeyApp is great. Owned by Microsoft, who has doubled down on mobile tools with Xamarin. For beta distriubtion, HockeyApp is a superior product. And it has an API (so you can, say, auto register iOS devices). Fabric is just more known and considered cooler (they do have nice CSS transitions :).
Does this mean that http:// is httpill?
httpsill
ftpill
ircill
sshill
there is no such thing as internet in China, correct word here for North Korea 2.0 is intranet, it's like calling something with 20% milk fat content butter
Has anyone met Elizabeth Holmes? What is her leadership style?
Good point, very true.
Maybe not strictly lifetime problem, but the unexpectedly extended lifetime can cause problem. The caller switches which object it is working on and now the live object in the library is disconnected.
Or, if it is mutable, changes could be done by the library at a time which break caller expectations.

I've found that in GC'ed languages (like Python or JavaScript) not taking care of "lifetime", easily results in logic bugs. Better than crashes* - but still problematic.

* Maybe not always better either. Not crashing may lead to silent data corruption. And obvious problems (like crash) tend to be fixed faster than subtle ones, in practice.
I'm in my mid-40s. For about 15 years, I sat at a desk writing code and slowly dying. Three and a half years ago, I started running three times a week. Then, a little over two years ago, I switched to a standing desk. I've never looked back.

To avoid stiffening up, I play music (usually progressive house or something similarly rhythmic-but-not-too-distracting) into noise-cancelling headphones and let the music move me. Because I'm not standing still, I don't experience lower back pain, stiffness, soreness or anything else.

If I had to go back to sitting now, it would kill me.

[] NB I wrenched my back last autumn by twisting in a funny way while painting a ceiling with a roller on an extension pole. After a couple of weeks of Advil and an aggressive regimen of back exercises and stretches, my back pain was completely gone and I feel better than ever.
It may not be the best reason, but aren't there already dozens of highly product-specific schemes in use? (such as steam:, unreal:, chrome: in Firefox, chrome: in Chrome - with completely different semantics -, view-source: etc etc)
I've physically, personally seen it happen.
Is it? There are alternatives to WeChat which are not blocked by the great firewall. For instance, although not comparable, I am able to use WhatsApp perfectly well without the use of a VPN.
Fun fact: Lisp originally had no GC. It just allocated and allocated memory till there was none left, and then it died, after which the user dumped their working heap to tape, restarted Lisp, and loaded the heap back from tape. Since only the "live" objects were actually written, the heap took up less memory than before and the user could keep going.
Love it as well and I am recommending it to everyone I know who's shipping iOS apps
Turbo Pascal was my introduction to programming. Using just the CRT library (Graph if you wanted to be fancy was also easy to use) and learning about loops and procedures was enough to be able to write simple Nintendo 64 style games. I still don't think any programming languages today match that kind of mild learning curve.
World Map Shows What a Hyperloop-Powered Future May Look Like
Conversations is a great XMPP client. It works very well, support inline images, stream resumption and everything.

The OMEMO standard brings the Signal protocol to XMPP and it works great. I use Conversations for my hacker friends who refuse to install Signal (GCM dependency!) and surprisingly, I'm not missing a lot.

Now we only need a desktop client that supports the same features... And iOS (but TextSecure is making progress there)
Those are interesting arguments but there isn't any evidence.
They can patch the sandbox out in an update, right?
Gail Goodman, The Long Slow SaaS Ramp of Death. Sound advice.
Sexless in Silicon Valley: why nobody's getting laid in America's tech hub
I'm an active user of Fabric and have found it rather convoluted and limited. For example, there is no way to easily get device UUIDs from Beta testers. Given they also sponsor Fastlane, I'm blown away they haven't provided a way to automatically register UUIDs. This is possible with HockeyApp through their API and some Fastlane scripts.

Crashlytics is their killer feature. The rest is mediocre. Hopefully Google will improve it. I'm not holding my breath.
> This is going to be a problem. Student debt cannot be discharged in bankruptcy, debtors simply garnish wages.

I studied in Austria so I'm not too familiar with how student loans in the US work, but as far as I know the Income Based Repayment program limits your monthly payments to a given percentage of your income. You can't discharge those debts, but an upper bound on the monthly payments doesn't sound too bad either.
or gopkg.in/errgo.v1 which is a bit more opinionated about error causes.
Underpass, Peer to Peer, Encrypted, Paid MacOS Chat App
Or use Signal on iOS? (This is a genuine question)
It is basically a hack to export the type but not the type constructor. It stops people from doing things like

let new_socket = OpenSocket { port: 12 };
If someone actually links to moz://a, some crawlers might pick it up. But as a crawler has to parse the url and extract the scheme before it can continue, I don't see potential for confusion. Likely, "moz" wouldn't be in the list of supported schemes and the link would simply be dropped.