skysight-inc/HackerNews huggingface dataset:
Interesting question. Maybe you should educate your supervisors about the value of testing. Obviously, code without tests has little value if this code needs to be extended and maintained. Also, writing tests helps you in defining better API's, so it is not so clear what hours should be called developing hours and what testing hours. Maybe the question should have been: "what are optimal procedures regarding the writing and running of tests". You could also put too much effort in testing or have suboptimal roles in de the devops team.
Interesting point. I have stuck with the same stack for about 6 years so maybe this is why I find it easy to get jobs?

As for remote work, the majority of the jobs I've had have been either fully remote or partial - like between 1-3 days a week in the office, the rest from home. Never found any difference when applying to remote jobs myself.
https://en.wikipedia.org/wiki/Strategy_pattern
Markdown Documentation Generator – CGX CLI
>several of the examples are useless (such as HList)

I tried to use a similar (though more streamlined) Vinyl [1] for implementing database querying that glued and sliced records to match the queries, but alas, GHC choked and died on the type-level list operations. That was several years ago though and I didn't touch Haskell since then, maybe something has changed.

[1] https://hackage.haskell.org/package/vinyl
Again, I'm not pitting this against all other options, I'm pitting this against bank deposits specifically and in principle.

My point is that bank deposits aren't as safe as people like to believe they are, at least beyond what is insured.

In a systemic crisis, chances are the government will just print whatever money needs to exist and bonds too will take a hit as a result. Plus, whatever happens in the US will impact the whole world. You can't realistically hedge against this with any currency/bond.
Clojure is incredibly popular, and there are probably lots of people that are interested in learning Clojure but scared away by the JVM ecosystem.
”It’s impossible for a client to call the wrong function; there’s only one way of doing things.

my_algorithm = MyAlgorithmClass()
results = my_algorithm.run()

“

Only one? That API opens the door for

my_algorithm = MyAlgorithmClass()
results = my_algorithm.run()
more_results = algorithm.run()

, which, hopefully, resets exactly the right amount of state to work just fine.

There’s also the ‘fun’ of sharing an ‘algorithm’ between threads. That will teach you that this ‘algorithm’ is more a set combining function arguments with function state, and a method that uses them to compute a result. Next, if you’re smart, you’ll separate the arguments from the state.

⇒ if you do something like this, use that builder pattern.
Thought this article was interesting in the context of the replication crisis and issues with peer reviewed journals.

Books from experts tend to carry a lot of authority but fact checking is not something that most publishers do.
> 1) the primary object of his invasion was to plunder India's wealth. India, at that time, was known for its wealth, particularly its gold and precious diamonds.

https://en.wikipedia.org/wiki/Indian_campaign_of_Ahmad_Shah_...
Yeah, but it's a lot cheaper. Japanese banks are happy to take more than Sundays off anyway - some of them don't have 24/7 ATMs.
After also reading the discussion in '17. How come this is trivially easy to make, very cheap and still we have a massive stolen car problem in Europe? Some cars in my country have >1% chance of getting stolen in a given year. The incentives must be off somewhere? This is a device that could only be triggered after theft, thus hardly any privacy concerns, and still give quite a good location (perhaps improved with glonass and other sattelites). They can't be found easily (so small, only transmissions after stealing) and placed on any given wire in the car. Seems only beatable by placing the car in a cage after theft.
Mozilla can still give access for the developers of forks without opening it to the public before they (and the forks!) have managed to rollout a full update.
HLists actually aren't _useless_ in practice. I know I've used shapeless to do some datatype-generic programming with them (deriving CSV rows from a case class without reflection.)

Heterogenous unions are very similar and also extremely useful (multiple effects libraries build on top of them).
I think he meant that unit tests were not added for the scenario detailed.
There are almost 8 billion people in the world. I think 17,000 people is a small number. And geeks are going to geek and nothing geekier than checking Microsoft Calculator, a simple project that everyone can relate to.
>the people most keen to promote him to the general public are those who want any excuse to deny climate-change

Correct me if I am wrong here, but as far as I understand, his argument is that climate change is happening, it is too late to stop the initial effects, and not all the tech to decarbonise the economy is available at the scale required yet. Added to this, his view is that pretty much all the current increase in financial costs of weather disasters can be put down to the massive increase in concentrations of populations and wealth from urbanisation, and this effect has been on a scale such that that even if there has been an increase in seriousness or frequency of the disasters themselves, that effect is currently minor in comparison, at least in terms of raw financial cost, when compared with the effects from societal changes. From here, he recommends that if our focus is just kept on preventing climate change, we will cause a lot more problems than if we widen the scope of our focus towards policies of adaptation, as that is what will be required in the short to medium term while we are waiting on decarbonised technology to scale globally.

Now whether you agree with it, much of this I think seems like a perfectly reasonable and nuanced position to take, however I will note that people who have decided to jump into bed with him for political expediency may be in for quite a shock, given that any policies of adaptation are almost certainly going to have to include policies of mass migration and the level of international cooperation required to manage this will all but do away with current notions of national sovereignty. I really hope for their sakes, that they aren't big fans of the Westphalian orthodoxy.
And if you don't have money, you cannot access the commissary nor even make a simple phone call.

Anybody on the outside can contribute to your commissary account... Presumably, the one with whom you plan to converse.
At first I was sympathetic to his point. But then I realized that this is a classic case of picking the metric to push your agenda.
What matters is that climate change is causing more severe weather and that weather is causing increasingly more damage and that this whole problem is severe enough to be a national security issue (indeed an international one).
It is completely beyond the point that poor people have simultaneously been pushed into areas more prone to weather damage. A sensible person would think that is even more of a reason to combat climate change.
A propagandist will twist it to somehow argue that climate change advocacy is "alarmist" and continue ignoring the issue while the real and potential costs keep rising exponentially the more we wait.
Is this a question or a very short read?
>who is holding cryptocurrency for 10 years[

zuckcoin isn't cryptocurrency, it's digital currency, like gold in WoW
Because approximate durations suffice for casual conversation. When you are talking about the exact date (as computers do) you need something more accurate.
> There are also numerous questions about whether the energy, real estate and business communities can adapt by 2050, and how much it would cost to do so. Business groups in the state had derided the bill as impractical and potentially disastrous for companies forced to move to green energy sources.

If you are old enough to remember what the economy looked like 30 years ago, in 1989, think about how much it has transformed since then. Quite impressive, isn't it. If "business communities" and "business groups" think they can't adapt by 2050 (30 years from now) they show the complete lack of imagination. Sigh.
OK, it wasn't meant to be a "personal" attack. Only to suggest that it looked to me more than a marketing intro than anything else.

I will shut up from now on, and only use HN as a reader.
This accelerates gentrification I am not sure whether this is desirable.
I sometimes feel that if Amiericans traveled more around the world it would help to eradicate false beliefs like these.
Does this mean Faceberg will finally get regulated as a payment processor?
Email Database Provider
that sounds highly unethical. none of those people agreed to go on the trip
Which is illegal in Germany.
He deliberately did not account for the reduction of costs that is due to better engineering practices. Accounting for those, there's a noticable increase in costs.

https://skepticalscience.com/print.php?r=462
lastpass has a lot of import / export options as far as I remember, so that might be a good place to start... but once you get them imported you should be able to export them to another service easily enough.

ive moved to bitwarden a few months ago and it is far superior and a lot less bloated than lastpass.
What's a good RF detector to get? This post ends with the author pointing out that the implant can be detected with a cheap RF detector. I'm interested in getting myself an RF detector to play with but I'm overwhelmed by what I see on Amazon.
The draft policy is titled, "Banning of Cryptocurrency and Regulation of Official Digital Currency Bill 2019".

Anything which is not official digital currency will be liable for action.
No, he did the analysis on actual weather events, including hurricanes, drought, tornadoes, etc and came up with no evidence of increased extremes in the past 50 years compared to the 50 years prior.
That's good to know, and annoying, but also a little confusing.

The page you linked indicates that a bot will comment on the PR. I am looking at https://github.com/microsoft/calculator/pull/553, but I do not see any bot-generated comments, other than the "All CLA requirements met." status line you mentioned; and I do not see a "cla-signed" or a "cla-not-required" tag on the PR.

Still annoying, regardless.
Ask HN: Legitimate business ideas on top of Libra Coin
I'm curious as to A. what type of early businesses could thrive on top of libra. B. Why they'd thrive on libra vs other crypto-currencies.

So far as I see it, it's just 'another' way to pay, nothing special for innovators. It'll give more adoption to non-techies for altcoins, but is there any specific 'tech' in the white-paper that stands out to benefit innovators and offer greater opportunity over other altcoins?

I think if the coin were successful, and took off then sure early innovators would reap rewards/benefits, but I'm having a hard time thinking of what kind of businesses those would be off-hand.
Yes, Steam Greenlight (whatever it's called these days) is a cute idea, but for every gem like the games you mention, there are hundreds if not thousands of crap, minimal effort "games", many of them in a barely working state, which are released there just to make a quick buck or two, either via direct sales, or via the Steam card sales.
What a timely article on HN for me as I am reading through the Remembrance of Earth's Past Trilogy right now... certainly not the best sci-fi works I've ever read but some of the ideas are intriguing.
Why is this considered a threat to banks or credit card companies? Don't you still have to convert to your local currency at some point?

I think that's why you see credit card companies on this thing. Best case seems that it increases their transaction from what I see.
So the wallet software will enforce the sanctions?

If somebody writes an open-source wallet they can circumvent the rules?

I don't get it.
This really hits home to me. I worked on a project where I encountered an almost identical situation to the one you described. I stuck my foot down, and insisted we build the objectively better solution. We did, and only much later did I realise the damage I had done to my coworker's morale.

Looking back, I completely regret it. If I had my time again, I would stop after explaining the alternate solution. The time we would have had to spend fixing the problems with the original approach would have been worth it.

I've heard this repeated a lot, but I'm really only just starting to understand: Often the best leaders speak up less, rather than more.
Well I am not a libertarian myself but as far as I understood people pushing for UBI are also pushing for a drastically smaller administration which is currently administering social benefits. This would be achieved by basically eliminating most other form of benefits, similar to how they propose to hand out vouchers for services like education instead of operating schools.
The boys club aspect I think is very important, and I think this aspect of tech culture might get some attention, but for thet most part is dismissed.
> Visa and Mastercard are taking a 3-4% cut of every single consumer payment made in much of the world. That ends up being a very, very big number.

I'm guessing some of that goes towards chargebacks and other protections in the form of reimbursing purchases from stolen credit cards. It would be tough for me to trust any online replacement without a very firm and reliable appeals system.
فروش ویلای نوساز 600 متری در شهرک برند خزرشهر جنوبی 09301301018
Another reason might be the "cultural" aspects of Clojure, and their impacts on its ecosystem - in particular simplicity and stability are paramount, whereas the Elixir ecosystem seems to put more emphasis on immediate ease of use and elegance à la Ruby, at the cost of doing some "magical" designs which you tend to not see in the Clojure ecosystem.
My argument was that all modern, technologically advanced civilizations will face these exact issues, so there is no point in calling those factors "cultural", because cultural facts are meant to distinguish between cultures.

I'm sure an alien species or a computer simulation having a few of the same basic drives as humans do (sex is very pleasurable, contraception exists, raising educated children is extremely expensive and hard, state provides pensions in old age, people are free to have or not to have children, child mortality is low, work provides money, money satisfies needs, quality work is abundant only in high density cities and a coupe of others) will arrive at same fertility problem we have arriven at.

My second point was that there is nothing we can reasonably do without a major overhaul of human traits or shutting down the technological advanced world we live in.
Go1.13 release improves performance of most uses of defer by 30%
Imo, the second book was exceptional and as a standalone, one of the best sci-fi books of the past decade.
No, this patch has no unit test.
BEAM is a wonderful VM, but calling it "optimized" for anything is problematic. It has focused on certain use cases, but it's seen less than 1% of the investment in the JDK, so I guess it's better to call it "specialized". While it works well enough for many things, its performance is like the JVM limping on both legs after a terrible car accident and a bad case of pneumonia while trying to walk on an icy road. You are correct, though, that it probably performs better than a general-purpose platform with a similar level of investment.
I’ve yet to travel to a country of 330 million people or more with flawless public healthcare. Perhaps you could point me to one?
There's nothing on a jump bike that can lock the rear wheel while in motion. The motor is in the front, and the brakes are operated by hand.

I have ate it on one while crossing train tracks while at max power, as that combination of circumstances can cause the front wheel to break traction, since there isn't traction control (yet).
If only we knew!
It is possible to do string interpolation in Rust with a macro:

https://docs.rs/interpolate/0.2.3/interpolate/
It's generally safer to use torsocks, because it routes DNS queries via Tor. As oil25 notes, using the ProxyCommand option doesn't. However, it's possible that torsocks in 2013 didn't reliably block DNS leaks.

In any case, Whonix was available in 2013, and using it would have -- and does -- prevent DNS leaks.
What about things like LIGO? It can detect changes in length corresponding to 1/10,000th the width of a proton. Surely communicating over RF with another planet should be within our reach, no?
PCIe Bandwidth to Be Doubled Again: PCIe 6.0 Announced, Spec to Land in 2021
Anyone can run a fork though, I right now might be running my personal fork. This is part of the point of free software.

Plus, you assume that the select few developers that are given the exploit information are trustworthy. The exploit being public from the first day is better than if even a single developer is untrustworthy or compromised.
Microstrategy sells Voice.com domain name to Block.one for $30M
> The article says that employees are least likely to answer questions about gender or sexual orientation

In France (where I live), that kind of question would be illegal. There's quite a clear separation between personal life and professional life: whatever you do outside work is your only business, and nobody will matter (and shouldn't, as it would be illegal).

In a way, in France, the accepted policy is like the "Don't ask, don't tell" policy that was (still is?) the US Army policy if I remember.

Of course it might be only a cultural difference
Wootz steel
It also nails the feet of the people who live there to the floor, because they know they can't get such a deal again if they move.

This is economically and environmentally inefficient, because it traps people in less desirable jobs due to proximity, and prevents them from moving closer to work.
You may be confusing Apex Legends (published by EA, made by the same people who did Titanfall) which is a rival to Fortnite & PUBG, and Anthem (published by EA, made by Bioware) which is a rival to Destiny.
Mission One environmental monitoring results available
It's so strange - the promise of the "information super-highway" in the 90s was that proximity wouldn't matter as much. But if anything it matters more, since every minute spent idle (e.g. travelling to meet someone) has a higher associated cost due to the opportunity cost of lost productivity. So we tend to clump and cluster.
Also if one looks at MCL's Fred (-> Fred resembles Emacs deliberately), that was nicely programmable and also possible to use as dialog items in GUIs. For CL applications I vastly prefer such a flexible model (object-oriented architecture, editor windows with an optimized Emacs-like command set, reuse as components in GUIs, ...), instead of a large monolithic editor, which then needs to be used as an external program...
This is such a good post. One of the best posts that I\'ve read in my whole life. I am so happy that you chose this day to give me this. Please, continue to give me such valuable posts. Cheers!

https://www.gangboard.com/app-programming-scripting/react-js...
Street sweepers about the same width as a ride on lawn mower exist, they can easily get down separated lanes: https://duckduckgo.com/?q=mini+street+sweepers&iax=images&ia...
The fees on Visa/MasterCard in the EU are capped at 0.2% for debit cards, 0.3% for credit cards.

American Express (and all the other schemes where the issuer is also the acquirer, i.e. Diners Club) aren’t capped.

The 0.3% cap however did kill Amex’s licensing model where they let other banks around Europe issue their cards, so they simply withdrew from those, as 0.3% is not enough to pay for the rewards.

Note that this is just interchange. Payment processors still charge merchants whatever they damn please.
Well there's only two other countries with more than 330 million people so that's a bit of a poor argument to make, and it assumes that the well-functioning systems in (most, if not all) other western countries won't scale - I'm not entirely sure where such an assumption comes from.

Probably a refusal to imagine it as a possibility in the first place, I suppose.
Internet Domain Name Explained
On the other hand, this little submarine is now more famous than their fancy ship. It has a nice twist to the story, where the public was partly ignored, but in the end still has the upper hand.

If this was news about that other ship (who's name I can't remember anyway ;), it wouldn't have made it onto HN.
It is important to also understand what causes the issue, how it was exploited, etc. Plus I am pretty sure that they had the bug report before the fix was released.
A lot of credit for movement on this issue should go to Vox. They have invested time and money into a data-driven investigation of this issue: https://www.vox.com/2018/2/27/16936638/er-bills-emergency-ro...

It's a good example of the role that a vibrant press plays in a democracy, and it might warrant considering adding vox.com and similar outlets to your ad blocker's whitelist.
I think call of duty in many ways makes sense when viewed as a singleplayer game (which in recent years it hasn't been). When I buy it, I am not looking for "innovative gameplay, etc". I am instead looking for the gaming equivalent of a Movie. I typically like the story, and with around 6 to 8 hours of gameplay this works out to around 4 movies which is coincentally about the same price when viewed in terms of tickets.
That's a good thing for Facebook then - most normal consumers haven't the foggiest idea about crypto.

Most consumers will care about, in this order, 1. Is my money at risk if I use it? 2. What's the cost?

Whether it's federated, decentralized or 'real crypto' is 98, 99 and 100 on most people's list of concerns.
Cyware Situational Awareness Platform (CSAP) – Cyware
Because it working in smaller countries means it could never work in a large one?

But, why not? How is population size relevant?
> In fact, getting a steep hospital bill is something more Americans say is their biggest financial fear.

This is a pretty bad thing. I can't imagine being sick and afraid of going to ER because there is a possibility of getting bankrupted.
> Before online gaming, games were required to deliver a 1.0 and had no further chance to patch or improve it. They would do so in silence — like Nintendo does — and essentially work for years on things that no one even knew existed until they released their 1.0 gold master and began producing marketing material from it.

There was some pre-release publicity for many games in development before online gaming. Peter Molyneux was working the press with his famous enthusiasm before 1990: https://www.youtube.com/watch?v=DAuvaAGnqQw . Maybe Rise of the Robots was the first real debacle of pre-release hype, but it was probably as bad as anything since: https://www.youtube.com/watch?v=E4udiQq5gpY .
This is a triumph of emotion over good law.
AKA "Nothing is more permanent than a temporary solution."

I think that cuts both ways - often the quick fix is good enough, while the "proper fix" is over-engineered and in promising to be all things to all people, anything missed becomes a sticking point and sinks the project.
I understand your pain, but I want to ask: did you put much effort into marketing it after publishing? A lot of writers put 99% of their effort into writing, and by the time they've finished the book they're out of energy to pursue the marketing aspect. This is compounded by the fact that talented writers are not necessarily good at the marketing side of things.

The key is to persist with marketing until it either succeeds, or you've got clear evidence that most readers don't like it enough. If you're not good at marketing, find people who are.

Sometimes, the key to success, especially if you've got a quality product, is to persist after most people would have thrown in the towel.
SubAir Could Be a Solution to the Wet Outfields of the Cricket World Cup