skysight-inc/HackerNews huggingface dataset:
> Make this function 30 lines long, take 6 arguments and then you have my original argument. It creates context sensitivity, something Golang tries not to do.

But like I said before, you're blaming unclear code on the language rather than the developer. It's an optional feature, so don't use it in inappropriate situations.

It's like the whole goto statement argument. Nobody is suggesting we all using goto's just because the feature exists. But very occasionally it does produce cleaner code. Yet you still get an army of evangelists who argue that "goto" should be stripped from every language specification written since the 80s.

I've read a lot of other people's code. Particularly the Go source code itself - there's named returns all over the place there. There are also some quite long and complicated functions too. The use of a named return has had a negligible impact on my ability to parse a function compared to any of the other inherent complexities that function exhibited. ie I followed that code just as easily than if those returns were not named.

Which is why I keep coming back to the "You're points are not wrong per se but they are greatly exaggerated." arguement. But like nearly all arguments about language semantics and syntax, developers love to argue how their personal preferences are conclusive scientific facts. Ironically spending more time trying to prove our points online than we actually spend affected by the problems we're arguing about.

So yes, you are not wrong per se. But you are greatly exaggerating the issue.
Show HN: Homing Space
Introduction to Node.js API Unit Testing with Mocha and Chai
Isolation of state and transactional, external mutation of sate demonstrate correctness in exchange for (minor) boilerplate that, frankly, only looks complicated (and never should look complex, it's trivial) until you've actually read the code.

You can build an application without functional state management. Of course you can. But, frankly, you can't demonstrate conclusively that you know it's correct or where incorrectness stems from. Which strikes me as something of a problem, and one that does violence to the verb "architect".
That reminds me of a scene from Liar's Poker, I wonder if it was the inspiration:

Remember Chernobyl? When news broke that the Soviet nuclear reactor had exploded, Alexander called. Only minutes before, yet Alexander had already bought the equivalent of two supertankers of crude oil. The focus of investor attention was on the New York Stock Exchange, he said. In particular it was on any company involved in nuclear power. The stocks of those companies were plummeting. Never mind that, he said. He had just purchased, on behalf on his clients, oil futures. Instantly in his mind less supply of nuclear power equaled more demand for oil, and he was right. His investors made a large killing.

Minutes later, Alexander called back. “Buy potatoes,” he said. “Gotta hop.” Then he hung up. Of course. A cloud of fallout would threaten European food and water supplies, including the potato crop, placing a premium on uncontaminated American substitutes. Perhaps a few folks other than potato farmers think of the price of potatoes in America minutes after the explosion of a nuclear reactor in Russia, but I have never met them.
Hi

I wrote Homing Space -- an identity, authentication, authorization system and would like to showcase here. A minimum viable product is at www.homing.space. I think it could tackle the problem of a centrally stored account registry.

In my system, when you go to a website; say https://test.simplysign.in/enter.php, you would be asked just your Homing Space Name -- the one you got as a subdomain at www.homing.space

The request goes to the Homing Space registry and then locates the localhost where your own server is running -- and you are authenticated there -- and once you agree then it goes back to the originating merchant

In short it is a distributed membership system -- where each member stores his/her own key part in the authentication process. My hope is to act as deterrent to hackers at both ends: merchants as well as users. As this is a distributed system it is difficult to get all the accounts together. Also since merchant has no input field in which a password is written, hacking through there is also dif

The client code is a bundle of open-source stuff along with my own open-source scripts (Artistic License 2.0) It can be installed on a USB/Flash drive

(And if you want to host it on your own server, that's also possible)

It also solves the problem of releasing your identity attributes (birthday, first name, last name) from your own central Homing Space (i.e you don't have to figure out where all you placed your data -- because all merchants would pick up your identity attribs from you)

It is a bit like openID I think, but I wrote this entirely from scratch in as a simple manner. I had found both openID and OAuth quite hairy to implement

You don't need an email address to join up (Hopefully the captcha will prevent too many hits) and merchants that allow homing space users as their members also can get people to enter the site without the usual email confirmation loop

You can get an account there, and test the way to "enter" a site as shown in https://test.simplysign.in/enter.php

It would be nice if I get feedback on this. There are docs and there is an FAQ

Thanks in advance!
I notice some different answers on my devices. For example on the "Are tomatoes vegetables?" question my Google Home states that they are definitely a fruit. (quoting Oxford Dictionary)

Edit: And "What's the height in meters of the Empire State Building?" gets me "381 meters, 443 meters to tip"
As was already pointed out I believe that one of the most interesting opportunities will not lie in producing the battery but on ecologically manage those already produced.
Note that you can in fact solve the exactly-once delivery problem using the model of FLP.
It is much easier than consensus, because once message receipt is acknowledged it does not has to become a common knowledge.

The only serious objection to the idea of exactly-once delivery is that in some models of computation, you can't even solve it on a single node.
It may be impossible to process a message and record the fact that this processing have been done in a single atomic step - making any node failure in-between those steps unrecoverable without reprocessing.
This is exactly the objection that was raised in referenced article "You Cannot Have Exactly-Once Delivery".
Though I don't think it is particularly illuminating observation, especially that it doesn't have anything to do with distributed nature of the system.
I tried the conversational weather one on google assistant on my phone.

"Should I take an umbrella tomorrow?"

"No..." and shows me tomorrows forecast.

"What about the day after?"

"No..." and shows a forecast that when I look more closely at I notice is for today.

Neither of these also spotted that I'm heading to another city tomorrow, which is in my calendar. If I changed it to "do I need to take an umbrella for my trip tomorrow" it just searches google and gives me a search result suggesting I take a small folding umbrella... for a trip to Thailand.
I have experimented with it. I plan to start using it going forward, as most of our users have support for it in their browser.
No your comment is anything but straightforward. In fact its grammatically incorrect to the point of being incoherent and incomprehensible. Maybe you should re-read what you wrote? It's bizarre to think that anyone would read that and think it was articulate.

Nowhere did I state that or even remotely suggest that containers give you the level of isolation that VMs would. My comment was refuting the OPs suggestion that "configuration management" was relevant to the article. Maybe you should go back and re-read the thread.
Comparison of Mapping Approaches for Distributed Cloud Applications
My initial impression was mealworm.
Another anecdotal data point: This has not been my experience at all. Its recommendations have gotten more obscure as I've liked/plussed those kind of things. It's more likely that you're encountering the limits of Spotify's library and/or algorithms rather than some nefarious payola plot. (I agree that being able to remove songs - or at least thumbs up/down similar to artist/album radio modes - would be nice)
Hi there! Here's one of the developers of Texture. Alpha 3 got delayed a bit. It's a huge release, and it will be out in a couple of days. Stay tuned!
China was making superior EV cells since around 2012. For some time, they banned export of unfinished cells and cell materials to favour makers of complete battery packs.

This is what led to EV and hybrid car makers outside of China having to use battery packs made out of consumer grade cylindrical cells for a while.

Tesla Motors guys have seem to have realized now how ridiculous was the decision to build battery packs from small cells, and announced that they will be transitioning to slightly bigger cylindrical cells for model S.

Still, current model S ships with commodity size cells. They may have decided that it does not worth effort changing to big cells when they have just got their factory running with tooling made for standard sized cells.
Open Query store – Query Store for previous versions of SQL server
The Long, Weird Half-Life of Trinitite
Real HMA VPN server locations
An Atlas for the End of the World
Isn't it somewhat like a fuse in an electric circuit?

Let's say, for example, that you had perfect overvoltage protection implemented in firmware, and could disconnect the mains quickly enough to prevent damage or a fire. But, the feature is implemented in firmware, which can be modified, so a malicious individual could disable this protection and expose you to risk of damage or fire.

By implementing an unmodifiable security feature (like a physical fuse), you minimize the risk of a malicious individual bypassing the protection or security control.
> This poster got nothing for all that work

@sp332, you've submitted 693 items to HN, and you've made thousands of comments.

What did you get for all that work?
Night clubs actually pay their DJs, bartenders, bouncers, etc. And they might comp more attractive patrons, which isn't quite the same as paying them but it's not nothing.
Ask HN: How did you create a website for your startup?
Did you use a website builder or built it from scratch? Can you please share some details?

1. Startup idea:

2. Website link:

3. How did you build it (specify a website builder / from scratch):

OPTIONAL:

4. 1-3 major requirements for the website:

5. 1-3 major disadvantages of the tool/way you built it:
[absolutely sincere question]

If you did two simultaneous recordings of a performance -- one a modern digital and the other a modern analog -- what would be the appreciable difference between the two once pressed to vinyl?

I just reflexively assume that there wouldn't be much difference at that point. Unless you're thinking of the loudness-war compression that's done to digital, but that doesn't happen to the recording until you're making the CD or something else for digital distribution.
more people are starting to appreciate that AGIish stuff is actually really, really hard.
Well they're not paying me. Why?
What's interesting to me reading this is the expectation that voice search should do things that text search currently doesn't do. If I ask Google about Bill Murray running for president, I presumably am looking for articles that mention the words "Bill", "Murray", and "President". I would expect to return articles that best match the query, and I would never expect Google to be able to tell me the difference between real and fake articles. For a server to answer the author's question it has to understand the question so well it can change the question into "What is the list of people that have run for U.S. president?" and then check if Bill Murray is in that list. That's a tall order.

We are moving past expecting the most word matches into expecting the server to understand what we really want. Voice search is more like the "I'm feeling lucky" button, because it takes longer; you only have time for one answer and the first answer has to be right. It comes without the expectation that you're lucky if the answer happens to be right, now we need the first result to be the rightest result there is.

So the glass is half empty. I personally prefer to see it half-full, but it's also true and the critique is more valuable and interesting than optimism.
Depends on if the tester actually knows what they're doing. https://blog.kissmetrics.com/your-ab-tests-are-illusory/
As much as I dislike facebook. The reasoning that they can pay means they should is almost defining corruption, and an easy way for a govt to get money.

The problem is not one of morals, as I doubt fb wants this type off content at all.

I think it's possibly unreasonable. It's fb vs the world quite literally. It's the nature off it's design.

What's next? Police gets fined if they can't catch a criminal within a week?

What about a fireman getting fined if he can't put out a fire within 20 minutes.

All these things share an uncontrollable and unpredictable situation.

You can't ignore the complex design off millions off people streaming millions of text inputs daily and checking it all 100%. That's monkey reasoning, black and white thinking fallacies.

Fb should give insight and show how they battle it, but imo it's childish to randomly give 24 hours. At least come with an argument or 'standard' if u will (ie. 1 content checker person per 1k posts or w/e).
Will this ever end? How deep must the stack go? God, I give it 10 seconds for someone to pop out the woodwork and say "Why don't just use NGRX 'cute name'? Here's a link to GitHub"
I personally voluntarily allow tracking through Last.fm scrobbling, which lets you see aggregated data about what you listen to.
Nice work !
Plus, the EFF has limited resources and litigation would be time consuming. As long as they can fight back against the big companies by writing a letter, they can litigate for clients who face other companies who won't back down so quickly.
India ready for GST rollout, experts weigh in on challenges, effects
Anecdote: Got taught an Introductory AI course by the gentleman at Uni.
The History of Programming: A Quick Timeline
Great read. The indiehackers site is full of interesting interviews and stories, well worth all of them as there is always something to learn.
> extreme weather patterns cause Y billion dollars of damage

We have no idea what global warming related Y is yet, so we can't give him that number.

But Pruitt isn't someone who is going to listen to reason anyway, he is paid to protect the fossil fuel industry.
Will this ever end? How deep must the stack go? God, I give it 10 seconds for someone to pop out of the woodwork and say "Why don't you just use NGRX v3 'cute name'? Here's a link to my 10 star GitHub"
Because it is securing the CPU from us, users.

It's sad that devices that we are losing control over devices that we are purchasing. It's not just CPUs, phones even cars :/
65K
9yrs
San Francisco
I started collecting vinyl back in 2006, when my uncle passed and left me a turntable and a small collection. I grew up with Napster, CD-Rs, iTunes, and iPods.

I've always seen my generations attraction to vinyl as a response to the ephemeral nature of digital music. Vinyl is orders of magnitude less convenient, but it is concrete. When I spend my $5-30 dollars, I own a physical good that I can manipulate. I think this also answers the question "Why vinyl?" - it is the most physical of all music mediums.

I think that is a strong psychological component for humans. This has only grown with subscription services, where I spend $10 every month, and don't even have a library to browse.

I've never really cared about vinyl's sound, and actually listen mostly to digital records. But as far as giving a sense of ownership and intimacy, vinyl wins.
The Project Manager’s Guide to the Perfect Kickoff Meeting
How to Market a Blog Post: A Step-By-Step 25 Step Guide
The default rule for what happens w/o a contract is different for each state. But many states say that a work, created during employment, that is within the scope of your work and on company time is company property. Note, this doesn't apply to contractors.

I can't think of a state where a program you create to automate your job, that you wrote on company time, wouldn't be the companies property. Of course an employment contract can easily modify the general rule.

For contractors the rule is the opposite. They retain IP by default.
Ex-FCC chair: Title II is crucial for net neutrality and consumer protection
As an alternate anecdote, I have had far more issues with MQ connections than with RDBMS connections. I don't think there is a clear advantage to messaging from that standpoint.
Content metrics for content marketing and journalism
In the video, Al Franken pointed out that the Koch brothers had funded a "red team" of climate skeptics - and the skeptics (or at least one of them) became believers and stated as much. Oh snap!
Land-Use Restrictions Hurt Productivity, Ease Inequality
Interested in further thought here.
That's similar to how The Chase[1] works, except contestants go head to head with a professional quiz master instead of a digital assistant.

[1] https://en.wikipedia.org/wiki/The_Chase_(UK_game_show)
I do, its pretty great
Show HN; (untwisted) a powerful event-driven framework in python
Ask HN: Why does HN's minimalist design work?
I had always thought that HN was too plain, but with almost of 2 years reading it daily I think that it's perfectly designed to come back everyday. Do they ever had UX design sessions for creating this or was unplanned?
Getting Started with Microservices, Part 2: Containers and Microservices
I hadn't heard of skip locked before, and very much enjoyed this article walking through it for postgres: https://blog.2ndquadrant.com/what-is-select-skip-locked-for-...
It's not a given at all. All of your abstractions break. These high-level abstractions break much, much more often than lower-level abstractions (because they try to encompass more, it's a surface-area thing). There are abstractions that are so fundamental to doing your job that you must, must must must, understand them at an implementation detail and then use them to improve productivity.

The stump-dumb-simple routing layer of your JavaScript handwavey crap is one that You Really Just Gotta Know; it's literally central to everything you do in a SPA. And yet the overwhelming majority of AngularJS folks I have ever met--and, to their discredit, way too many keypuncher ReactJS folks, but a significantly smaller proportion--have no idea what to do if their web framework spits the bit. And my contention is that having to make choices means the likelihood of a baseline understanding of what chose choices mean is way higher.

There are plenty of capable developers who work on and choose to use AngularJS. I've worked with great ones. But, like the other environments I mentioned before, it sure seems like they brought that capability to AngularJS rather than had that capability fostered by AngularJS in a pedagogical manner. And that's troubling to me, because these folks are going to be writing software that you and I depend on, too. I'm not hanging people for not being able to work meaningfully with the JavaScript runtime or understand how the browser works internally (though these are handy to know, most of my knowledge of JavaScript comes indirectly from embedding first SpiderMonkey and then V8 in a game engine once) or how their OS handles process segmentation to sandbox off their web runtime environment (not a super complicated topic but, sure, out of scope) or how their OS handles memory (this one, ditto) or or or--I'm saying you gotta understand the thing your hands are on all the time and that tools that attempt to swaddle you in a nice comforting "you don't need to worry about that" are gonna put you in a real rough place when that doesn't hold.
You may already be aware of it but dicompyler is a nice dicom viewer built in python and it's quite easy to build plugins for it.
In most cases, flying a plane yourself will result in more negative damage than having a trained pilot fly you.
Beware the Moral Spotlight
Or they just talk less about what they actually consume.
> But like I said before, you're blaming unclear code on the language rather than the developer. It's an optional feature, so don't use it in inappropriate situations.

There's a 30 line function claimed to be a refactor of production code in the article we are discussing. It's not my whole cloth example. Heck, my first post was commenting on the structure of that very function hoping it was a defactoring example. People have chosen to focus on the other point in that post.

> So yes, you are not wrong per se. But you are greatly exaggerating the issue.

I understand what you're trying to do but I'm pointing to the overarching article. I didn't make this scenario up.

Also, the personal context I bring here is how many lectures I get from anti-haskell-pro-Go people lecturing me about simplicity, obviousness, etc ad nauseum about why I should adopt their language. So if you're detecting a bit of frustration here at a double standard, I do apologize.
But we're not keeping them out of poverty. Facebook has a homeless encampment directly across the street. https://www.theguardian.com/us-news/2017/mar/31/facebook-cam... Are you in favor of any kind of equality?
Digital waveforms are not stair-steps https://www.youtube.com/watch?v=cIQ9IXSUzuM
It's interesting that while many fails, there is still one that wins. That is if you combine the efforts of these 4 digital assistants, you'll get a much smarter one. Do they have an API? Can you query siri, cortana, etc..?
> If ACC doesn't exist, the academic lobby will fight for their prestige ang grants

It would be better for "the academic lobby" to peddle the idea that climate science is unsettled, which would create more of a need for grants to study the issue.
I take your point, but I'm not really talking global warming here. I'm just going with the stuff everyone can see right now. Rising sea levels, drought, hurricanes, etc. The idea being that you get Pruitt to respond without having to invoke the buzzwords that shut everything down.
There is no "stair-stepping" in digital recordings.

The sample-rate of a CD exceeds the effective resolution of even the best vinyl pressing. Furthermore, the Nyquist limit guarantees that it is impossible to perceive the sample rate of a CD, and even with a bit-depth of 16, you have 50% more dynamic range than vinyl is capable of.

Add to that the fact that a master is generally 96Khz, 24-bit.
It seems like the only points where the businessman excelled were things external to the city, i.e. where negotiating with other entities, which makes sense.

I think the difference is that other parties approach a city as a business would, in an adversarial way; not necessarily in conflict, but with the clear knowledge that they are on opposing sides of a negotiation and neither is going to leave that table 100% happy. It's different when the Mayor is dealing with his City Council: they have to work and live together, and arguably should be working to the same goal; improving the city and making sure the City wins, not the Mayor or the Council.

I think that's where the business politicians routinely stumble; they're used to being purely in a win/lose environment, where very interaction is inherently a "I'm going to screw someone or get screwed" situation, whereas a lot of politics really shouldn't be about that. The whole point of Civil Service is working for the benefit of the community, not yourself or your particular department.

I also think this is why politicians suck at negotiating, because it's the opposite of what they're used to.

In short, as with most things, the Truth is somewhere in the middle.
Well you have your choice. You're choosing now.