skysight-inc/HackerNews huggingface dataset:
I use old EeePC subnotebooks for that, which I get on eBay for about $40. Compute power, WiFi, wired Ethernet, USB, a keyboard, screen, trackpad, battery backup, and case. With a Raspberry Pi you usually have to add peripherals just to talk to the thing.

When I get one in I immediately install Xubuntu from a USB stick and do a total wipe.

(If you do this, get a real ASUS power supply. The cheapo ones with no brand and no UL certification overheat. Fires have been reported.)
"Mediocrity cannot be remedied"

Nobody said anything about mediocrity, and nowhere in the story does it say that quality of work was the reason for the PIP.
Psst... He said monument valley, not stardew valley. :)
uhhhhhh, multiple links in this block on the post:

"That’s because I have been working on this subject for a long time now:

* I did multiple talks on it
* I even co-wrote a paper
* I did it both as client and personal work"
Exactly. If a law like this were to get passed, they'll pick and choose cases to prosecute for use of end-to-end encryption.

Someone suspected of a crime for which there's no strong evidence could potentially be imprisoned just for talking to someone over an encrypted channel. "We can't get them on the main charge, but we can always just charge them for the encryption. If they weren't doing anything shady then why would they be using encryption anyway?"

It would be a horrible precedent.
Ask HN: What is the best keyboard you have used for programming?
Keyboard is where the rubber meets the road. Every little bit of comfort and efficiency counts when you press keys thousands of times daily.

What works for you?
"The laws of mathematics are very commendable but the only law that applies in Australia is the law of Australia" Once they pass a law barring gravity from affecting police investigations, it will be a crime to use gravity to prevent flying cops from investigating.
Live Tweeting Physical Pentest
I am not proposing peanuts, but rather a significant sum.

The advantage of coin in lieu of equity, at least in this context, is that the participants I am seeking input from could/would be fully cashed out much sooner than in a typical equity stake.

Additionally, the point of asking the question was to initiate a conversation with people that consider this an option for themselves. It really comes down to the success of the ICO event. So, good work could be rewarded handsomely on a very short timeline. Of course, this is not without risk, and the reason I am seeking input.
Happier, sure, but massively more productive? I think you need really good management for this to hold. In my last company WFH basically meant a day off.
Yeah, hijacks left-swipe on mobile safari, too. Annoying!
Coa – a local CI tool written in golang
Humans are social animals. It's not just "my" problem, it's "most people's" problem.
I don't see the connection between the first part of your response and the second part. Yes, it was designed as a luxury for rich kids to get a leg up in adulthood in all the ways your parent mentioned, and then society realized that maybe it shouldn't just be the rich kids getting that luxury, maybe smart and / or hard working but not rich kids should also have a chance at that luxury. Of course it turns out to be expensive to make that work, but that doesn't mean the idea is bad.

Are the rich kids moving on to some better way to get their start in life? It doesn't seem like they are, to me. So college seems like it is still a valuable model, and making access to it more fair still seems like a worthy goal.
Ugh, Jinja is not an "excellent" templating language. It's a terrible broken mix of pythonisms and arbitrary-feeling restrictions and oddly missing pieces. It becomes hard to read very quickly and some of the looping idioms are just nuts. Sorry I don't have anything constructive to say here but I'm genuinely taken aback that there are apparently big fans of Jinja.
Looks like http://repl.it/ but with more languages.
Just filling in some default fields in the tio editor would do.
For example pre-fill the header as:

using System;
using System.IO;

and pre-filling Code with

namespace example
{
public class Example
{
static void Main(){
}
}
}

(But better names, my naming sucks!)

That would go a long way, then you could just add "Console.WriteLine("Hello World"); for hello world.
My point is that in this key area it is impossible to do better than nature since nature is already perfect.

I am suggesting that the assumption that humans are generally able to do 1000X better than nature may be flawed if nature can already do the most important things so well.
I love this...
Can you feed the patterns to a sewing machine capable of cross-stitches?
The counter only addresses requirements to change password periodically. The special character requirement is addressed by tacking on 'Aa$1' to all passwords (they asked for it; it's what I tacked to all the (good) passwords I memorized even before I had this method).
At least by my reading, 0xFFC's comment wasn't particularly nationalistic. He or she wasn't putting Iran above other nations or expressing loyalty or devotion to the Iranian state (in fact by calling out "the regime" I'd say it was the opposite of that). I understand wanting to avoid flamewars, but I think you're putting the blame on the wrong person here.
I'm a happy Enpass user too. The best thing I like about Enpass is it's built on Open Standard, you can decrypt the database file easily if Enpass dies
I think this is what everyone is missing. If we're treating college strictly as a financial ROI calculation (which, partly, it is) it's obviously getting dicier by the year. This is exacerbated by Colleges and Universities treating every major from Economics to Cultural Studies as if they held roughly equal career prospects (they obviously don't).

Yes, it is a luxury to have the time to take a step back and consider your own society from a wider lens than "how can I beter secure my financial future this week." But without experiences like College, gap years, travel, and other "frivolities," you'll most likely end up as yet another short-sighted member of upper class who's spent a majority of their lifetime's creative power accumulating and hoarding wealth. Many don't have the bandwidth for both personal security and a strong social conscience, and I don't blame them for it...but I sure wish there were more with that ability.

Money is a very powerful tool and 18 is usually not old enough to be done with the formative experiences that will determine what you do with that power.
I don't think there's anything wrong with calling a specific flight attendant who is female a stewardess. It's wrong to call the entire cabin crew "stewardesses" because there are some male (although not the majority), and thus it's gendering a job unfairly. Purser, steward, etc. are part of the actual titles on some airlines, as a type of rank/position.

I'd care more about the individual upgrade to "flight attendant" vs. "steward/stewardess" based on level of professionalism if they were actually competent and professional, which is not particularly supported by the evidence on US domestic airlines. Flight attendant or cabin crew is more convenient to use when referring to groups, still.

(Crew chief or loadmaster are the true professionals in this space...)
The title should say "..more productive - For Me"
What's most interesting to me is that the work-from-home employees were reportedly not just more productive and happier, but also physically healthier. Although there could certainly be some uncontrolled variable like crappy fluorescent lighting, poor HVAC, or pathogens in the building, it makes me suspect that there might be a chronic stress component to working in a space owned (in a psychosocial sense, not a legal one) by someone else. Perhaps there would be some way to change office structure or culture to get the benefits in the office building environment and not just at home. In one of Jamie Zawinsky's old "gruntles" (not linked per the infamous referer abuse), he mentions putting camo netting over his cube and that it made people ask to come in. In vague terms, that's the sort of effect I'm thinking of.
That's definitely the only way I would ever consider being remote full-time. Though at that point you're still working in an office, just not with your coworkers, so it's still inferior to on-site working in many respects. The biggest advantage I suppose is you can do it from a low CoL area.
Maybe someone can tell me the benefit but why use Pandas rather then a real database? Pandas seems like a non-standard, in memory, python specific database system that has no indexing, caching, or persistence layer aside from dumping to flat files. It's an RDBMS without the Relational bit.
That is the Chinese way. What can you do about it? Sue them?
Numerous studies show this not to be the case. It's bad for your mental health and it's bad for your work.

Obviously this doesn't count for everyone, a single mum forced to do a 2 hour commute might be worse off having to go to work. Same for some personalities.

The article seems to be hiding the source? Is it in the TED talk? But from memory the Singapore company employees did non-teamwork work, fairly menial labour.

And it's a really old study, that was talked about years ago.
> you simply include everything in the markup that might need to be there, and the programmer removes whatever is not necessary

I realize you may not be cosigning on everything in the article you're quoting, but this is the author's first suggestion to an alternative to template languages.

I work on an SPA that was built like this. The index.html is over 10k lines long. It contains almost every single piece of the UI. Templating libraries and languages aren't perfect but they offer a better separation of concerns than just "dump it all in one file and write some imperative dom fiddling code to add different states"
Infinite Tubes with Three.js
Just did it, and got 14/15. But see below.

Saw this thread yesterday and at first did not feel like taking the quiz (because I thought I would not do well, also because I didn't think it was too interesting).

But today read about half of this thread again. Then felt motivated to take the quiz (just for fun). Was not expecting more than say 8/15. Surprised to see I got 14/15 (but in top 3% of engineers -- definitely not :). It was definitely partly due to reading some of this thread first, else I would never have been able to figure out the Ada/VHDL question (at least just by guessing / logic / prior knowledge), even less the Piet one (since had never heard of it - at least had heard of Ada and VHDL). I guess the result was also partly due to being interested in programming languages right from the start of my career, and having at least read a little about many, and having dabbled in some (apart from the ones I worked in for non-trivial periods).

Anyway - somewhat interesting quiz idea.
The legislature writes the laws. People need to make it election suicide to oppose encryption.

I won’t go down the road on your terrorist comment since it has nothing to do with the article.
A lot of the "crazy drug strength" stories today seem to be attributed to "bath salts", "spice", and other legal hacks (chemicals which weren't illegal to trade, provided not for human consumption, to get around prohibition of far more well studied drugs.)
Looks like it! lol!
Well yeah, but that's a sign of both parties not actually being committed. There's a lot of assuming in that scenario. A lot of that uncertainty would disappear with some candid communication.

"Maria, what you're doing today is X, Y, Z. We wanted that before, but going forward, we need A, B, C. My impression is that you like doing X, Y, Z. So, we've got two choices, and both of them are difficult, but we need to be upfront about this. We can part ways, and I can try to help you get to a place where you can do X, Y, Z. Or we can commit to work together to transition you to A, B, C. I believe you can do it. The question is what do you want. It's tough, but you have to choose."

And my advice to Maria would be:

- Make sure you know what your bosses actually want.

- Decide whether that's something you're into.

- Be sure of their commitment to actually develop you.

If she could answer all three of these things affirmatively, it could be worth a try. My only point is that it's wrong to say definitely that a PIP is a death sentence. It's more like a cry for help.
It's a data driven approach on how to match between audio and video streams!
Let's watch the public uproar as Google and WhatsApp becomes unavailable in Australia!

You mean more or less like western Internet isn't available in Chine, don't you?
These kind of generalizations are entirely humorous. Whether remote or on-site works better for someone is entirely situational, and mostly depends on the personality/disposition of the person. For many many people, remote just doesn't work for them for many reasons, and on-site is where they may thrive. Ridiculousness.
20 years ago, the computer at my office was much better than my home computer at home. The Internet there was way much better than my crappy 56k dial-up modem. I had a nice landline phone with many buttons and I could call the world for free--at the office.

Now, I have the best computer with 2x 5K displays and a all-in-one super fast printer which is always working--at home. I've never had such a setup at any office. And video call based meetings with screen sharing are more productive than real meetings.

Why an office?

I made friends at the office, dated here and there, met my later co-founders. However, I have made only a handful friendships at the office. So is it of value? IDK. An office is a mixed bag.
Principles of Automated Testing
If you're not going to use 1Password, which is still the only commercial password manager I'll recommend, "pass" is probably your best alternative.
They dont want to host a CDN or a torrent tracker or a tor exit node that degrades the service for others. Seems like a feature.
I've read that unless you have a room dedicated for work, working from home will not be a productive solution.

It really makes sense.

You can't have people coming and going.

When my girlfriend was out working, I was productive at working my personal projects, but when she came home, made herself a meal, started some chores or cleaning up, or even stood there next to me, I just could not work.

So the reality is just that you move your office to your home, so you will actually need a larger place to live.

But I guess it's still cheaper and more ecologic to do things that way, so actually you would get a raise.

What I would like, is a simple software that blocks a list of website of my choice so I can stay productive. As long as it is self imposed, it would feel okay.
My main reason to not use pass is that I can't allow multiple private keys to unlock the password store. I don't want to transfer my private key between all my machines.
I agree that PIPs are mostly just HR covering themselves in firing an employee, but this just reads like a long list of excuses for a person not performing their job. Its at-will employment for both sides, the company isn't obligated to care about your personal issues. If your work output isn't good, it kinda doesn't matter if you have kids and your manager is younger -- theyre giving you money for your work not because theyre your friend.

I think people that fall into this mindset should realize that most of the kumbaya things companies say are pleasantries. Employment is a business situation and its healthier to not get confused about that.
It is also not the most efficient way to achieve the required training for those jobs. We could have future doctors and lawyers go straight to trade schools focused solely on those professions, and likely shave a couple years off their total education. But most people in our society agree that we like our doctors and lawyers to have the breadth that an undergraduate degree is intended to provide.
I've found the opposite. I have to constantly whip myself into getting stuff done and get so insanely lonely that I start to make myself anxious and depressed.
Yep (501c4 I think). That is the tax status EFF should have if they are going to do useful political action.
In the modern world migrants tend to enhance, not deplete, an area.

Your model works best for agricultural societies with no land ownership. I'm not sure how many historical examples we have of that.

In general, in the modern world, population density tends to increase economic activity and have a growth effect on GDP.

In the modern world borders also prevent competition for citizens by different social and political structures. Most tyrants and despots might be completely defanged by the loss of their populace to more just and humane regions.

It is possible open borders could create a "market system" for the greatest resource in the world: human capital. Which I guess could theoretically render war obsolete.
What is a "good template language"?
Free Platform for Finding and Providing Services
What's the cost? Opportunity cost? You can still put it in a money market account when it's inactive.
This is a long blog post that talks about some drawbacks of this approach: https://tonyarcieri.com/4-fatal-flaws-in-deterministic-passw...

Before reading this I was convinced that stateless deterministic approaches like these was the ideal. But some arguments in that post changed my mind.
Free Platform for Finding and Providing Services
Szinga is a free to use platform that is intended to connect people who need a certain service with potential providers of the service. We have designed Szinga in a way that it would be as safe, as easy and as efficient to use as possible, for both service searchers and service providers. Just try it out for yourself, it`s totally free!
"Network Programming in Go" is no longer free so it should be removed from the list.

This book has been removed as it will shortly be published by APress.
I currently use two keyboards; the chiclet keyboard on my Razer Blade Stealth (primary computer) and a Razer BlackWidow Tournament Edition with green Razer/Kalih switches. I previously used a Corsair K70 Rapidfire, which is a damn solid feeling keyboard and I actually prefer the Cherry MX Speed switches to the high-actuation Razer/Kalih greens when it comes to actual typing (gaming, strangely, not as much). That said, I have been actively looking at options on MechnicalKeyboards.com (no affiliation) - I prefer blue switches, which the greens are equivalent to.

By far though I am most comfortable with the travel and feel of the chiclet keys on my laptop, which is a strange thing to say but they have an amazing feel.
Mike Bayer wrote a really interesting article about this topic 5 years ago: http://techspot.zzzeek.org/category/mako/

These techniques are easier with the Pyramid framework.
Would not recommend using Nunjucks, unless you would like to contribute to maintaining it.

https://github.com/mozilla/nunjucks/blob/master/CONTRIBUTING...
I disagree on the yearly reviews. I find that only companies that had them gave yearly raises. So while I don't particularly like the idea of being reviewed, you're going to be informally anyway, so you might as well get a raise for it. A lot of people, myself included, have a very difficult time approaching the topic of raises and other salary negotiations and a set, yearly review helps alleviate that. And if the company is going to give a yearly raise, whether there is an official review process or not, you can bet money that anyone getting a raise has been 'reviewed,' even if only in the boss's mind.
Because power inequality can be enforced through violence, especially state violence, effectively enough to prevent a populace from changing their situation.
Working from home for years now, I've found that I get more deep and meaningful , uninterrupted work done. I've also found that I have a harder time working a 'full' 8 hour day because it's more obvious at home that there's more to life than just working.

Offices are designed to keep you there and focused on the work as much as possible. At home I have my pets, wife (when she's not at work too), things I like, in a location I chose to live. People call these distractions but they're your life at least as much as your job is. At some point, working at home, I'm going to stop and pet my cats, go for a walk with my wife, sip coffee and read a book, visit a friend, whatever. When I have kids, I will get to be there and see them grow up.

When you're able to get a good amount of great work done because you have that uninterrupted time, it makes the idea of working 8 hours 'just because' seem stupid and opposing your productivity and your happiness. I get more and better work done these days. I make more money, for both myself and my clients, working from home, and I much more rarely need sick/mental health days because I'm basically happy and healthy all the time as a result of working from home.

The things I miss, like socializing with a team, I can get other places. I still talk to other devs during the day, just on the phone, over video chat, or something like slack. I go to meetups dedicated to the things I'm interested in, chalk full of smart and interesting people. I have friends to socialize with, many of whom are from those meetups, so I get to talk about tech even more if I want to.

Basically, the downsides for the employee/worker are heavily, heavily outweighed by the benefits in my opinion. I also think that's the case for companies as well, but only have my own small experience as a very small employer to back that up so maybe someone else could comment there.
The People Behind Game of Thrones: The Dragons
I suppose it couldn't hurt!
Show HN: US doctors sorted by their Opioid prescription count
Hey

This side project opendoctor.io is about exposing more information about doctors. This is our second attempt to post this data. The first try hit the top page of HN and combined with Reddit the site melted. The link was removed from many networks.

This list of doctors ordered by opioid data is just to expose cms.gov data in a different way. We are in no way shaming doctors or have this kind of agenda. The type of doctor should be considered when viewing this data.

We found the data shocking. Here it is.
As someone who switched to remote work over two years ago I have an observation: the most exhausting part of the day is the commute.

I used to commute by bus - 70-80 minutes one-way trip. After I bought a car, which shaved a good 20 minutes off of that time, I noticed my productivity went up. A friend of mine even went as far as to move to a place close to the office and that changed the quality of his life(and naturally productivity) considerably.

To me the hardest part about working remotely is managing distractions and monitoring your health - I found that without a daily march to the office it's much easier not to notice that you have e.g. a fever and are too weak to work.
They use SQLCipher which is OSS. I understand they don't release the UI code as it is what they use to make money. If you are afraid that they secretly copy your passwords you can easily check this. As you keep the file on your device or place it at a third party service it is more secure than a service like LastPass. Also don't use browser plugins but copy and paste the password
As I understand it, math realism says that the mathematical object (for example, a class of self-similar sequences) exists whether or not it was discovered by humans. That the mathematical object happens to model some physical phenomenon pretty well is independent of the philosophy of mathematical realism.

Are you arguing against mathematical realism by saying certain mathematical objects are only discoverable through the observation and modeling of physical phenomenon? A pure math realist would respond that the object in question stills exists, whether or not it was discovered.