skysight-inc/HackerNews huggingface dataset:
Everyone is ignorant of a product until they build experience with it. No baby is born with innate knowledge of how to configure properly a Mango DB!

If a product is misconfigured by default and it takes expertise in the product to not leak data, then the product is unfit for purpose, it will burn anyone who wants to learn it.

What if you learned that Linux had a massive security vulnerability that leaves the OS open for remote code execution. What would you say if a Torvalds would laugh at its users, saying that if they didn't change that low level kernel security setting, the users were ignorants and deserved their troubles?

I think no one can pretend he understands all of the settings in the hardware, firmwares, drivers, kernels, many other OS layers, database, etc. We rely on having safe and secure default settings, and it is the only way an insanely complex machine like a modern server can be usable.
The data that was linked to was fatalities per 100 million trips. Unless I've missed something, that's what you want. I'm not going to say that cycling is as safe as not cycling, but it's still quite a safe activity. Your odds of getting seriously injured are quite small.
And since Android 4.4, access to external SD cards has been restricted unless you use an annoying API or have a rooted device.
All the emails and negotiations are between him and the other guy. It's not like his company is a multinational with billions in revenue and the CEO on another continent. It was absolutely a huge mistake not to show up personally.
I agree that it's useful to expose children to literature and art, but it feels like there's no way to objectively test it...

Maybe creative writing/literature courses should give marks for the most upvotes on Reddit (kidding, but probably more objective than current methods).
If you are writing high-reliability C (think military, aerospace, industrial control systems), early return is usually prohibited by coding standards. Then again, dynamic memory allocation usually is too.

Personally, I think early return is lazy programming because not cleaning up non-RAII objects is only one class of bugs that it can introduce. Things like vector renormalization, update notification and even later sections of algorithms can all be missed by early return. Not having early return means you need to explicitly skip later code if you don't want it, rather than essentially turning on "skip-all".
China Fun Closes
I recently tried to subscribe with Adobe. I really only wanted access to two apps: Illustrator and Photoshop. I have absolutely no use for any of their other apps, and I hate all their cloud stuff. Unfortunately, that forces you to buy a $50/mo plan. Regardless, I thought it'd still be worth it, so I was willing to pay the price. After subscribing I download their Creative Cloud installer, only to find out it doesn't on case-sensitive file systems on macOS!

Unsubscribing wasn't that bad, though. They have a bullshit popup where they force you to give a reason. But afterwards, it seems to have gone fine. We'll see if any charges show up next month.

Honestly, this is a huge problem with all subscription services. I should be able to easily unsubscribe from anything without having to jump through a bunch of hoops. I don't want to have to speak with anyone on the phone, nor should I be forced to tell you why I'm unsubscribing. This is an area where I believe we might need a bit more legislation. I've read stories of people trying to unsubscribe from Comcast and getting immediately passed along to their retention department.
That was passed on to Microsoft as part of the sale of the old handset division. As part of that deal, MS got to use the Nokia trademark for a couple of years. But since then it passed back to Nokia proper (they still exist, focusing on mobile network infrastructure), and is now licensed by HMD Global (a company based in Finland and formed by former Nokia handset people).

Also i suspect that it, like Amazon's Fire platform, learned first hand how much of the app side of Android is actually housed in Google Play Services...
This is not strictly true. For example, good luck trying to scp a device to a remote host.
The div with a scrollbar on the left is strange :)

It's the div "container-left", remove it :)
"The decision by HMD to launch its first Android smartphone into China is a reflection of the desire to meet the real world needs of consumers in different markets around the world."
http://www.hmdglobal.com/press/2017-01-08-nokia-6/
Understand a few things first:

A) The 'cost of housing' is usually not the building itself. It's the land. So, we can't compare to other products.

B) It's greatly affected by financing, interest rates, accepted norms. Ex: when interest rates drop, housing prices balloon. Also - as people accept longer and longer mortgages, housing prices ballon.

C) It's a relative thing, not a 'cost' thing. There are x number of people and say, roughly x spots for housing. The riches people will live where they want. The others go elsewhere. If rich people want to live in an urban area, there is nary a solution for 'low cost' housing in that area.

Some things like 'rent control' - if applied responsibly can maybe help, but they can also create other weird problems.

Social housing might help, but also, some other odd problems.

The only want to allow poor people to live in expensive areas is to seriously mess with market forces, and that can be problematic.

The 'problem' we are trying to address here is age old: 'the fair and equitable distribution of resources'. It's not going to be solved with some new technology or process :), it will probably be some smart economic thinking.
Past discussion, when the post was on dhh's own Medium page https://news.ycombinator.com/item?id=10506422
Some years ago, I bought a perpetual license for FlashBuilder 4.7. Recently, it failed to build an Air package because the product, which hasn't been updated for years, connects to an obsolete time server. To fix the problem, I followed the directions in Adobe's support site. Right after doing this, it asked me to re-enter my license key. It rejected it, saying it was no longer valid. A license that was sold as perpetual, no longer valid!

Their support was completely worthless: after being redirected to five different support teams that had no clue how to solve my issue, I realized I was never going to get a solution, and gave up.

My personal lesson learned: never buy or use anything from Adobe ever again.
If only rust had concurrency / parallel programming primitives or library as nice as golang or elixir,i think i'll move to this language right away. For now i'm still holding my breath before developping with it on the server side.
Google's Go is TIOBE's programming language of 2016
The problem I have with this approach, is how do I change something that's part of the syntax? Eg how do I change the url for a link? How do I change the heading level?

A pure editor or editor+preview doesn't have those issues.
A bit offtopic, but when Rust will have incremental compilation? I just tested Piston's hello world and it takes 4 seconds to recompile. A bit too long for my taste.
Charlie Shrem Speaks About His New Blockchain Investment Fund
It has zero to do with steel, concrete or anything material.

The cost of making the building is not the issues.

It's the property price that is the issue, always.
So many unreadable and confusing code bases exist precisely because people made that assumption.

For example, in the case of "name" there are typically many different things that need a "name" in the same context. First name, last name, etc. "name" by itself (and other short names) is honestly asking for lots of headaches in the long run.
> What is the value add for SUSE over Ubuntu?

To start, I'm not a sales person. I'm a developer. If you want a proper sales pitch, you can request one from www.suse.com. Also, if Ubuntu works better for you then that's what works for you -- I work with people from Canonical and RedHat on a daily basis, and I know they make good stuff just like us.

Longer history in enterprise deployments. PTFs and patches for packages are supported in zypper (not true for dpkg). Kernel live patches (no reboot kernel fixes) are supplied as packages. Very good integration with a wide variety of tools such as the Open Build Service (making your own appliances and packages), YaST (our manager for the system which is integrated into everything), snapper (snapshot before and after updates/upgrades/changes), SUSE Manager (allows management of many machines and configuration), and a bunch of other cool stuff.

Also (and this is honestly my fault for being bad at using computers), I've personally never had an Ubuntu install that has worked for more than 4 months.
Get a girlfriend
Thread shows up normally for me, no login or anything.

It's also three years old...
> This metaphor, coupled with the story, makes it seem as if it's "worth it" to hit a client back in front of a judge. Super weird, IMHO.

It is an analogy. One should not copy exactly what happened in an analogy literally to a situation (what I call "greater example"); instead, one should apply the lesson of the analogy.

The situation of the analogy ("small example") was at elementary school, where someone got hit, and wanted to get justice ("an eye for an eye"). He got justice, but at a steep price. Standing up for oneself ensures they are not (or at least less likely) becoming bullied again, but it has its price (e.g. you may lose a teeth or 2, get reprimanded by school, get in contact with police or sued, etc). The goal of eye for an eye might appear as self gratification. That is perhaps part of the goal, but its a rather pointless and -to put it friendly- unintelligent one. Another, far more important part of the goal, is to ensure the other party realises (knows & feels) they were wrong so that the other party does not resort to this behaviour again. Not necessarily solely to the victim. Rather just to any potential future victims as well with whom the victim [would] share empathy and sympathy. One could regard justice as a reaction of the autonomous system (in the "greater example", called "society"), trying to correct its inhabitants/hosts, with the goal of improving the autonomous system at a whole.
>The specifications are mid-range, and so is the price: 1,699 yuan ($245; £200).

Nice it will be dirt cheap on Aliexpress then. I might order one
>The distinction between woman and girl isn't nearly as simple as age. There's a sorites paradox in trying to find a dividing point of age

Or, you know, you can use a cut-off point, like 18 or so.
Mithril
New Brexit-1 Subsea Cable to Link EU-US
I imagine some ORMs don't have this so people can do order by computed columns like "order by assets - liabilities"

To your point it probably makes sense to have an order method that verifies column names and an order_raw method that takes a string so the caller understands the risk, while protecting the usual case.
>My only problem with it is that it doesn't understand the meaning of the words it's translating.

Wouldn't that mean it was an actual full AI?
> This metaphor, coupled with the story, makes it seem as if it's "worth it" to hit a client back in front of a judge.

The point I get from that is that it was worth it to him to stand up for himself even though it was costly to do so. In both cases, just letting it go would have been the easier option, but he didn't. A little stubbornness can be a good thing.
A couple of stories about Emirates Airlines recently, do these originate in their publicity dept?
Sounds great.

By the way, in a common CRUD app with an entity having 30 fields, you basically: used a DTO, modified its data and merged in the DB row.

Are we supposed to create 30 CQRS commands for this? Like property1updated, property2updated, etc.?
I just wanted to say : they don't work for 'only' money. Company culture, career scope and other people in the team are more more important for programmers than money I think. Though some people may disagree. BTW, I have corrected the sentence, thanks.
considering it is thousands of light years off us, it's probably like before humans exists..
"JavaScript: The Good Parts" is outdated and should be no longer recommended. Even when I was first reading this book I had issues with some parts (adding methods to global classes, module pattern)

2008 revival in JS is not because of this book but from node.js, npm, jQuery and browsers becoming more capable. There where other factors like that fact that there is no alternative to JS on client side and HTML was lagging behind before HTML5. Both Java Applets an Flash become abandomware leaving no alternatives.

There is Rust, there should be stronger push towards this language. C++ is like PHP even with heroic efforts cannot be fully fixed. There is too much cruft, arcane syntax, platforms compatibility issues and finally lack module system.
Thank you for the historical information.
https://www.duolingo.com/ consistently
>A king minus a man plus a woman is a nonsense statement.

It's not supposed to be english, it's a query language.
I'm always curious how people that have no personal tax residence deal with health care insurance?
At least in Europe, many private health insurance plans for travelers have the prerequisite of being covered by the countries social security first.
Please don't use two spaces to blockquote text. It's broken on mobile. Please stick to the > convention.
Unfortunately I can't seem to find it anymore.

It was in a military facility in the seventies, and always when the general visited the computers crashed. This happened too often to be a demonstration effect, it turned out to be the metal in the generals shoes interfering with the electronics.
This C code is more like `std::unique_ptr<std::vector<T>>`, so now you might see where the extra indirection is located.
>This is nonsensical if you don't already have some existing notion of a relationship.

The engine does have an emergent notion of the relationship, which is the whole point.
Email them, ask your money back.
>That doesn't follow in any addition sense. A king minus man can just be a dead king. Or a eunuch. Or, a lonely king.

Yes, and some of those meanings can be closer to the common understanding of reality or the weight of each notion or its probability than others.

Which is also why we can solve riddles and don't get lost in their infinite similar possibilities.
From WWII to Syria, How Seed Vaults Weather Wars
As computing gets faster in general, the practical considerations should shift more towards the performance you can get out of an entire system than unit-for-unit performance.

Those days are over, unfortunately. Computing stopped getting faster in general around 2010. And that also changes the calculus around single thread performance. You can no longer count on hardware eventually to solve performance problems.
Quote:
Headquartered in Espoo, Finland, HMD Global Oy is the new home of Nokia phones and tablets. HMD designs and markets a range of smartphones and feature phones targeted at a range of consumers and price points. With a commitment to innovation and quality, HMD is the proud exclusive licensee of the Nokia brand for mobile phones and tablets. Nokia is a registered trademark of Nokia. For further information, see www.hmd.global.
Against Compromise, Or, Deciding as a Team Without Succombing to Entropy
Many names, one memory address
Do people regularly accept payment via credit card for >1000USD in contracting work?

It seems like a bad idea, whenever I invoice payment is stipulated as being by bank transfer.
Discussing Network Connectivity to Nuclear Weapon Systems
Can we have a single-purpose tool for getting the text between two delimiter strings?

I know it's possible with regex, but given how frequently that parsing logic is needed, and the difficulty of getting sed right, I think a "tb" tool would be very helpful.
Approximately 1800 light years away, therefore he is right, if it collided in our year 222AD (well within existence of humanity), then it would appear in our skies in 2022 (ish).
Isn't the point of Rust to enable easy concurrency?
If we're trying to assign meaning to words as used by humans, that's not even in the region of correct. It's not even wrong, it's on a different planet entirely.

Predicate calculus is an entirely parallel system that only has a representation in a strict subset of human language. A reverse mapping is hopeless and misguided.

I feel like this line of thought, that you can box up words with really concrete meanings that you can then reason about with logic systems is a kind of trap for people who've spent too much time in an analytic frame of the world. It's one where the smarter you are, the further down the road you can get without realising it's a dead end. At best, such a system could only augment.
Hyperstellar by Tiffany Rayside
>Consider, king + woman = queen + man. Which looks neat, but is not a universal truth. It could be concubine, for example.

That's totally fime, because actual words don't define universal truths either.

Queen could be a band, a transvestite, an actual queen, and several other things besides.
I think there is definitely a need for some work in this space.. but the fact is, there are a LOT of databases open to the wild. These are just the ones that didn't bother to set an admin password. They also didn't setup any firewall rules.

0. upload client public key
1. Setup SSH auth by cert/key
2. Move SSH to non-standard port
3. Enable passwordless sudo
4. Disable password auth
5. Setup firewall to only allow the new ssh port
6. Setup port knocking

Those are the first few things I do on a server... As locked down as I can get before doing anything else... of course, I'll also put the new ssh port and an alias in my ~/.ssh/config ...

Most cloud providers offer the option to have a "private" IP space... just having a proper firewall ufw/ipchains/iptables, etc config can go a long way towards helping lock things down.

Of course, that only goes so far when you aren't using passwords or TLS for client/server communications. But it's better than leaving the front door open with a sign saying as much.
> I really wish people would stop making comments like this.

I didn't mean to imply that Fedora isn't a first-class distribution in its own right. In this post's context, I see why it would look that way, and I apologize for it. I don't mean to belittle the work you folks are doing, and I know that the Fedora project is more than just the distro, and that the distro itself is more than just Red Hat's testbed for new features.

I don't run Fedora on any of my home computers anymore. I ran it up to Core 3, I think, having ran Red Hat Linux before. But I've always "ran into" Fedora computers as part of my work and occasionally ran it on my company-issued laptop at $work. While Red Hat's presence can account for some of your stranger choices, it cannot be the only reason behind your success (and I honestly don't think it is).

The origin of my snarky comment is that to many of us outside the Fedora community, it often feels like a lot of things are finding their way into Fedora largely because they need more ample testing. The fact that they're so active and so pushy means that most of them are from Red Hat. I have very few fond memories about dealing with very early breakage from NetworkManager, PulseAudio, systemd and so on. All of them are now successful technologies, but they were not "ready" by any responsible use of the word when they were first included or enabled by default in Fedora. Wayland is, to some degree, an exception, but only because it has already seen wide enough deployment in the embedded/infotainment area that, for once, the desktop is not the earliest adopter.

This is one of the reasons why I recommended Fedora as a development distribution (my wording probably didn't really look like a recommendation, sorry!). At $work, I already work on Linux software; I don't want to deal with more Linux craziness at home, so I tend to stay way from bleeding edge stuff. But if you do need to keep in touch with what's happening in the Linux world, Fedora is the most stable way of doing it that's also reasonably low-maintenance (the second best option, IMHO, is Gentoo).

Staying up-to-date with all these changes is very important, IMHO. For better or for worse, very important pieces of a modern Linux system, like systemd and GTK, are making a lot of breaking changes in-between releases. Running a bleeding-edge system is about the only reasonable way of becoming "passively" acquainted with them, and is a great way of weeding out the subtle bugs that they introduce.
I think it's to enable safe concurrency. The problem is they decided to let others build the primitives for concurrency, on top of the stdlib. Which means the language didn't decide between actor vs futures vs coroutine vs event loop, etc..
Database of all known websites by subject
list of all known websites alphabetically by subject
Ubuntu Phone on Pause? No New Devices, No Major Updates Planned
Having had a play with it for a side project I'm pretty excited for Elixir and Phoenix. I know there's nothing really new there, but at least for me it hits the sweet spot of performance and ease of use.

I've been using Absinthe, which allows Phoenix to act as a GraphQL endpoint and it feels like some sort of superpower compared to building REST APIs in Ruby.
in practice that's either going to use unambiguous language or it's going to need human help or verification.

The former doesn't exist in human languages (we'd otherwise have gotten rid of the lawyers long ago), and the latter is infeasible. There is a another way.
while it's still in early days, keep you eye on the tokio project https://github.com/tokio-rs/tokio which looks to be the foundation for higher level activity in this area
Re: Non-free firmware without asking the user
The best height adjustable desk I've ever had was back in 1999. It even had the extra burden of raising a 22" CRT I had at the time.

Admittedly I've not looked hard, but never saw a desk for sale as good as the ones Southwestern Bell had for everyone back then.
Take the word "soon" in your example. How many unambiguous meanings does it have?

We may be overestimating our success in communication. Heck, I'm not even sure if my understanding of soon equals yours. Is it a century, a few decades, a few years? And why is it so different from the meaning when I use it to answer when lunch will be ready?
Technologies aren't the end all of programming; there are other more fundamental skills you should learn, like learning how to work towards goals: https://codewithoutrules.com/2016/12/20/the-best-technology/
Hmm. I guess the community will eventually decide on one particular primitive, hopefully soon.
The downside is having X amount of shareholders you may not even know of over time. A decade down the line you may find yourself in difficult situations if you need to make some major changes. Especially with shares changing hands (e.g. inheritance).

I'd personally rather have few major shareholders on board who understand business and get it, than X amount random people all having their own ideas.

It does give more power to entrepreneur, as with more options you negotiate better investment deals.
Moscow or Kano – how do you prioritize?
Looks promising I'll check it out. Thanks.
I hadn't seen Absinthe before. Thanks for pointing me in that direction.
I did have a look at it. I think the initiative is great, but i don't like the idea of basing concurrency on async io primitives. I like the idea of actors or coroutine better, because it lets you code in a synchronous manner, and make concurrency block a little coarser and more manageable...

Maybe i didn't understand everything on this project though, so please correct me if i'm wrong.
There is a lot of work already done, and more to do on this topic. The best source is the main tracking issue:
https://github.com/rust-lang/rust/issues/2369