skysight-inc/HackerNews huggingface dataset:
> I am going to make a bold prediction: In 2018, we will see the first major brand shut down its website.

If that was a bet, I would put $50,000 down on it not happening.
It's a partisan thing. We can see from their treatment of Presidents that the "mainstream" media is solidly Democrat.

For the most part, they ignored Obama's many gaffes (RSPCT, 51 states, "corpse"-man, bring inefficiencies to our health care system, etc...) while endlessly mocking Republicans for similar gaffes.
Don't mind me... I'm just rewriting the entire internet and getting laughed at while kids these days get 3x the money because they took seven external projects, linked them together in five minutes, and made a "website" (complete with all the UX dark patterns, half-baked functionality, and third-party-triggered version updates straight into a broken dependency and version conflict).
This is what separates experienced coders from amateurs imo. I’ve seen newer programmers tend to always “find” a library that would implement their required solution even what they needed is a super small subset of that library which could have been better off by just writing their own function.
Hey, thanks for the info. I was just thinking about buying the A320 for FSX the other day. I will refrain from installing any software from "Flight Sim Labs" in the future, its kind of troubling to see this development. I mean it is clear that you do not run just any old software you found on some shady corners on the internet, but this is a big vendor, with a lots of sales, a certain name and a community. How the hell can this happen?
> Is this a hack that should not be allowed?

Yep. This is a hack that should not be allowed.

If yo want to use it, you should create your own type, with explicit modular arithmetic. Not try to ride architectural dependent assumptions.
Not in the US... Thinking of stripe's atlas. But scared of some hidden things\taxes
Wearing Your Heart on Your Sleeve: E-Skin Measures Vital Signs and Displays Them
I looked at bitcoin very early, when it was pitched as digital currency free from the problems of fiat money. My impression was that the proponents did not understand currency and that bitcoin would make a terrible currency.

As it turns out, I was right. But by being right, I missed a huge speculative windfall. While it would have been nice to make a bunch of money for nothing, I don't really have regrets because my decision was sound at the time.

I still wonder whether the early bitcoin marketing was uninformed but they lucked out... or if the early proponents knew it was a terrible currency, but that they had to sell it that way early in order to inflate the speculative bubble.
Finally a Nomad
Show HN:How to quit your job and become a digital nomad ️

We offer free hack-guides to becoming a digital nomad and are adding more valuable content on our blog, podcast, and the new book that is out for pre-order https://finallyanomad.launchaco.com :)
Maybe in the beginning. I've gotten the impression that OP is already beyond this stage where positive reinforcement was necessary and did the first steps, struggling with the subsequent ones.

If you studied (natural) reinforcement learning, negative reward seems to be working as well, even in case if all you get are negative rewards (which some researchers/philosophers actually consider as accurate description of life). Even historically, religions used it profoundly, e.g. by default you end up in hell and you have to do much better (up to the point of becoming a hero) to escape - easy coasting won't do it. It's quite fascinating to think this tells us what motivation approaches work on humans as they persisted through evolutionary selection to this day and how one can use them to improve one's condition.
HugSQL is very handy - used it for my solution also.

Coming from Django Rest Framework I felt at home with Compojure-API.

Hearing "you are overqualified" is awful.
From Go proverbs:

"A little copying is better than a little dependency."

https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s
Digital Trading Platform
I don't think the point is to do things that regular contracts can't. Instead imagine doing all of the things that they can do, but without the need for lawyers or court rooms or even governments.

Once you drop those constraints, the door opens for all kinds of applications that would be too slow or complex to execute on government infrastructure.

For example, I could configure my vehicle to keep track of pothole locations, and then every time it swerved to avoid one I put 25 cents worth of cryptocurrency into a wallet with an associated smart contract that says: this money goes to anybody who fixed the pothole.

Later, somebody fixes it and notifies the smart contract of their claim against my reward.

Next time I'm near that pothole, my vehicle either inspects is or prompts me to, and if it seems fixed, the fixer gets the money.

Without smart contracts it's difficult for the would-be fixer to know that the promised money even exists, and to be sure I'll actually deliver.

Now maybe the app above needs to be tweaked to include somebody who is a trusted pot-hole inspector who goes around doing the inspections (in exchange for a cut). Maybe that trust comes from the fact that they wrote the app in the first place.

The point is, you can have apps that make decisions in a way that can't be tampered with. Want to withdraw your pothole donation? Too bad, the contract is the only software that can move funds out of that wallet. The only way to unlock them is to find somebody to fix the pothole.

That's something that would be difficult to ensure without a smart contract.
I understand that even Estonia requires a manual process, with two witnesses at site to a property transaction. Then the question becomes how you digitize this on the blockchain?
I think to get past such issues with providers like this, you first need to understand what it is and what it is not.

Forget the brochure, the ads and the nice tutorial, those are NOT CardDAV/SMTP/IMAP/... servers. What they are instead are ways to access their own proprietary special thing using standard protocols that your software and tools already supports, if you can't use the dedicated api.

It applies to pretty much every system for which Google has made their own thing, with their own api (contact api, mail api, ...), and then offer an alternate way to access their system by standard protocols.

And what this means is that the ruling system is the underlying one, the one which can be accessed in several ways, including that standard protocol. If their contact system discards the field "foobar" because it doesn't want it, then it doesn't matter if CardDAV says it should be kept.

Sure Google should totally make this clearer, and sure as an user I'm not a big fan, and yes I totally understand and agree with the "but as a result they break the standard, lose data and cause unexpected behavior and that's terrible", but from a purely engineering perspective it also makes total sense as to why those things happen this way, and is actually rather predictable.

You're feeding data to a special system that just so happens to have a CardDAV/SMTP/IMAP/... endpoint plugged on top of it. Of course that endpoint doesn't rule how the special system will behave.

And frankly any one who has had to build/support that kind of "api on top of an api" for some time has faced that sort of situation before.

In fact you don't need to go that far; I mean how many of your web applications take PUT or DELETE requests ? The HTTP protocol certainly says it should work and the http server you're using supports it. And let's not talk about all those sites that give a full page answer to a HEAD request.

PS: again, I am most definitely NOT saying I like that it works that way, I'm just saying ... "well no big surprise there".
> Why do we even need package managers to install stuff?

Because it's nice to not have to write every bit yourself and end up with your own package manager anyway. (e.g. I'm not going to rewrite a ProtBuf lib for each project, I'll reuse my same code, but want to propogate update and bug fixes between projects.)

I'm less annoyed by libraries and package managers and more annoyed by "libraries" like leftpad and package managers like....well, most package managers. Here's hoping Nix or an intellectual decedents take hold and become more useful and universal. (OK, OK Cargo and RPM aren't that bad. Apt is OK, but too often leads to inconsistent states.)
That is pretty challenging, actually. The C language spec allows about anything with the semi-colons in the right place. Without more strictures in the language spec there is nothing to raise errors about.

Now you can ask for lots of warnings, -wall, but I suspect many people turn that off after the first ASCII tsunami.
> There's no magic solution

In cases where it is medically necessary, there is: Adderall.

http://slatestarcodex.com/2017/12/28/adderall-risks-much-mor...
I never understood the point of DRM.

"10 extremely determined people want to steal my intellectual property! I'll go miles out of my way to design this in such a way that 1,000 people have a crappy experience to slow down the 10 people who want to be pirates!"

Vendor makes a shitty product

Pirates find a workaround, pirate shitty product anyway

Vendor makes shitty product even shittier for all 1,000 people to agin try to stop the same 10 determined pirates
What is 16,000 m/s in this example? (For what we're discussing.) I don't recognize that constant...
Drake – God's Plan – REACTION
Rust cannot fix all bugs. This isn't a memory safety issue. Sometimes, you have to make tough calls.

Maybe Rust++ will fix this, someday :p

(Or, once people have the tolerance for the performance degradation and we can turn it on in rustc, exactly why we specified it the way we did.)

(Or, you can tweak it to include this behavior in release mode; always an option)
> On the other hand, there are also hundreds of millions of people that rely on fish for their protein. Are we willing to risk destroying our oceans to save our land?

Plenty of fish you can eat that live in tanks of water. Who says they need to come from the ocean?
absolutely nothing directly

Indirectly, I come back here usually everyday for the following reasons

- Experts debating on topics with each other provides useful insights on technology / industry trends, so I understand what things matter and what things do not.
- Keep up to date with new emerging technology / practices
- Some interesting project ideas that I star on github to revisit later
- Show how little I know when I read an article and have no idea what its talking about. Also, it helps expand my technical vocabulary
> overflow is a "program error"

Can you expand on what that means to someone who hasn't used Rust yet? Does it mean a third thing distinct from (2) and (3)? Or is it that (2) and (3) are the things that might happen as a result of (1)?
It doesn't seem that bad actually. I prefer a developer to add an existing well-proven package than copy and paste some lines from the internet, since many times these lines won't handle many corner cases. That's the strength of packages - they already handle the case of empty array, empty string, invalid data, utf-8, that glitch in Chrome and plenty of other "little" things that break Stackoverflow code snippets.
Not really. It's more or less a solved problem with decent package managers like Yarn.
Income is a more important factor in rating men's attractiveness compared to women.

Here is just one study I quickly dug up, there are others confirming this:
https://www.sciencedirect.com/science/article/pii/S016726811...

Another one: https://etd.ohiolink.edu/pg_10?0::NO:10:P10_ETD_SUBID:113754

I don't understand whats patriarchal about my comment, care to elaborate? If you have a more solid data point than "thats not my personal experience", I'd be certainly interested in it.
AFAIK this is also in part because there is a difference between "perfume", "cologne", "eau de cologne", "eau de perfume"--some of these are probably the same, I forget the exact details. Someone once explained me there's three different types of smell-good liquids, and they mainly differ in how long they last. Often you have the same fragrance at various prices.
That's all before you go to bed with your wife(male) who has a sheep-implant vagina.
what's the better way to do it
copy & paste, or use a package manager

When you add a dependency, how do you prevent the maintainer of the dependency or any sub- or sub-sub-...dependency to break your system in the future?
Being on-site != lived in
so you end up with 100 dependencies? 35 LOC is NOT worth a package.
Bootstrapped E-Commerce Making $100,000/Month
Calling someone rich is just like calling someone an alcoholic. It's defined by the person that [makes $1 more/has one more drink] than me.
Your application, your call. The trade-offs between implementing functionality yourself or using existing solutions ( with their transitive dependencies ) are entirely for you to evaluate and judge.
Reminds me of the Go Proverb, "A little copying is better than a little dependency."

When I created a hello world app in React, it took what felt like several minutes to pull down what seemed like hundreds of dependencies. My uninformed opinion is that the standard operating procedure in Reactland is to pull in "well tested" dependencies, where "well tested" means "downloaded a lot" and you hope the two are correlated.
'Loneliest tree' records human epoch
My commute is my workout (I cycle). I've found that much easier to stick to than having to make an active decision to work out.
I would advise you start talking with a therapist who specializes in mindfulness training. Meditition and mindfulness can help you learn how to focus, while at the same time being less judgemental of yourself. I recently did about 6 months of online chat therapy for my anxiety (which was hindering my work productivity), and applying the mindfulness techniques that I learned has been really good for my well being and productivity.
Ask HN: Why aren't more people using Tox?
How well this works depends a lot on the ecosystem.

When working with Node.js or JavaScript in the browser, there's often a huge number of modules available. But even though there may be six different modules trying to solve the same problem, every one of those modules may be incomplete.

When working with Ruby on Rails, I find that regular Ruby gems are pretty safe. There's often one or two popular, well-maintained solutions to a common problem, and I'd be fool to reinvent the wheel. However, gems which extend Rails itself can be more problematic, and they often break during major Rails upgrades.

Rust crates have a few nice properties: The Rust language itself has near-flawless backwards compatibility, Rust crates are immutable once published, and almost everybody uses semver. Oh, and cargo is great at managing dependencies. What this means is that it's often worth depending on very small libraries. Sure, maybe it's only 30 lines of code, but it's the right 30 lines, thanks to a process of refinement and to PRs from several people.

So the exact trade-offs here vary considerably, depending on the details of a specific ecosystem and its tools. I do agree that for browser-based stuff—especially if you're targeting evergreen browsers—that it's often better to write a few lines of code yourself than to add a badly-maintained dependency.
I have worked remote for the last 3 years and in the office for the 10 years before that at the same company. I can definitely say I will never work in an office again if at all possible. Remote work is definitely not for everyone, but for those of us that prefer it, its more important than pay or benefits. I won't rehash what others have said, but i do have an experience that may be different than most.

I work for a company of close to 3000 that has maybe a dozen remote workers. Most of which are sales people, a few workers that work on site all over the country and then me, a developer/analyst.

As a general rule, the company allows occasional remote work for select teams (mostly just IT), but as a whole, it's against remote work. I am the only developer (or IT for that matter) that is full remote.

Working for a company that is NOT a remote friendly company is an absolute challenge. Here are a few of the additional challenges you deal with above and beyond the normal remote work.
- missed conversations. they happen way more in an office that doesn't have remote workers

- no advancement possibilities. I'm already sr. so I don't care)

- jealousy issues. not a real problem aside from I can't tell people I am working in another state for the winter

- you are an inconvenience to everyone. every meeting requires the phone or remote desktop just for you

- all processes have to take into account 1 remote worker

- missed team events, although I attend most of them since I only live 1.5 hours away (most of the year)

- VPN... if there are issues, I am the first to know

- expectation of 8-5 m-f. Although I actually prefer it because routine is good and sets defined work/life time

Ultimately, if you are not sure if you would like to be a remote worker, I wouldn't recommend it at a company that isn't at least 50% remote (or at least the team you would be on).
> Historically, it has been much easier to upgrade a library/package than to maintain the code myself. At least that's my experience.

Everyone's experience is different, mine, in this case, has been the opposite.

Library/package breakages caused by browser updates often take longer for the maintainers to release fixes for than I'd like to wait. I can fix myself and submit PRs, but this takes orders of magnitude more effort than fixing a similar thing in a library you wrote yourself; you can't be familiar with the internals of every external dependency, particularly as they're often generalised and therefore larger and more complex than if you write them yourself for specific functionality.

There's a trade-off of course, but I'd definitely consider updating libraries in response to browser update breakages a "con" when listing the pros and cons of using external deps.
Welcome to magpie-driven development – "just glue it together and move on".
How to scroll to an element:

<a href="#section-1">Go to section 1</a>

<section id="section-1"></section>
I love the extreme tension between "small, clean code you write/verify yourself" and "opaque-ish package for everything".

Because the latter is so much more productive, I think the real question is, how do we manage the undesirable side-effects of the package-for-everything model?

I see the major concerns as:

- Potential security problems that evolve over time.

- Reduced understanding of how the underlying code works.

- Reduced mental clarity of how the project as a whole works.

- Non-traditional approach to debugging. (Dig through foreign code, post GitHub issues.)

- Artifact size / performance / power consumption issues.

I'm curious about novel approaches to help manage these concerns.
It's cool, this is the only place where this kind of language is used. So even if you were familiar with Rust, you might not be familiar with this particular corner.

Mostly, it means "this is wrong but it is not undefined behavior".

> Or is it that (2) and (3) are the things that might happen as a result of (1)?

Yes, this.
How chatbots can drastically improve the customer service
I reached that point when I was about 30. Every day, I had to talk myself into getting out of the car and walking in the door. It turns out the problem was that I didn't like my job. I changed careers and I haven't had motivation problems since.
I'm going to go out on a limb here and assume you meant that sarcastically.

https://www.google.com/search?q=rio+tinto+environmental+dama...

For just one example. Resource extractors of all kinds are among the worlds biggest polluters and destroyers of habitats and entire eco systems.
People change over time. Relationships with activities evolve and change. Over the time span of a decade, there will be periods of more interest and engagement with an activity and periods of less. Life happens and programming or reading or gaming doesn't occur in a vacuum. Some days/weeks/months there's more to be gained from doing, others from not doing.

Vacations, sabbaticals, breaks are good. Though taking one is a luxury not afforded to many people in the world, it is not wrong to grasp an opportunity to do so when it presents itself. Doubling down on burnout doesn't make it go away.

Good luck.
There is a loud minority of men who seek out opportunities and jump at any opportunity to sexually harass a woman. It's not uncommon that women often encounter these males in ridiculous volumns. Some women actually get such a volumn of sexist males that it's difficult to form regular relationships with members of the male community who are not overtly sexist. Please don't let this somewhat offensive exaggeration make you dismiss the daily struggles women can have with never ending systematic sexism.
That may be true for backend stuff, but not for frontend development. Adding dependencies means that the user is exposed to a lot more.

I am blocking Javascript vigorously allowing the occasional first party script, if I really value the site. If you throw me into a vicious cycle of forcing me to allow more stuff at each cycle, I go away, especially on retail sites.
I guess that would mean yes...
You do the same thing you'd do if anything else in your toolchain or runtime environment changes - change relevant code so it works again. Browsers change all sorts of stuff all the time and break millions of websites in the process. Easier to use a package manager to propagate the required changes to all dependent projects than copying and pasting bits of code between many different files.
That’s why the recommendation was to see a doctor (and ideally a psychiatrist not a general practitioner). There are many legally prescribed medications to treat ADHD and most jurisdictions allow at least one of them.
But it's 35 LOC because it's probably not handling various cases that aren't obvious at first. That particular package went through many versions and is widely used so there's a chance it's robust and will be maintained over time. That's one less maintenance task to do.
>> "An angel investor would be able to assist you with company registration, however you can also do it yourself through an agency."

Although this is true, I would seriously advise the founder to get his own (trustworthy) lawyer assist him through the process, as with everything related to incorporating the company (ownership and investment structure).
Yeah , I sort of agree that practically power laws are pretty useful, even if they are approximators. I think the paper is trying to say though, the same people (including myself) who use power law to generate these models often say that these processes are actually power law processes. When in fact they may not be. Which is surprising to me (Zipfs law and all of that)
You just described a large part of my dream lifestyle. Coming from a rural setting, the city life gets a little old after a while. I love the city and love visiting and the convenience of everything, but other opportunities for sport and exercise can be limited. And god do I miss being able to bike 5 minutes and ending up in the countryside. If I can get myself further north or toward the mountains comfortably, I will.

Please do share how you managed all of that—it helps to have insight!
The joy of reading (comments)

Duckduckgo

A feeling of elite-ness as not one other person i know (jobs, family or patrons) have ever heard of HN. It's my exclusive ivy-league braggard self worth identity
Europe threatens Facebook with fines for tracking users and non-users online
We're largely unaware of the millions of extinct insects etc that humanity extinguished in our conquest of the 7 continents. Suffice it to say, all those that evolved on land for very specific conditions are long gone. Except for those we're bulldozing today without noticing.
Show HN: Deploy your apps on your servers using Heroku buildpacks