skysight-inc/HackerNews huggingface dataset:
If you're a resident, they eventually have to let you in. But if you aren't, they can reject you for any reason. This isn't something you can solve with tech. Those of us who are citizens of the US need to vote for politicians who make privacy a priority, and be more politically active in general. I feel like you could even make the play that it's bad for business, because it's impeding business travel. You could even point to this very post as evidence that many companies consider it a Big Deal - the idea that they have to explicitly hide their company secrets in this way because border agents are out of control.
That may be a solution, but I'm never going to have the time to do that personally.
I don't get how this would prevent border agents from asking to unlock / turn off travel mode.

Why not make this feature tied to a geo-location? Like the hotel or the conference centre I will be attending.
Back when I was a kid (born in 1960), jeans were called dungarees and you could wear them after school but not at school. This was in the northeastern part of the US, in a middle-class, public school environment. It was definitely not acceptable to wear jeans to a professional job until much later. In fact, I had to wear a tie at some of my first jobs as a developer.
For most people it'd be, but some people need to bring up a cluster of machines that quickly eat away that memory.
Taxis often have extra taxes/fees/tolls that theoretically go into maintenance (though I'm sure they may not in practice).
You don't think reading about 300k SE salaries, or startups valued in billions before they turn any profit can distort people's view of what is normal, or good life?
i've been exploring secure scuttlebutt for the last couple of days. very cool project built around a fully decentralized FOAF graph of peers publishing/storing/forwarding append-only logs. they even have some nice applications that you can use today!

ipfs is a decent storage system, but i think there are better ways to model applications for a decentralized world.

[0]: https://www.scuttlebutt.nz/
[1]: http://scuttlebot.io/
I have a Core m3 SP4 (because fanless), and am running Hyper-V on it too, with NixOS. That said, I wasn't able to give it more than 1.5 GB RAM, and even this only after I temporarily close Firefox on the host. (Firefox starts a-OK afterwards, even with numerous tabs open.)

Some details on running NixOS in Hyper-V, in case anyone's interested: https://github.com/NixOS/nixos-hardware/blob/master/microsof...

EDIT: ah, yes: worth to note, the first specimen I bought had some kind of hardware issue; the GPU driver was crashing somewhat frequently, and the whole machine was crashing from time to time too (like, a couple times a week). Was super disheartening. Fortunately, I was able to replace it in the shop where I got it (they had a limited time offer where you could replace during the first month, no questions asked; http://x-kom.pl, just to thank them through some lip service). The replacement doesn't show such problems, fortunately (over a year already).
Just travel with a dedicated traveling phone and have your main phone mailed to your destination.
The headline is a lie. They did not try to censor this website. They sent a cease and desist order to someone who registered a domain with the word "Comcast" in it. They're protecting their trademark. Anybody registering a domain such as this, regardless of content, would receive a similar letter.

The author is clearly trying to manufacture a controversy to promote their political beliefs.
> Whatever logic currently used to print the 'Use quit() or Ctrl-Z plus Return to exit' message could also... quit the REPL in the first place, right?

That one would probably be somewhat risky actually, that message is the "repr" of the quit object/function, displaying results at the repl invokes repr… but so does printing most containers, so e.g. `vars(__builtins__)` (to get a quick list of the builtins) would also quit the repl, which would be undesirable.
"YYYYYYYYYYYYYYYYYY YC YC YC YC YCCCCCCCCCCCCCCCCCCCCCCCCCCCC RUST" is also 100% with 0% flag probability :)
The CTH offers I have taken in the past paid less per hour than a salaried employee would. They lasted over a year. Also for one of those employers, they wanted to hire me as a sort of consultant role (it was never formally called 'consultant' they just have me on an on-project basis) that paid $2/hr more than the CTH jobs.
> Uber did the world a favor by breaking the back of the taxi monopoly.

In much the same way that the capitalist class "did the world a favor" by breaking the politico-economic power monopoly of the nobility.
So are you required to have all the data that's ever been on your device at the time that you cross an international border? Are you required to copy passwords that were never in 1password onto your device before you travel?

EDIT: Another way to put this: Is there an expectation that a border agent could, for example, ask for the password to my bank account? If not, how would there be an expectation that if that used to be on my iPhone it should still be there when I travel?
Real-time video composites were achieved on analog hardware such as Scanimate [0] starting around the 1970's; traditional film matte techniques [1] had also been used for well over a generation by that point and a travelling matte would suffice for compositing that image.

[0] https://www.youtube.com/watch?v=UHjkMThH0aE
[1] https://en.wikipedia.org/wiki/Matte_(filmmaking)
Next: Helping a million developers join two lines in vim.
I got a kick out of discovering recently that there are still significant new releases of ed. For example:

http://lists.gnu.org/archive/html/bug-ed/2017-01/msg00002.ht...
This is closer to the former than the latter. You aren't erasing the data that's protected under the vaults. You're just temporarily removing the vaults from local storage, disabling access and obscuring its presence. It's trivial to re-enable that access, so you are hiding, not destroying.

Nice mental gymnastics, though. I'm genuinely curious whether the first Federal judge to see this argument laughs or issues a contempt citation first.
lol so much bullshit put together it hurt my eyes xD
Latest Alien Yoga in Instagram Trend
following which hype was not useful ?
esc

!killall -9 vim
you can't disable it from the app
On jeans as an aesthetic choice, I have no strong opinion. Like everything else, they can look good or bad depending on fit/color/etc.

But jeans for comfort? Maybe I'm the only one, but I find pants infinitely more comfortable. Even wool dress pants.

And in the summer, jeans barely breath at all.
Our solution was to use flattened cardboard boxes as extra walls in our way-to-small cubes. It looked horrible but it worked. Management didn't seem to mind...
I think there are other reasons to dress well other than just signaling.

I personally find psychological benefits to dressing nicely -- I feel much more industrious and "ready-to-work" when I wear a nice outfit to work compared to tshirt/jeans/sneakers, plus I get a nice "switch" effect when I get home and can take it all off. Similarly, I feel more prepared to exercise when I switch into my exercise clothes, even though those DO have "real" benefits thanks to their cut and material.

Beyond that, the signaling can be extensive. Not all signals are "quality" -- you can dress to show off your creativity or as a means of expression (I personally love to thrift/vintage shop and learn about fashion trends from other eras). You can dress to emphasize/de-emphasize various aspects of your face and body, presumably for sex appeal. And sure, you can dress to show that you've got money to spend.

But a lot of times, people dress to fit in. This can apparently get venomous in certain professions (finance, for one). In tech, there's often a dress code, as described in this comment[1], and "dressing like you don't understand why people care about nice clothing" is realistically pretty close to it.

1: https://news.ycombinator.com/item?id=14404413
What about the senior folks? Do they not need any bones because they're given challenging projects routinely, or because they're content doing a job for a check because they've got the spouse, house and kids to deal with?
So long ago that it seems like another life, I used to work at Barney's New York. The people who think nothing of dropping $1,200+ on a pair of jeans, or $500 on a T-Shirt don't even remotely take practicality into consideration.
I can remember 1999 & 2007 there was money everywhere and no one quite knew where it was coming from. The money pouring out of China feels really similar. It makes me nervous.
Presuming a full 3 months of free time:

1. Pick a project that is either very time limited ("I will build a compiler in 5 days") or something you will actually use to solve a problem fairly quickly. Otherwise you're just spinning your wheels or building too many features. More here: https://codewithoutrules.com/2016/09/09/side-projects/

Notice that normal job writing software usually has both those aspects: actual need, actual deadlines.

2. At end of every day (or week), notice what you've done wrong and what cues and models you were missing that led to that mistake. (I do this here: https://softwareclown.com).

3. Spend an hour a day learning about existing technologies and what they're good for. Go for breadth, as many things as possible, not depth. If you want to choose one in depth, focus on one that's related to your current knowledge (https://codewithoutrules.com/2016/04/27/which-technology/).

4. Read some good books, watch some good videos, try to apply what you've learned. E.g. https://www.destroyallsoftware.com/talks/boundaries and https://www.youtube.com/watch?v=29MAL8pJImQ will take you quite far).

5. Only work 40 hours a week. Even better, 32. Working shorter hours will force you to focus on achieving your "X-in-a-week" project by being smarter about it, instead of brute force working longer. (https://codewithoutrules.com/2016/11/10/work-life-balance-so...)

6. Try to write up what you've learned every week. Explaining something to someone else improves your learning.
Drupal Creator Taking Bigger Role at Acquia as CEO Steps Down
This is yet another example of how America, especially the American West has transformed the culture of people world-wide.
> What's so taboo about creating things under the constraints of machines that everyday people own?

Because it's impractical, unnecessary and wasteful. There are a number of processes that by their nature require global knowledge. These are not the sorts of processes that need to be done in the client (many of them in fact are done up front precisely so that a client will not need to do them), but they are the sorts of processes that a developer will need to do if they are to be able to make a change and see its effect. Also, there are good reasons to generate assets at a higher resolution than needed in the final artifact.

Just like if you're rendering a 3d animated film you might need a more powerful machine than those who are only watching it, or if you're training a neural net, you need a more powerful system than if you're merely running it.
Go 1.7.6 and Go 1.8.2 are released with security fixes in crypto/elliptic
It was their 'generalist' statement that made me quit.
its a python quiz.
> Also worth noting that Amazon didn't charge a sales tax for a long time.

Amazon actively and vigorously sought to make sure it stayed within the previously-established exceptions to the requirement to collect a sales tax for quite a long time, which is different thing than flouting the law.
AFAIK you can only deactivate the travel mode on the web profile. Of course it would be much more effective when you use it in the team mode. So that someone else has to deactivate the mode for you.
I love that post as well. I wish these type of articles surfaced more often...
OOC, can you explain why the iPad workflow has never worked for those things you mentioned? Seems like one of its core intended designs is taking notes/reading documents much like an actual notebook
Deep Learning Is Not Good Enough,  We Need Bayesian Deep Learning for Safe AI
I've come to the conclusion that this is the only reasonable technical solution.

Don't travel with sensitive data, and openly explain that you don't do so.

The frustrating part is the UX, and the fuss when you land.

I've found that this works:

- Burner android (burner account explicitly for travel) for music, podcasts, light browsing, etc.

- Cheap ThinkPad for headscratching / hacking (work over SSH, keys on a Yubikey, IP in your head. YubiKey as second factor for password manager as browser extension (uninstall before the border))
Not CBP though, which is the relevant institution for international border crossings.
In this order, I recommend:

1. Bash. Can you get the answer you need with awk, sed, sort, etc.? Linux commands behave nicely with CPU and RAM, and "Command-line Tools can be 235x Faster than your Hadoop Cluster" (https://aadrake.com/command-line-tools-can-be-235x-faster-th...).

2. SQLite. The maximum database size is 140 terabytes, and SQLite can join different database files together. First I would recommend using bash to cull your data down before import, if possible (https://www.sqlite.org/limits.html).

3. PostgreSQL. Again, I would recommend using bash to cull your data down before import, if possible (https://www.postgresql.org/about/).

Maximum Database Size	Unlimited
Maximum Table Size	32 TB
Maximum Row Size	1.6 TB
Maximum Field Size	1 GB
Maximum Rows per Table	Unlimited
Maximum Columns per Table	250 - 1600 depending on column types
Maximum Indexes per Table	Unlimited

More: "Bane's Law (Going Deep)" (https://news.ycombinator.com/item?id=8902739)
For what purpose? What do you current do with Linux that you want to use the bash subsystem for?
I focused on the skills that I picked up while being at a smaller company. Talked about the innovation that we did and the fact that we were responsible for the entire product as opposed to just a single portion of the process (i.e. testing).

There are skills that you learn while being at smaller companies and there are skills that you learn while being at larger companies. It's all a matter of communicating why those skills matter to where you're applying to.
I'm sorry but I just can't take a quiz/website/company seriously that assesses programmer ability, and yet they put the freaking answer key in Local Storage. Seriously, quizState? I got a 100%. ;)

{"questions":[{"name":"max_function","answerIndex":2,"question":"Fill in the missing line of code:","code": ...
>“the American public is the geographically most illiterate society of consequence on the planet, at a time when United States power can affect countries and peoples around the world.”

Hmm where are they going with this? They stop just short of suggesting that only 'spatially literate' Americans should be able to vote. Since they don't actually suggest it, they need not address the obvious racism/classism allegations backlash that would inevitably occur.

>Americans’ relatively low interest in North Korea is not returned in kind. “North Koreans are obsessed with the United States,” ....“The cruelest thing you can do is tell a North Korean that many Americans couldn’t locate North Korea on a map.”

I could be wrong but I'd guess your average North Korean has more tangible things to worry about.

Maybe the point of this article was to say Americans need to improve their geography skills but the author chose a head-scratcher of an example.
Carp – A type inferred Lisp with Rust style memory management
Yeah, I like the way you're going. I haven't spent much time thinking about how to fit in software engineering, but I did try to think about how to structure programming issues (which is probably the first step if you want to eventually get to a software engineering).

https://www.sep.com/sep-blog/2017/04/25/objective-code-quali...

It's missing a conclusion / wrapping it all up (which hopefully I can get to soonish), but is otherwise mostly done. [I should probably augment it with motivations and examples.] I'm not sure that this is the definitive answer, but more like this is my attempt to structure some of the things I've been encountering.

EDIT: Sorry about the length. I'm not sure there's a good way to shorten these sorts of ideas.
The comparison with the internet of 20 years ago is a good one.

Much like the internet did then, crytpo-currencies now draw an assortment of technologists, anarchists, bankers and futurists. There's also a wildly optimistic bull case to be made and it's very difficult to determine a reasonable valuation.

In contrast, tulips weren't a new technology, they had no power to change the world's business or social graph and a radically new tools couldn't be build on top of them.
> haven't done in several years, eventually decades.

This is the part I don't understand. What is your job that you never do anything related to data structures or algorithms?

I'd like to know so I can stay away from such jobs. I just can't imagine being happy with such a dead-end job that doesn't require me to think of solutions to problems. If these jobs can be done by any monkey with a brute-force approach, then let any monkey do them. I've got better things to do.
I worked on Z/OS mainframes for a couple of years and the point-and-shoot interface is indeed very efficient, once you've learned to use it.

The only thing I remember being really annoyed with was that there was no way (or no way I managed to find) to select all the text in a line in one go. The same was true for the editor (EZY). I kept pressing Ctrl + V to do a block-select and pasted all sorts of gibberish all over the place. Apparently, there are no line endings in text fields so it's not possible to get something like block-selection working.

But that was about the only thing that sucked from my point of view and I grew up with GUIs and touch-interfaces, like everyone else in my generation.
That google link doesn't really support the claim. For example, the headline on the National Review is somewhat deliberately strong sounding...what's in the article is quite different.

I'm no expert, and not trying to sway opinion either way. But the results of your Google search only make it muddier.
At a minimum, I've always tried to comment when something took extra research/effort for me to understand and implement, and definitely if I learned something critical along the way. I'll try and point that out in the comment. In addition, if I had to do something in a non-obvious, or non-clean way, or if it would appear so to someone else, I comment that as well and try to explain why it didn't/wouldn't work in seemingly more obvious approaches to the problem.

Also, this is the enterprise side of me, If I had to lean on a specific subject matter expert to understand a narrow piece of the domain before I could work through an issue, I try to be very specific about who that person was, but also what their specific domain expertise was - people leave, reorgs happen, but the goal is to have the reader understand where to go, provided that knowledge was transferred, independent of names and departments.

Example: I did a lot of data engineering in insurance earlier in my career, and sometimes it's really important for someone to understand non-obvious special conditions in code ("Generally, Product X had this provision, but we sold a policy form from 1998-2002 that had a slightly different provision, so you have to average the calc over a 3 month window instead of a specific effective date") - that's a generalized example of where I had to go pull hard copies of contracts to find that out, and I'd spare any future developer a week of research.
One thing that I have always thought about is why Emails doesn't have disposable passwords. For example, you make 1 new password that you can use just one time.

That way if you need to use unsafe PC from a hostel, you can log in with that password.
> really tiresome to see people who just discovered the concept

Curious, were you wearing your higher quality clothing when you made this comment ?

For some, more expensive clothes increases their sense of superiority. I, for example, am less polite and less patient when I have to dress well. It isn't so much of a problem now that I am aware of it.
I'd be entering travel mode with the intent of removing the ability to access the data from the device. I would be surprised if travel mode deleted my data.
You're deleting the data because you don't want to travel with that data. You're not hiding it. You literally just don't want to have access to it while you're traveling. In that sense it's no different than, say, leaving a hard drive with all your data behind (plugged into an internet-enabled computer that you can SSH in to and transfer your files back to yourself after you've crossed the border).
The most perfect love story in Switzerland
I tried my noose tip and and tonge, neither worked (Huawei). Toes work (obviously).

People reported that pet's pawns work.
Any ideas about whether this is ready for someone to start a company on?
Ask HN: Install macOS in another partition and boot it before crossing borders?
This is in response to the recent Basecamp handbook and 1Password's new feature.

How technically competent are the folks who search devices at borders? What if I install macOS in another partition, boot it up, and unmount the original partition? Will they discover my data?

I realize nothing novel can be done in iOS devices without jailbreaking.
The fact that they contribute so little to the public purse: https://www.theguardian.com/technology/2016/jan/29/londons-b...
Vote on feature requests for Slack
Based on this wording, it sounds like a team admin might be able to enforce travel mode such that the user can't disable it.

>If you’re a team administrator, you have total control over which secrets your employees can travel with. You can turn Travel Mode on and off for your team members, so you can ensure that company information stays safe at all times.

In which case, you as a user literally can't access the information without communicating with an admin at your organization. If CBP ever starts requiring that you call a third party to retrieve confidential information, well... I hope we never get to that point.
There's a difference between expecting candidates to know when to recognize graph theory problems and expecting candidates to know (and implement) Dijkstra's algorithm as the correct solution to some abstract problem. I don't remember what Dijkstra's algorithm is exactly off the top of my head (all I remember is that it's for graph traversal and has a memorable name), but I do know when to recognize graph theory problems so I can start looking for the correct solution.

I definitely agree that general CS knowledge is highly beneficial (it's why I put in the time to learn), but knowing implementations for specific algos doesn't seem as important in the day-to-day as interviews make it out to be.
Technically it's part of the optional "User Portability Utilities" feature group, and so is ex, the only mandatory editor in POSIX is "ed".
Yeah but Linux replaces windows ;)
Prices aren't always so high. I think $150-200 is more common, and there's even ones like Unbranded that run $80-120 (and go on sale too). It's still a bit more than regular jeans, but I like jeans a lot, and I spend more time wearing jeans than I do playing Xbox or something, so I don't mind spending more on my favorite pair of jeans.

Another particular reason people love raw denim is the high contrast fades that match your body because you faded them.

Here's a picture someone posted to reddit.com/r/rawdenim a little while ago, 1 year heavy wear with an $120 pair of Unbranded:

http://imgur.com/GtoC42V

And here is a picture of what UB221 jeans look like brand new.

https://cdn.shopify.com/s/files/1/0810/7201/products/Taper_-...