skysight-inc/HackerNews huggingface dataset:
> Far less chances of getting injuries with bodyweight exercises

I found no evidence for this, arguments seems to boil down to an "appeal to nature". Many variations of bodyweight exercices are far from healthy for tendons (single arm push ups or single arm pull ups for example), even basic push ups are harder on the shoulders than dumbbell bench press.

If you keep the rep range above 15-20 the risk of injury is pretty minimal with weights.

With that said, bodyweight exercises can be a good alternative if you don't have access to a gym, or if you like to train outside on a playground. But be careful with some exercises because bodyweight != healthy.
Why not go all the way with this idea and pretend everything is a hard copy? Your program's statements would all be printing the result of something into paper, or scanning that paper. And then you just let the compiler and CPU figure out which pieces of paper can be put into registers.

The answer is that this is too cumbersome and hard to deal with. So is memory, in a smaller way - when things are in memory they can be affected by other threads, the outputs of different instructions can overlap, etc etc.
I agree that "secure by default" should be, well, the default.

I envy OpenBSD's way of delivering a secure system out-of-the-box, instead of everyone else's "pretty much secure but...".
As a user I'm more often annoyed by autocompletion than the lack of it. I turn it off everywhere I can, including things like the keyboard on my phone. So that's a no-op, two microscopic anecdotal data points that exactly cancel each other out. Being a user or speaking from the perspective of a user didn't make any special difference.

I do like one form of auto-complete, which is the tab-complete in the bash shell. You are not autofilled or autocompleted or auto re-written or auto "you typed foo but we're showing you results for 'food' instead" 99% of the time. But once in a blue moon when you actually want something to be autocompleted, you can get suggestions for that one thing on the spot with an extra keypress. But you have to ask for it. It never messes with you all by itself.
> This allows me to add arbitrary gestures (within the confines of swipe/pinch, 2/3/4 fingers etc) that trigger command line commands?

Exactly.

> Does it work with all touchpads?

All libinput-supported touchpads (see: https://wiki.archlinux.org/index.php/Libinput). There's more on this on the GitHub page for libinput-gestures, the CLI tool Gestures is based on: https://github.com/bulletmark/libinput-gestures

> What are some commands I might be interested in configuring?

I'm personally using it to replicate (more or less successfully) the macOS gestures I missed when switching to Linux. For example:
- swipe left/right to switch workspace
- swipe down to trigger the Budgie Desktop run dialog
- swipe left/right to open and close notifications
- pinch in/out to zoom in or out (mapping it to the Ctrl/ +- shortcuts)
This (5-second) video gives some very basic examples: https://www.youtube.com/watch?v=SfJ59kTcJjM

Direct keyboard shortcuts aren't unfortunately available in Wayland ATM, given its design limitations for security reasons. Workarounds will come (virtual keyboard drivers perhaps?), but there's nothing like that AFAIK. Luckily, apart from zoom, I was able to do basically anything in Wayland too playing with wmctrl and dbus-send

Edit: formatting
Food allergies are still a mystery, and meanwhile there are a lot of doubts
These are GUIDs, not SKUs. If two customers get the same ID, one is counterfeit.
Facebook hoy te pedirá que vuelvas a poner tu contraseña. ¡Los hackearon
I can contribute some. Mostly it comes when you attack problems and conceptualize your solution to that problem, it does not come when looking for a library or digging through the API. Almost all of the problems you will encounter in your day to day work will be something with an already known solution or use a well known and researched pattern.

Knowing the common language and use cases for data structures is probably the one I lean on the most. Seeing the general shape and feel of a problem that needs a graph style solution or being aware that looping through a nested array is bad but that there are easy off the shelf solutions built into most languages to that problem is important. How else would I know that at the root objects in js, dicts in Python, maps in Java, C#, and Clojure are all backed by the samething and have similar properties or that those properties shape how you interact effectively and efficiently with those things?

Additionally it opens the world of acidemia to you by teaching you the conventions and tools you need to read and make sense of comp sci papers which let you stay at the cutting edge of your field if you want to, imagine being a machine learning engineer before Google made this huge push in ML, I tried when I first started college to grasp the ML stuff but most of it was beyond stuck in papers behind lots of calculus that I didn't have the time or desire to learn. My CS pushed me through Calc 1 and 2 so if I wanted to I could just brush up on that and push into ML.

It's hard to explain for a lot of people because in reality you can go it alone and do fine but it always be the case that your whole career you didn't get a CS education so you might have holes in your knowledge that you had no idea about. Additionally it lowers barriers to careers and gives you an incredible opportunity to build a social network of interesting people who in general will go on to do big things and you can leverage that social network for even more career gains.

I haven't even touched on the social aspects of college which you can dip into if you want or the fact that it gives you an opportunity to learn how to live on your own all of which are important but directly connected to CS but rather college as a whole.

TL;DR You don't know what you don't know but college helps you get those tools and teaches you s whole bunch of lessons along the way, but you can go it alone of you want.
It's been at least a year since I gave it a serious go, but despite being onboard with the effort I just ended up adding !g to every search and wasn't feeling idealistic enough about search to do that.

It has improved (UX-wise at least), I've used it occasionally, hope it's also getting better with search -- Google is certainly getting much worse.
New Safe Financing Documents from YC
most of the German army (80%) was horse drawn and they also used bicycles extensively. They developed some impressive technology which they showcased for the blitzkreig propaganda but in reality it was clueless farmworkers given a belt with 'in God we trust' and uniform and ordered to march into Poland etc.
Most of the perceptions of WWII, including the holocaust, have been shaped by post war US media.

As an example the term 'holocaust' was widely publicized by ABC TV for their miniseries https://en.wikipedia.org/wiki/Holocaust_(miniseries)
Prior to that the term 'holocaust' was used to describe the Armenian genocide and you can still find Armenians who are deeply offended by this.

This is not a defense of the Nazi party - I grew up in Coventry UK, one of the most heavily bombed cities in England in WWII (my mother was there under the kitchen table) - this is an attempt to address the reality that in 2018 we are largely influenced by the media in our perceptions of a war that was more than a generation ago, and that politicians were as labile and devious then as they are now, on both sides.
if it hasn't been added to the AUR by the time my wife gets home and can watch the children I get it added.
This is an extremely interesting perspective. I actually had the opposite experience. I was forced to learn sanskrit throughout my high school career and I absolutely hated it. I'm an extremely practical person and I have no use for the language at all.
Great links! Thank you!
Another thought: I'm not familiar with the typical demography of Hondas and Yamahas, but in China the typical scooter user seems very different from a stereotypical motorcycle rider. The former would be a female, aged 35-50, lives within ~10km from work, possibly as home cleaner, waitress etc, who would perhaps never touch a motorcycle, who wouldn't be able or willing to get a license for motorcycle too.
It requires you to click a checkmark box for "I agree to the restrictions" to add it to your cart. I suppose that's what they consider to be restricting your usage to their approved use cases, not copyright.
Searching Google is the real dark art these days, especially if you don't use personalized results. I am constantly frustrated by Google straight up ignoring my most important search terms.

At least with DuckDuckGo I know that it's searching for what I told it to, rather than searching for something easier to find, which seems similar to a machine, but completely different to me.
I am curious. Could you elaborate? How would it be useful compared to, say Python to someone who is not going to use it for primary work?
Why do things go right? (2018)
Use of libraries may be more common in rust than c because of many possible factors:

1. Rust's standard library is large and contains data structures. People are good at centralizing on one thing if it's the standard one, if there are 10 competing string libraries, people might say "ah well, let's write our own". That also sometime means using one dependency will pull in others (e.g. in C you might want someone's regex library, but it might be incompatible with your string library because it uses a different one. A stdlib helps ensure libraries have a standard set of types to talk about, and C barely has that).

2. Rust's package manager (cargo) and registry (crates.io) are really good and making finding and adding dependencies much easier. If I want to add a random library on github to my rust project, it's 1 line in my Cargo.toml (whether it's on crates or not). In C, I have to figure out if they're using cmake, meson, autotools, or any of a dozen other things, and possibly vendor the code into a third_party folder, and possible spend several hours hacking on my build system to link against it.

3. Rust's community has made an effort to standardize on certain crates and include their use. See the rustlang nursery. The closest to this in C is stuff like the gnulib I think, which is an ancient effort pushing garbage code that suffers from the lack of good dependency management severely. I know of no recent similar efforts for C.

4. Rust has generics and a better type system in general which makes it much easier to implement generally usable libraries.

It's important to remember that C also predates the internet, and many c codebases also predate modern package management. Legacy practices have a habit of propagating themselves.
>"the goal of an experiment is to determine whether the difference is because of the treatment."

I doubt this is really the goal of an experiment like this. The goal would actually be to figure out whether changing their procedures/whatever would make them more money in the future than it would cost to do the change.
That would be wonderful. If I could get OpenGL support for current generation NVIDIA or AMD hardware, ideally with OpenCL or Vulkan too (CUDA is probably too much to ask for), I would even be able to use Haiku for my daily work.
enable_if is ugly. But a lot of the extra ugliness is people putting everything into the condition and not abstracting the parts of it into other traits. Just like looking at long functions.
There are some issues here...

2: Modifying system level settings, even with an admin account, requires re-authentication. Mac OS prompts for passwords more often than Vista-era UAC prompted for a go/nogo. What's the purpose of the second user account? An "admin" account os Mac OS is not equivalent to root.

6: Strictly lowers your security since it means now native apps outside the store can run. Store apps have the highest requirements for sandboxing and other system level protections. This might be a usability step, but it has no place in a "hardening" article.

9-10: Redundant - you'll be asked if you want to enable reporting and location services on first boot.

11: You are never supposed to use different DNS providers between your primary and secondary, this can lead to hard-to-troubleshoot intermittent errors. Given the lack of recommending Chrome over Firefox, and the anti-Google stuff in the second step 4, and given Firefox's poor security history, it is strange that they recommend using Google DNS servers. Either way - use 1.0.0.1/1.1.1.1 or 8.8.8.8/8.8.4.4, don't mix them.

13: Spotlight indexes belong to the user. There is literally no security gained by "blacklisting sensitive directories", as if your account is compromised, both your spotlight index and those 'sensitive directories' are.

17: What security is gained by denying the ability of the OS to ask me if I trust a specific cert or not?
Whoa! Just stealing an opportunity to thank you for writing this, both the subject matter and your style of presenting it are very compelling to me (in context that probably says a lot about my own way of thinking lol). I've shared this with many people over the years as a gentle and sensible introduction to two very cool topics. Thanks!!!
It's definitely tongue-in-cheek.
Those are ways to work around a problem that was unneccesarily and artificially injected. Why tolerate that and work-around it on your dime? Why not instead tell the person creating the problem "hey, don't create this problem you jerk!"
I think it is endemic across academia.
Please just use an `Option<usize>`, not that wonky NULL thing.

If you're worried about the slightly more memory that uses, you can use `Option<NonZeroUsize>` and subtract 1 for all indexing operations.
Is this GDP measured per free person in America or does it include slaves or is it the traditional American a slave counts a 3/5 person for the purposes of government? I recall reading somewhere James Madison bragging about his yearly investment in his slaves was $12 and his return was $250, and this is only about 10 years before the UK outlawed slavery in total across the empire.
>"workers output improved because someone was paying attention to them"

How much did it improve? All this test tells you is that there was some difference, it could be minuscule.
Perl. Knowing perl removes the need to know the tricky parts of awk, sed and bash. It is the most pleasant language when you need to extract data from badly formatted files (like log files or even binary recordings) and provide a report. It is a very good glue language. The autovivification is really handsome and helps to code very very quickly.
As opposed to Google, a name that came from a spelling mistake?

https://www.webcitation.org/68ubHzYs7?url=http://graphics.st...

Or Bing, an onomatopoeia?

https://www.quora.com/Why-did-Microsoft-name-their-search-en...
I think it’s worth while, even just to prevent our privacy from continuing to erode.

Also, who knows what changes in the future? Maybe something you do online today seems harmless but gets you in trouble in 20+ years.

Some people do have things they want to keep private. If only those people care about privacy, then they eventually stick out like a sore thumb and that’s not fair. It’s not always bad or malicious. Diseases, traumatic experiences, conditions, things you should be able to get help with or information on without Google or some other company profiling you.
It's not at all clear to me that people will be able to tell what that T+code sticker is on their product they purchased at e.g. Best Buy. I think the purpose of the program is to fight counterfeits.
We are social animals that thrive in groups, not as lone individuals. This requires certain social behaviors.
Dance lessons
Was particularly helpful to me because it taught me so much more than how to appreciate human movement as art or to exercise. It taught me the intricacies of human interaction, especially with the opposite sex, because my computer oriented hight school was practically a monastery.

Its a highly structured way to learn about those things, so easy on software people - just read and follow the instructions, and was (is) very fun in its own right :)
Has anyone done an actual analysis of how the evolved circuit worked? The suggestion that the unconnected cells interacted through "magnetic flux" seems very hand-wavy. I'd be much more included to blame capacitive coupling between signals, noise spikes from switching, voltage fluctuations, leakage currents or even thermal effects.
True.

I put it as a failover for Cloudflare's 1.1.1.1 because they both support DNS over TLS and DNS over HTTPS and even though DNS servers are rarely down, I didn't want to recommend a single point of failure with Cloudflare's 1.1.1.1 and 1.0.0.1, but you are free to choose whatever resolvers you want.

Thanks for the feedback!
I think the point OP is making is that incomes could not support that level of pricing during 2004-2006, only reckless levels of debts.

Now that 12-14 years have passed, incomes - and inflation - have risen and those same prices appear more reasonable. Accounting solely for inflation, $1.2 million today was worth $970,300 in 2006 and $901,900 in 2004.
If you read the news twice a week, you’re going to be plenty informed (and IMO actually better-informed) than if you binge-read headlines throughout the day.
Use These 4 Simple Steps to Have a More Productive Coding Session
Where good work comes from
I'd like to find a way to backup mails preferably via pop or imap - great if dedup and incremental backup are available. Backing up ~/Library/Mail/V5 doesn't really work as expected. Regular snapshot/dumps are also not very effective.
>? I'm generally curious because I figured Golang would be a no-go due to the GC...

Huh? Tons of GC languages are used for games. Heck, web games use JS. Not to mention the whole C#/Unity thing that even powers AAA games...
Self-signed will work just as well, since no MTA talking to you requires the cert to be trusted (maybe DANE is required now in that case, but I was also using self-signed before I set up DANE and peers would all use opportunistic encryption.

letsencrypt is a bit cumbersome if you want to support DANE, at least if you don’t run your own DNS or have an API to your provider’s DNS.
...conversely that means the smallpox/etc plagues were much much deadlier than we thought. somewhere on the order of a quarter of humanity died in just a few decades..."

Makes me wonder what would happen today? We're more densely populated and mobility (local, national and international travel) is much greater.

I suppose it's not a matter of if, but when.
DDG has a specific SO bang, so going via google is a clue that your colleague may be poor at basic searching and not understand the tools which they use.
I’ve heard the same complaint about the results a lot, but I’ve never understood it. I have never noticed much of a difference. Does anyone have concrete examples of search queries that Google returns more accurate results for?
Nim support for the Nintendo Switch
Thanks to the author for compiling and sharing this guide.

Two of the recommendations have the potential to make your Mac less secure:

1. > …install an ad blocker (I recommend uBlock Origin)

While uBlock Origin has a great track record, it requires these permissions:

* Access your data for all websites

* Read and modify privacy settings

* Access browser tabs

* Access browser activity during navigation

That is a lot of exposure, especially if a bad actor managed to take over the extension, e.g.,

In August 2017, the very popular and widely recommended Web Developer extension for Chrome was hijacked. The developer fell for a phishing attack, and the attacker uploaded a new version of the extension that inserted more advertisements into web pages. Over a million people who trusted the developer of this popular extension ended up getting the infected extension. As this is an extension for web developers, the attack could have been a lot worse—it doesn’t appear that the infected extension functioned as a keylogger, for example. https://www.howtogeek.com/188346/why-browser-extensions-can-...

2. > Consider tunneling your traffic through a VPN when connected to untrusted networks (I recommend rolling your own VPN server, or else I really like Mullvad, see ThatOnePrivacyGuy’s VPN comparison)

Again, Mullvad appears to be one of the best VPN services, but connecting to third party VPNs creates new risks and may not provide the security you expected:

Don't use VPN services. https://gist.github.com/joepie91/5a9909939e6ce7d09e29 https://news.ycombinator.com/item?id=16371030
They don't need any excuse.
Recording raw audio would not be feasible storage wise, however transcribing that audio and recording the resulting text is very much doable.
I get that, especially for enterprise/B2B businesses. What kills me is that CTOs get paid less than every other major position, too. How can engineers be "more valuable than money" [1] but are the lowest paid in the executive rung?

[1] https://www.cnbc.com/2018/09/06/companies-worry-more-about-a...
Please provide a list of 'defaults write' commands to do this.
I got tired of clicking all this after the third bullet point
Yep... The "slightly better C" seems pretty universal as far as I've seen. A lot of people just want that it seems. It's not clear what that would look like though. It's a shame.

Have you seen Terra? http://terralang.org/
Tory conference app flaw reveals private data of senior MPs
Does anyone know of a service that matches people who want to chat via Skype to practice speaking skills ?
>Blue Bottle sells Port of Mokha coffee from Yemen, and charges $16 per cup.

The book about how a guy from San Francisco went to Yemen to source that coffee bean is worth a read: The Monk of Mokha
Please ignore the trolls. The article is perfectly fine for a blog.
I don't quite understand "how". It all sounds magical.
Modern technology has made a mockery of the days when it took an entire family's labor just to raise an acre or two of crops.
Python is not a bad choice nowadays. When I started out, Python did not exist.

But even today CL has a few killer features that no other language has. Three in particular are huge levers for me: macros, generic functions, and the ability to redefine classes without having to recreate all the existing instances.

S-expressions in general are also a huge lever. Ironically, the reason they are a huge lever is that they are simple to parse, and because they are simple to parse you can easily write an S-expression parser in any language, but hardly anyone does. Learning to "think in S-expressions" just takes you to a whole new level of understanding. It's the red pill. (But it's a bit dangerous too because once you get there, the syntax of other languages will just start to feel annoying.)
For those who want more: https://github.com/drduh/macOS-Security-and-Privacy-Guide
Show HN: Views Tools, a simple way to design React interfaces (YC SUS '18)
Hi everyone!

We're launching Views Tools today as part of YC Startup School 2018!

Our long term goal is to simplify development and we're starting with how product teams build their apps today.

Views Tools is a simple way to design React Web and Native interfaces without writing code.

You can try it now at https://views.tools.

Thanks!

Darío
I think the term for this is DARVO: Deny, Attack, and Reverse Victim and Offender.

You see it in cases of physical and emotional abuse, sexual assault, and even substance abuse (most notably from alcoholics)
just installed it on firefox. searched for myself, not really impressed with relevancy of the results but it did surface pages that I had not seen on first two pages of google. so im guessing its not really a replacement to google but a decent alternative
I'd suggest that releasing the analytics tool as open source is likely to be very interesting to a large number of users here.