skysight-inc/HackerNews huggingface dataset:
Loss of motivation and drive is quite normal and happens to everybody from time to time. I'm inclined to think that success in life depends to a substantial part in how one manages productively to overcome (or at least manage) lack of motivation.

I suggest to organise your life in a way that you have additional mechanisms to grind through those moments when you loose motivation. Here are some examples. I'm not saying they always work, or they are for everyone. I'm just throwing out some examples in order to communicate a general idea.

- If you want to loose weight, remove food from your house, so you cannot simply snack to quell boredom.

- If you want to learn subject XYZ, join a school/university/course/bootcamp teaching XYZ with a firm schedule, regular homework, exams that you can fail and other students

- If you want to learn subject XYZ, teach it to others (in a generalised sense) in public. The fear of looking like an idiot in front of others is a good motivator.

- Create social obligations with others for doing XYZ, so that the fear of violating those obligation, with the concomitant expected loss in social standing is additional motivation.

- Control frivolous spending by engaging in a contract such a as a mortgage that forces you to save regularly, so as to avoid the substantial disadvantages of defaulting on a mortgage.

- An extreme case is having children, for with children the well-being of what you value most in life now strongly depends on yourself being productive.

What they all have in common is that your desired behaviour XYZ suddenly no longer only depends on your subjective and mercurial moods regarding XYZ, but are now tied together with other goals G1, G2, ... Gn of yours. The probability that you loose interest in all of XYZ, G1, G2, ... Gn at the same time is substantially lower than with just XYZ alone.

In other words, make several of your life goals align and mutually reinforce each other.
Or you know, maybe a massive company somehow pushed through a project that was incredibly expensive and time consuming but had no justifications or plan.
> There's a lot of good stuff in there.

Also it can break any time.
"That's 105%!" - Mrs. Teevee
So I imagine this is primarily for people who want to lose a large amount of weight, but the BMI method is going to fall apart for people who are already fit and want to cut or add weight slowly.

For example, I'm 185 @ 5'11", but I'm also sitting around 10% body fat. By BMI I'm overweight, and I imagine the calorie deficit you come up with would be wrong.

I haven't looked (seems like I have to create an account to check), but do you allow people to enter their own daily caloric goal?
Clojure Development in Spacemacs – Installation, Setup
I doubt it. Public contracts would be the bulk, if not the overwhelming majority of their business. Just like with SpaceX, which relies heavily on NASA and USAF contracts.
One thing I have thought about. I have dozens of profiles which are just test accounts for social media, to hook up to applications I've been building.

I've been thinking recently to just close all the accounts, including email.

This will leave me in a state where I have pretty much no social accounts, just 1 email account which is used for friends/family.

Are there any cases of individuals giving up their phone and it being a wasteland of information? I personally do not use facebook, google-plus, twitter, linkedin or anything else. I literally do not have an opinion, nor do I care to share it!

Edit: Do they also check when email accounts have been created? How could they know, unless they checked in with the provider? I'm thinking of closing my main account, requesting data be deleted and starting afresh!
They start with a bit of copying then follow with originality. This is true even for high schoolers doing programming in US. China's copiers in imdustry didnt for a long time. So, it's not as simple as you suggested. Shenzhen is in opposite situation where it's both cloning and innovating so fast there's no stability in offerings.
The ACLU was fighting this under Obama, and some of the many millions of dollars they gathered from Trump opponents will be used to fight this and other causes under POTUS 46.
> I've spent years in seclusion

Don't do that. Talk to potential customers. Hang out in the places they hang out (online / offline). Start marketing early. Get users early. Never work in seclusion.
Sure eminent domain remains legally powerful. But politically it has become more of a hot button issue in certain conservative circles who actively lobby against its use. And when eminent domain is used the takers have to pay fair market price so with the huge increase in urban real estate values over the past few years it's much harder to just find the money.
Send it in 10 boxes? 10 times the chance of a single box getting lost, I guess.
Silly things like laws and constitutions do not apply at the US border. Or anywhere near it.

https://www.aclu.org/know-your-rights-governments-100-mile-b...
Yahoo Hacked Once Again Quietly Warns Affected Users About New Attack
How I Decide Who Gets Banned on OkCupid
They are awesome as far I know too, but I don't know about their documentation status, Can I find my way out? Boost is very well documented and there is so much book about Boost, But I don't know about chromium internal lib .
New Year, New OpenBazaar – The Disruption of Disruptive Technology
I wonder if maintenance would be cheaper. Think about it. A constant temperature. No rain or sun. No freeze thaw cycle. No salt.

Those are all things that damage roads.
That doesn't necessarily help. Many people have Facebook accounts with names that are not their "real name" as on their ID and plane ticket. If they want to, they'll just claim that you most likely do have an account and you're lying to them, and hold that against you.

If you're a foreigner, there is no way to win this if they are determined to make you lose. US visas as well as the documents for the Visa Waiver program make it clear that even if you do have all that is required, you are not guaranteed entry to the United States. The officer on the border can turn you back on a whim, and you have no legal recourse. Presumably they have some internal controls, but that won't help you in particular.
Having done several event-processing systems (lately with Storm in Java/Clojure and Onyx in Clojure), I fail any event outside the hotpath, which sends it to an alternate queue where remediation passes attempt processing. This results in slightly delayed processing (we're talking a handful of seconds max), but keeps the high-throughput hot path very simple. Events that can't be handled in the secondary queue are logged/journaled and a report is generated periodically when such events exist.

It's fairly rare that I would even attempt to track internal state in an event-processing system (a node will typically emit/attach all necessary information for the next node), but in cases where I do (real-time numerical calculations), we accept a small percentage of error. We'd typically write a health check around our confidence in that calculation and expose that to systems that need to interact with it.

In terms of errors that are systemic rather than due to malformed events, I'd reprocess out of the queue assuming the timing makes sense. For nodes that care about time, we'd write in checks using the event's timestamp as a guard against processing (failing events outside the time range).
And you will be blocked from further entry into the US
This is a bit odd considering that Musk knows that even a substantial minority of self-driving cars on the road would dramatically reduce traffic. Does he think we can deploy tunnels in every city before we can get to, say 25% self driving cars? I'm not saying there aren't other benefits to reshaping the urban landscape this way, but traffic is a problem he is already in the process of solving in a way that seems much more likely to scale to, well, anywhere, without having to do anything to existing infrastructure. And anyway, once we get to something like 25% autonomous cars, won't the safety revolution put pressure on the government to quickly phase out permits for human-driven cars?
What happens when there is an earthquake?
If a restaurant started giving out free food, you wouldn't be surprised when more people than usual went to eat there.

Induced demand only happens when the road is underpriced. Any road can be made immune to induced demand by tolling at a price that reflects demand. Too much traffic? Raise the price. Looking a bit empty? Lower the price.

Car dependence is only common in the US because drivers do not pay the true cost of driving. Many people could not afford to drive if they had to pay market price to use roads and parking. By disconnecting the cost of transportation from its use, we have evolved a society that is overly dependent on transportation, and that is overly sensitive to increases in transportation costs. This applies to all modes - not just cars.
Unless they bring their own version, something that has been a issue at least once.
It says later it was a set of different games.
I was actually entirely earnest. I never before considered how to attribute a commonly quoted line that's almost a true citation, but isn't.
Yes it does, but it worked yesterday. Strange! Here's one that just worked: http://www.esquire.com/entertainment/books/a13522/robert-car...
>thinking it's the K&R of C++.

You nailed it with that analogy though.

K&R is a "first book" and important historically, but right now it's an atrocious book if you want to learn current C and this has been the case for a long, long time.

Sometimes these first books don't withstand the test of time.
> That, however, takes you are back to the old problem: A heavily optimized C program looks like C. A heavily optimized [insert functional programming language here. Most often haskell] program looks like shit.

Couldn't that be explained by observing that C looks like shit, and we've just gotten so used to the look (and the smell!) that we fail to notice?
Corporate America can be very friendly upfront and brutal to murderous once you're out of sight. It's not about race but position and how people decide to obtain and maintain it. In other situations they may not have spoken with you simply for lack of knowing what to talk about together. The first times a newcomer comes to any gathering they're usually quiet and less interacted with by the group. At least that's how I remember things going in school and gaming. Plus cities create their own brutishness over scarce resources.
You mean if you want to look like you have something to hide? Yeah, that might help...
They don't serve the general public.
> some Golang for some godawful reason

What's the problem with Golang in TF? It's one of the nice to work in languages and I imagine that Google sees Golang as somehting that will replace Python sometime long term...
"Some people don't do it" doesn't make it a bad idea.

My Cooks Illustrated cookbook gives both metric and imperial measurements, IIRC.
San Jose is boring, cookie-cutter suburbia.
Depending on what the other uses are, the patent holder is always able to out-license the patent for specific uses. This is actually pretty common in biotech.
Scientists are pro-testing
The main aspects from Mathematics for Computer Scientists that it assumes is knowledge of asymptotic complexity (O(n)) and basic proof writing skills.
While it's rather introductory, "A Tour of C++" is a much more concise book. Read that and then maybe look at some Scott Meyers books (I haven't read "Effective Modern C++" but the other entries in the series are good and I'd expect this to be a good place to start after the tour book).
As someone that has written code to pick up the encryption keys out of the Diameter protocol, and used those to decrypt the control plane NAS signaling on the S1 interface, correlated this info with the user plane data between a S-GW and P-GW - no - LTE is not end to end encrypted.

There's encryption between your mobile and a few nodes within the core network of your carrier - inside that network, you can easily break that encryption if you get hold of the keys - and those keys are communicated in plain-text between a couple of the network nodes (on the S6a interface). While those interfaces are supposed to be using IPSec, I've yet to see anyone doing that all the way.

The radio interface, between your device and the cell tower is decently protected though. Unless you're in a country that demands the use of the EEA0 and EIA0 encryption algorithms (a.k.a. no encryption at all).
C++ proposals please
Recently there was an interesting article here with a title like 'The Bipolar Programmer' where a stereotype about 'smart but lazy' STEM students; in that article I fiund nearly a definition of myself, and I think you and the OP may find that this is true for you two too. I, too, am curious for many areas of computing and art, and as a result sparsely knowledgeable about most of them, but lack profound proficiency in all of them. I believe (and daresay) that we make a category which is hard to recruit in this sector. I've lost the hope that I'll be able to fit in as a programmer-for-hire and believe that the only place for me here is as an entrepreneur-hacker and open-source side-projects person. I've actually drifted so away from programming as a profession that at the moment am studying philology at uni.
That's like the Large Synoptic Survey Telescope (LSST) it takes pictures of the entire southern sky every few nights using a 3 Gigapixel camera . It will do that for ten years and after that only gather 15TB of data. If you do the math it's more like 46TB but even so that seems low.
There's case law pushing the border search exception one way or another going back through the 20th century (for instance, it's a mid-1970s case that establishes that you cannot, in fact, be searched simply by dint of being within 100 miles from the border, but rather that the "100 miles" thing is a limit on the government for how far you can get a recent actual border crossing before the government remembers to search you).

Not that there's nothing worth challenging here, but the skeleton of legal principle these searches hang on is pretty strong.
Better summary: https://www.patreon.com/posts/lost-package-of-8125834
What kind of small project can I undertake now that I have free time?
I´m having a lot of free time lately, and I´d like to start a project. I would prefer to make it an open source project, or it could be a little service for free.

Either way, I wonder if anyone has ideas for this.
Happily, to counterbalance that, US jurisdiction is often assumed to cover the farthest reaches of the planet.
Non-default scrolling is the worst. I won't even bother to read any more if I try to scroll, over-shoot the mark and miss what I'm trying to read entirely. I'm not going to fight your page to satisfy my mild curiousity.
i too wish ddg had better search results but i think most of what makes google's results better is the tracking...
I'm not claiming that's true, but if it were, it would be strong evidence that the modeling is accurate.
Doesnt matter who ships it. Important thing is to have insurance.
> the construction industry has been famously stagnant for decades

My guess is that the construction industry has not actually been stagnant, but rather the market/regulations have emphasized things other than speed/cost, such as:

- Environmental-friendliness (think of those lengthy environmental reviews that have to be done in advance of major projects)

- Labor-friendliness/safety of workers

- Higher quality construction w/r/t earthquake and fire safety
SEO Specialist
It gets worse, because if you're coming to the US hoping for permanent status, anything you do to slip stuff past a search that CBP does is potentially grounds for revocation of status later.
That can add a performance penalty. If it didn't, compilers would always pack tightly, after all.

In any case, these particular structs don't have any special packing applied.
Yeah, that's why I threw this out there. Our cases are intended to supplement a textbook, not replace it.
Optics and media coverage aside, it was pretty clear that most people criticizing Bernie hadn't actually read his platform.
"Covered" isn't saying much. When I took my Software Engineering class, those topics amounted to no more than a couple slides each in a lecture. Even if my university's curriculum wasn't a joke, the idea that a single class, typically taken one's senior year, is sufficient for any of the above is laughable. No one I knew or shared a single project with used version control or testing for the duration of my sad education.
That's unworkable. OK, maybe Facebook. But going without social media is no longer workable. Too much depends on it: family, friends, education, work, etc.

However, what is workable is keeping your social media clean. Compartmentalize anything questionable, anything potentially embarrassing etc, using pseudonyms. And compartmentalize those pseudonyms on separate hardware, and avoid linkage through IP address, activities, interests, friends, etc.

Edit: It's cool to hear from itshoptx and gravypod that it's possible to go without mainstream social media.
Given this attack can be run within large userspace programs that are run directly from the network (js via browsers, or within VM boundaries), I don't think that "reasonable" would be the right word.

The constraints are pretty small in these scenarios. Once a POC is released it becomes widespread pretty quickly. There's no special size/constraint that effectively stops this attack being run on a large scale.
If you take money at a high valuation, the VC will only be happy if you try to grow the company significantly and exit at some multiple of that valuation. If the founder decides not to do that, then one of the largest shareholders in the company (the VC) will be angry. At a minimum I imagine the founder would be negatively impacted by losing some of his/her reputation in the investing space and having angst knowing that he/she took a VCs money and then ignored the VCs interests. At worst, there could be issues at the board level and loss of control of the company.
There's a statute that carves out the border search exemption:

https://www.aclu.org/other/aclu-factsheet-customs-and-border...

So the argument to be made is that the application of the law or the law itself is not in keeping with the Constitution, not that law doesn't even apply.
Four Secrets of People Who Finish Their Workweeks on Thursday
I've not been paying attention to 3D printing for quite a while now. Which companies are ruling the roost of desktop 3D printing these days?
Do studies show causation and not simply correlation?
Snapchat parent Snap sees IPO priced between $14 and $16 per share
It is definitely USPS's fault, but from what I can see that box was packaged incorrectly. I am just posting this so OTHERS might not make the same mistakes, I am not judging or blaming the original shipper (nobody is perfect!)...

I've shipped a lot of stuff internationally. It appears that the shipper had a 18x16x10 box and wrapped it in shipping paper. They then applies the shipping label to the shipping paper.

First of all, shipping paper is garbage, if it isn't on tightly enough then creases get caught in the conveyor belts and ripped off. It also doesn't do a damn thing, it is just glorified wax paper with minor water resistant properties.

But here's their big mistake: They attached the label to the easily ripped off shipping paper and [likely] didn't write the destination address (or source address) on the box itself or within the box itself. That is a huge "no no."

If you ship internationally, and particularly if you ship something valuable: Invest in the cardbox box. Cardbox boxes are NOT created equal. Most cardbox boxes are single walled recycled nonsense, you want a double-walled heavy duty box. The nice part about double-walled is that the first wall will "eat" the water damage leaving the inner wall completely intact holding the box's shape.

You should also write the source & return address on the box itself. Even if the label has it. The label can be ripped off. And if your box lacks an invoice inside then instead include a contents list and set of addresses (this is so that if the box were to spill it can be reunited and forwarded).

Last part: The tape. Not all tape is created equal. Look for the weight rating. If it doesn't have a weight rating then it isn't shipping tape. Here is a good place to start[0], again look at the weight ratings don't assume that brand X is good even 3M make "economic" tape I wouldn't use. Tape uses heat, water, or pressure to adhere. Most tape you'll be using will be pressure, if you don't own a tape dispenser then use your finger to apply pressure to the tape after it adheres. If you do own a tape dispenser then make sure you're using it correctly and applying pressure along the whole length of the tape (otherwise it "sticks" but at hugely reduced effectiveness).

[0] http://solutions.3m.com/wps/portal/3M/en_US/Adhesives/Tapes/...
Microsoft bumps up Surface prices in UK
I think the URL is wrong. All I see is:

> There isn’t anything to compare.

> We couldn’t figure out how to compare these references, do they point to valid commits?
email: I am a happy user of https://posteo.de; it costs one euro per month

phone: I am waiting for https://neo900.org
What is your favorite CRM that also has gmail and google groups functionality?
I've been looking all over for a CRM that you can use directly from gmail. I've tried Streak, buzzflow, NetHunt and some others, but haven't quite found the functionality I'm looking for.
I have a team of about 15 people that will continue to grow, all on a Google Group that people reach out to us on. We're seeing about 50-100 emails per day. I'm looking for a ticketing system function that when people reach out to that Google Group, the thread goes into a ticketing queue. Assignments would be made based on rules or the team jumping in and picking up and assigning threads that haven't been addressed yet.
Streak seemed super close to the functionality we were looking for, but it appears to leave a lot to be desired in the rules. I could setup rules based on who an email was from, but not who an email was to - so with people reaching out to us using our Google Groups email address, I can't route those requests into Streak.
Is anyone aware of a solution that would work? Do these extensions have this functionality and I'm just missing this or is there a better way to approach this?
From the article:

The policy also states that CBP or Immigration and Customs Enforcement "may demand technical assistance, including translation or decryption," citing a federal law, 19 US Code Section 507. A related document says that "officers may seek such assistance with or without individualized suspicion." Refusing to comply with this statute is "guilty of a misdemeanor and subject to a fine of not more than $1,000."

Are you confident that it's legal for a US citizen to refuse to provide a password when re-entering the country? I'm not familiar with the statute beyond what is mentioned in the article.
Good. We should care about this regardless if we like the administration or not.
> It would be a sizable blow to USPS's reputation

Not really. Every business has thieves. It sucks that this happened but it's not going to be a sizable blow to the USPS.

After shipping hundreds of packages my personal anecdote is that USPS is far better and cheaper than UPS and FedEx. This one other anecdote won't change that.
Michael Hartl's Rails Tutorial (https://www.railstutorial.org/) leads you through Ruby, Rails, Git, and deployment to Heroku through two very small projects and one related larger project that takes up the bulk of the book.