skysight-inc/HackerNews huggingface dataset:
I really support this kind of writing, I don't think this kind of stuff is written about enough, and it's exactly what everyone learns the hard way working on software projects. Skill wise, knowing the kinds of reasoning/techniques that articles like these discuss is the difference between "junior" and "senior" developers (though I very much dislike those terms).

One thing I want to point out -- if at all possible do not use decimals for money:

> We could use decimal (and we will, but no directly), but decimal is less descriptive. Besides, it can be used for representation of other things than money, and we don't want it to be mixed up. So we use custom type type [<Struct>] Money = Money of decimal .

The custom type is a great idea (try to write code in languages that make this concept easy, I suggest Haskell & type/newtype). The problem here is that decimal is the wrong type for storing money[0]. Your first IEEE754 floating point bug teaches you this, but in general trying to write code around manipulating decimals can get very messy really quickly when precision is involved in any case. Another example is JSON, JSON numerics are actually all floats under the covers, so this means if you store more precision or a bigger number than it can handle, things can get wacky if you're not careful -- this is one of the places where being "stringly typed" (and defining your own unpacking to go with your domain types) can be very helpful.

Libraries like dinero.js[1] exist because of how surprisingly hard this problem is, kind of like how moment[2] exists due to how hard dealing with time can be.

[0]: https://stackoverflow.com/questions/3730019/why-not-use-doub...

[1]: https://github.com/sarahdayan/dinero.js

[2]: https://momentjs.com
The post that I was replying to was talking exactly about fertility rates of second, third and beyond generation immigrants in Netherlands.

And what was found is that females from south-east Asia had a big drop in fertility whereas Turks continued to have large families, comparatively.

So, no, the above research specifically disproves your argument.
i recently hacked together my first simple compiler and the way i handled stuff like break/continue is that every loop pushed a "context" onto a stack, so when the compiler encounters a break/continue it just looks into the context to find the label it should jump to. could be similar
One thing that I rarely see mentioned when tree-planting is suggested is species, biodiversity, and impact of selection of trees to be planted on the environment.

1 tree is not equivalent to 1 tree of a different species.

Reports such as this one[0] hint to the impact of tree choice on things like human health, but I'm curious about the effects it has on climate in general (and sustainabiilty of tree populations: disease resistance, etc.).

[0] https://news.ycombinator.com/item?id=19835537
Paypal may, under good circumstances, fix problems they have themselves caused.

However, the concept of explaining to a customer why they did something is utterly alien to them. This just does not seem to be part of any process they have. It bewilders them to no end if you ask them for an explanation of anything.
Offtopic.

Slang for "asshole" in Spanish is "capullo" or "gilipollas". Originally, these words described a dumb,candid,innocent person, but nowadays they are used to refer to "smart assholes".

"listillo" is another word for "smart asshole" that I like. Literally, it means "little smart person". Diminutive of the word "listo" (smart)

"enterao" is yet another word for "smart asshole". It is a contraction of "enterado", a person that knows about everything.

Sorry for the interlude.

(*) By the OP standard, I am an asshole.
Intel Icelake Thunderbolt Support Not Coming Until Linux 5.4
Slums are due to insecure property rights, basically. You can't sell the land if you don't have anything approaching formal title to it, and for the same reason you aren't going to invest in high-quality housing or amenities. (Note that "property rights" need not be understood in a conventional sense! Indeed, long-term leases are far preferable to simple property in land, precisely because they do get rid of some residual uncertainty and market friction.)
> If it were meaningless, FDAs and other regulatory bodies would not even accept it during the clinical trial design review phase.

Billions in R&D goes to getting molecular entities approved by FDA that are clinically meaningless. The medical R&D is done just to get a product that provides already existing functionality or already existing treatment with a slightly modified molecule that can be patented.

It's like the joke about man who goes to patent office and says that he invented gunpowder. Patent clerk says that unfortunately gunpowder has already been invented. The man says: "But I invented more of it." Approval process is not looking if the new drug is meaningful improvement over existing drugs. "Inventing more of the same" is approved if it can be tweaked a little to be unique.

Alternative is also true. There are potentially clinical treatments and medicines that receive no approvals because there is no profit motive to push them trough the expensive process of approval.
from a japanese article i read, one of the things that caused this was executives pushing hard for a quick release of something to meet the competition... typical...

it’s getting insane here with all the stupid electronic payment services btw
The fact that it costs 50 million a year is incredible. That's less than 0.1% of what the UK government spends on interest on it's debts per year.
Psychopath are by definition assholes. They account for 1%-3% of the population. Narcissists are another category of assholes that account for 1% of the population.

There is no ambiguity these people create toxic workplace.

There is no ambiguity in a harrasment situation.
Hey everyone!

I strongly believe remote working is the future of work. I have been working as a remote co-founder for over a year now and have tackled multiple issues along the way. One of the biggest hurdles was to find the right combination of tools to help me work effectively. I was surprised how there was not a single resource which conclusively recommends top products for specific use-cases. Hence, I decided to take it upon myself and built remote.tools.

Would really love to hear your feedback on the product. Shout out if you like remote.tools :)
I'm not bothered by the price. As a freelancer, I run a business. And businesses should be held accountable for their actions and their impact on the climate. It would be hypocritical for me to complain about Shell using their corporate structure to ruin the earth while my own business is buying plane tickets for European destinations.

So I have no problem with having a little less profit at the end of the year if it means that my business operates with zero-emissions.
The devil is in the details. It will affect about a 100000 Indians [1]. However there are various tax breaks on second homes and stuff so the numbers may go down further.

[1] https://indianexpress.com/article/india/number-of-crorepatis...
Is there insurance for when banks/payment processors do odd things? If there isn't, that seems seems like an interesting business opportunity. (I personally don't think it would be much fun to sort out PayPal's misdealings and customers trying to defraud the insurance company and/or PayPal, so count me out.)
Nitpick: KLM is not the national Dutch airline (although it used to be in the twentieth century). KLM is just one brand of the Air France-KLM multinational (of which the Dutch government does own 14% of the stock).
Hooks definitely need to be deeply learned, and has one of the steeper learning curves in React. But at its core, its solving a hard problem (lifecycle side-effects), in a way that is more functional, and produces more maintainable code. Thats a fair trade-off imho. And honestly, once you understand them, the infinite loops are deterministic and understandable.

If you want a component-based view library that is written in js, and you are happy to take on the task of assembling a build-system, styling system, routing and of course state-management, I can't see much of an architectural improvement you could make over React.

If you want batteries included - go with Vue.

If you want the Ruby/spring opinion and batteries included go with Ember.

Svelte looks kinda cool. But it seems to sit deep in the browser spec, and in my NAIVE opinion, it doesn't seem hold the component abstraction as something even valuable. It just wants you to script away. Which, is just movement within a trade-off space - if it suits you go for it.
Although not impossible, the EU-US Open Skies agreement makes regulation and taxation difficult.
Stem – A Stepping Stone to a Better World
Kenya Witch President and First Family
Best Live Chat Software Solutions in (2019)
> should be the way we lead and liaise with this problem instead of `go plant more trees`.

Why should it be one or the other? Let's do both (plus many more things).

Even the authors of this study mention that "planting trees" isn't enough, even for the CO2 issue alone, since planting trees is merely a mitigation for past damage.
What about once you add local and state income taxes, and factor in other forms of taxation? Looking at National income taxes is only part of the story.
Usually it refers to a kind of meal. I think in this context it's like "punching up/down" as in taking out your frustration on superiors.
As insurance I mean for instance using accounts in such a way that they can only access limited funds.
He is upset about the reversed deposit not being notified. I thought it was pretty clear from the post.
True, but they are part of the single market.
Having recently jumped into a project with MongoDb as the database, I have realized how much easier a schema definition makes understanding the project. It's so much easier to understand a number of create table statements than it is to get that information from code.
Well you are wrong. People between 65-79 years are the least lonely cohort in Denmark. People over 85 are as lonely as the 19 to 29 year olds.[0]

[0] https://www.maryfonden.dk/da/presse-ensom-befolkning
You're not really addressing my point, which is that there's a big range of behaviors that are assholic and that some of them (as described in the article) are equally likely to be viewed as reactive to the behaviors of slack/lazy assholes (who are often smart and at least potentially good at their job).

If you think that it's always easy to identify and remove some asshole that's not doing their job, well, you're either not very experienced or you've had the good luck to only be in places with way more functional management than some of the places I've been in.
>It took almost forever to get them to figure out that I was not asking for a refund. I was asking for somebody to explain what happened, apologize, and take steps for it not to happen again.

This is not the payment processors job, this is the merchants job. Instead of PayPal you could just as well have contacted Visa/MC/Whoever or your issuing bank, they wouldn't have been able to do much for you either.

E: Yeah, I guess I misinterpreted the parent.
It’s possible they skipped any QA steps in an effort to launch before Family Mart — another convenience store that just launched its own payment app. I’m not sure QA would have helped though — their point card website would email you your plain text password until only a few years ago.
https://en.wikipedia.org/wiki/Trillion disagrees and https://en.wikipedia.org/wiki/Long_and_short_scales#Short_sc... goes into more detail.
The core problem with SOAP was that it inherited too much naive RPC mindset - a simple object access protocol encourages you to think in terms of manipulating objects, a bit like COM, DCOM, CORBA encourage you to think of manipulating remote objects via apparently-local proxies.

Latency and failure are core to network (and especially internet) RPC though, and something that presents as a method call is too leaky an abstraction. It inhibited people from structuring their network calls as batch operations (the documentation orientation palaver was an attempt to change the conversation) or treating errors in a first class way (errors in RPC are way, way more common than in-process method calls, and require much more attention) or using async calls (don't block the world due to latency, which is rarely a hard requirement locally).

All the standardization efforts as the CORBA etc. crowd piled on in and translated IDL (WSDL!), and layered authorization & authentication (rather than use existing HTTP idioms), transactions (WS-AT), etc. etc. just buried the already dying horse.
If there's an organisation in Sweden doing the same thing, I'd love to know about it. I might be inclined to volunteer there.
Yeah I think I basically agree. Being able to simply write idiomatic javascript to compose elements is just so awesome.

Though I would assume Editor support of Svelte can/is being built.
Yup, the difference is mostly in personnel cost - in a train you need to pay a staff for the whole x hours, while a plane does the same distance in a fraction of the time.
PayPal is horrible, both as a merchant and a customer. In every single way possible. From APIs to service, to explanations to everything. It's time for someone else to take their place and everyone stop using PayPal.
Does that $47m cost include the price of the land?

If the government doesn't have that much viable tree-planting space available then they either have to seize it which would make some people very unhappy, or compulsorily purchase it which would push the cost up a lot. That isn't a reason not to do it, but in order to talk about it you need to be clear about what you're actually talking about.
Definitive guide to peeling 11 of the trickiest foods
>few days later I get a mail from the selling company asking why I locked their account for fraud protection or some such

How come most of these stories seem to involve obviously incompetent merchants?
That stuff buried it, but it was a dead horse already - object RPC is the wrong mindset for internet RPC, doesn't treat latency (and thus async calls) and errors as first-class concerns.
Very weird case. The person got angry even though it was not his money to begin with. Absolutely no harm was caused to him. The person demanded explanation why an erroneous amount of money visited his account. Yet it's none of his business. There was a moment in this incident where any reasonable person would have just moved on.
That’s the whole point of preregistration. The nine unpublished trials can be assumed to be negative, or at least neutral, and were aware that they were done because of preregistration. Therefore regulators have the ability to reject the notion of the effectiveness because so few of the studies reported positive outcomes. In addition, any cancelled studies now taint the authors and sponsors with a (small) amount of suspicion that they are refusing to publish non-positive effects which, cumulatively, will cause their results to be further discounted. That will hopefully provide a strong incentive to publish neutral and negative results.
Can you name some payment processors which do care about their smaller merchants?
export FZF_COMPLETION_TRIGGER='' and you don't need <star><star> just <TAB>
The authors seem to have a background in economics, does that really fit the research topic of that paper?
Or just intercept and redirect requests to googles DNS.
In Europe there are many, many more choices for this sort of money than a Honda Fit (Jazz). A lot of them are faster than this too.
UI library for text Calligraphy animation
I've never used a proper statically typed language for web development but with Elixir can't you solve the 90% with pattern matching and guards?

For example (taken from the docs on guards):

def foo(term) when is_integer(term), do: term
def foo(term) when is_float(term), do: round(term)

If you tried to pass a string into foo at run time, no function pattern would be matched and it would blow up. The above should also give IDEs a way to potentially say "hey, when you call foo, it accepts a term and expects an int or float", and it's also very human readable to figure out what you need to provide as arguments without IDE support.

What's interesting about guards is you can also put expressions in there. Like `when foo > 3` and now suddenly you have a new type of integer that only accepts integers greater than 3, except it's not an explicit IntegerGT3 type you have defined somewhere.

In practice, how much worse is that vs a "real" statically typed language, other than putting guards on things is optional?
From the results there it is clear that they failed to game the system since the gaming was detected. Getting to the point where regulators can actively use the preregistration information is the next step, but the foundation is there.
Of course it was, look at the pictures :D

It would've been a punnier article if the subject was different... Or if the author wasn't wrong about half of the things (my subjective opinion).
Article describing this paper:

Scientists Have Finally Mapped The Entire Nervous System of a Model Organism https://www.sciencealert.com/scientists-have-mapped-out-the-...
The commenter says that people residing in some (historically poor) places get subsidized. This can definitely be a cause of density increasing beyond the optimum point. But yes, I would just phase out that system and replace it with something more sensible, such as an incomes-based safety net.
It’s even simpler: Trains are powered by taxed energy sources. Planes are powered by untaxed kerosine.
> PayPal survives because they keep end users happy, we (the people using PayPal to take payment or integrating it) aren't the end user.

I have no clue where you get that idea. PayPal was freezing end-users accounts, had a bad support and very inconsistent refund limits since forever. Almost everyone I know who heavily used it had issues with it at some point in time.

Yeah as long as you just use PayPal once a year to make some payment through your debit card it's okay, but any advanced user who use it more often will eventually get in trouble.
I fly to NL twice a year :) I fly mostly to Asia for clients. But I would do that twice a year by train if it were cheaper as that's (usually) not for business.

And yes, I agree they should add it on. I am not bothered with paying a bit more and making it more sustainable, so I try to convince clients to do more via video conferencing, but it is just not as good. I suffer from terrible tinnitus and I found that a lot of (men) suffer from that as well but don't talk about it (shame?) so in conference calls often just no-one can understand anything and politeness/shame prevents anyone (but me) from saying anything about it. Face to face that issue is just not there.

Edit: also I would Find it a better idea if the gov subsidizes the NS like they used to; you want cars of the streets and people travel less by air; make trains really really cheap. Inside NL it's often cheaper (and definitely more convenient) to take the car as well. To me that makes no sense really. I take the train usually in NL because I don't have a car there, but everyone I know just takes their car everywhere unless they live in the center of Amsterdam and travel inside Amsterdam.

Edit:

> I can understand why someone would do that, but it is affordable only because aviation is mostly untaxed and very inexpensive compared to any other transportation modes.

I understand this point that yes, that is not fair. And I understand it is not a viable model if I would just fly where I work (which I don't; I work 90% from home) and I know others do though. But the non sustainable model comes from the fact there are too many emissions which are not covered; as a consumer, why would I care, in any other way but that, about how these prices are formed? I see they are (a lot cheaper), so if I cover the emissions, they are still cheaper. So it's far better than taking the train if you look at it like that. And it does not seem to change soon either so seems quite sustainable too.
Security Vulnerability in MiniMed 508 and MiniMed Paradigm Series Insulin Pumps [pdf]
Sustainable architecture without magic and how to build it if you’re not a guru
I love the idea, but do you also get certificates?
Sadly even in the IT world many corporate companies still require us to show some formal documents that show we do indeed have the skills we claim to have.

If not, I feel it will become an feedback loop where I can only get work from the website. Because I can't show an website to an prospective employer who isn't in on the loop.

Also as an possible educator, how would I get paid? Like do you take an percentage off from the freelance work then distribute between the "required" courses or how does that play out? or do I get an cut from the course payment?

Is there also a going to be a vetting process and/or course structure and/or acceptable courses depending on what they teach?

One last thing, why separately do accounts for instructors and enrolled people? What if I want to both teach and learn?
I looked it up for tomorrow. 11:15 Amsterdam - 14:35 Paris Nord. Then 16:07 Paris Gare de Lyon - 22:44 Barcelona Sants. From Nord to Gare de Lyon you can walk, take a train or bus, depending on the weather. Have some late lunch or early dinner at a cafe and enjoy Paris for a bit. The total journey will take you 11 hours and 29 minutes.

I'm not sure about the night trains and if they are still an option. Perhaps there are some improvements possible there, yes.
> Sellers hate it

I think this is almost exclusively small, inexperienced merchants.
The last bus bit is only necessary if you absolutely must go to the Barcelona Estació de França station. The train from Toulouse stops in Barcelona Sants station.

The fastest train connection from Amsterdam Centraal to Bercelona Sants takes 11:15.

The night train option means you leave Amsterdam at 17:15, and end up in Barcelona before noon. That's not too bad, and you get to see a lot of nice scenery in the train from Amsterdam to Paris and Toulouse to Barcelona (the Paris to Toulouse being the night train).

(Edit: you can check the itinerary on sncf.fr, amongst others)
The schema applies to the generated values, but what’s the equivalent of a schema for a programming language? Types.

Jsonnet does not have a way to validate its functions without running them first.
Regulatory capture will mean that outsiders - small companies without big pharma connections - will find it difficult to get effective drugs approved.

Similarly, innovative ways of proving drug effectiveness, even if they are more efficient and accurate, will be difficult to bring into practice.
Founders Talk 67: Mastering the art of quitting
> an unsupervised method can recommend materials for functional applications several years before their discovery

It is probably hype, but if that sentence is taken literally it would be huge.

The limits on human innovation have historically been chemical/materials science related rather than a lack of imagination. Anything that allows search to be deployed on things that don't even exist would be ... well, big.
Call centers, warehouses, and distribution centers; all places where people seem to be required yet their creativity and input isn't. For a large part, we treat them like they're just meat robots.

I remember the first time I saw the computer-controlled voice-directing picking. You wear the headset. The computer tells you what to do. I see this way of working eating up more and more workers.

One economist put it this way in a recent column I read: robots aren't taking your jobs. Robots are becoming your bosses.