skysight-inc/HackerNews huggingface dataset:
> steer you towards organizing your code into classes which operate in certain ways

But that’s the point. The way in which classes operate in JS is different from the way classes operate in OOP focused languages like C++, Java and C#. That’s because the language doesn’t have classes, but rather syntax to make it look like it does. On the surface your code will be organized in similar ways but the underlying behavior is different.
Ask HN: How to pay devs evenly on product?
Hi I am making a new agency for developing a portfolio of niche saas products.
My ideal is to split all profits accordingly:

50% goes to buying (read: freeing) up forrest land.

50% is split between all devs on the individual products.

My questions are (and here only regarding the 50% not going to forrests)

1. How to split the profit amongst devs in a fair way?

1.a. Should it reflect their level of contribution?

1.a. Should it be for life? Contribute once, get paid forever

2. Do anybody know if this sort of scheme is applied elsewhere?

My goal is to make products that contribute to wellbeing both in environment and on the human level with open transparent products. Goal is not initially to create a living foundation for anyone but instead to create a secondary pay (i'm interested in keeping my dayjob :-)

All code is aimed at being opensource
Sigh... I hate this type of content. This is just trying to use an archaic term for something which is basically a symptom of a current mental health pandemic (depression). I feel the same vibe as with borrowed concepts like Hygge or other crap with the only purpose of selling something or driving traffic. Pseudo-scientific bullshit is what it is, half-baked superficial advice with a protestant work ethic and self-sufficiency tone. Hey, we found a subtle difference between some terms so here's some free subpar mental health advice from an anonymous unqualified internet entity. Pls like and share. Cheap self-help porn targeted at overachievers.

> The term ‘ennui’ is often used interchangeably with ‘boredom’. However, various distinctions have been drawn between these two terms, and in general, the main difference between boredom and ennui is that ‘boredom’ refers to a mental state that is short-tern and driven primarily by situational and environmental factors, while ‘ennui’ refers to a mental state that is chronic and driven primarily by dispositional (personality-based) factors.

so... chronic boredom?

Shit, just talk to a professional, don't read online articles about how to deal with your mental health challenges. Just reach out and ask for help. The stakes are too high. If you feel chronically bored, you're most likely heading towards burnout or you're depressed but not realizing it yet. The tone of the article is very shallow wrt to depression. It more nuanced than ' it’s possible for someone to suffer from depression but not ennui, as in the case of someone who experiences deep chronic sadness and lack of energy, but not the existential boredom that characterizes ennui'.
What about evidence that the Jews created and disseminated Covid-19? Should I be able to present that evidence even though it's flawed and full of incorrect data?

Youtube owns the platform, we allowed it to become the largest and most powerful platform but there are others out there. Youtube (and google, and bing) have no reason to have to host misleading, wrong, or hurtful opinions/websites.
Google Meet will soon be free for anyone with a Gmail account
Nelder Mead is sometimes effective, and it is pretty to visualize, but it gets stuck in some trivial cases. It can fail to find the bottom of a low dimensional parabola, for instance. CMA-ES is worth looking at, and has a similar idea but a more robust algorithm. It's basically a cloud of points with some momentum:

https://en.wikipedia.org/wiki/CMA-ES
The next step to investigate here is line search.
The sovereign citizen types are going to make hay with this one.
Only 52% of americans own any stock whatsoever [0], and the richest 10% of americans own 84% of all stock.

[0] https://news.gallup.com/poll/190883/half-americans-own-stock...

[1] https://www.nber.org/papers/w24085
What if most of TypeScript is embedded into the next version of JavaScript, as happened with Coffeescript?
If you are just wanting to share the secret once (not persistently) this works really well:
https://onetimesecret.com/

You can use the public version or host yourself.
That's only because 99% of jokes aren't as good as people thought they were when they pushed the submit button.

HN has a great sense of humor. I know this of course because my jokes have been upvoted.
Also: "Lyft's other cost-cutting measures include furloughing 288 employees and base pay reductions of 30% for executive leadership, 20% for VPs, and 10% for all other exempt employees. Board directors will give up 30% of their cash compensation during Q2."
Here's a PR aiming for that, for what it's worth. https://github.com/sametmax/0bin/pull/128
magic-wormhole was our standard answer to this problem.
One view is that the difference between a service and a microservice is that a microservice can be sketched between being a local library or wrapped in an RPC server.
What bothers me is that they provide a single line to enter your information instead of the same form they have on your tax return.

For probably good reasons they won't tell you if your input information is valid, if you intentionally put in a bad address it will tell you "payment status unavailable."

It's annoying because I don't know if my issues are because of my tax status or my input information. A form would help with that. Particularly because my street has ambiguous naming and I don't know if it's what the street sign says, what the USPS prefers, or what is written on my tax return.
> try your luck with removing [...]

Sure, I could. But refer to my comments in that post:

> I'll uninstall these sorts of things, unless there's any resistance at all [...] in which case I tend to immediately write it off as not worth the effort

My comment was not a StackOverflow-style cry for help. It was only meant to provide some data points in response to the person who asked, 'What are "useless packages"' and an alternative to the other person who dismissed the reference to "useless packages" on the basis that they "were made and included because lots people want them".

EDIT: Thanks for the detailed response, anyway. Since you've written it here, it might be indexed and become useful to someone who is trying to get to the bottom of things—and who maybe otherwise wouldn't have ever found out how to deal with this—and now they can.
I'm so sorry you experienced this. I have had the same reactions from people, and the actions you mentioned people take in the first paragraph has been especially hurtful. In addition to whatever you're trying to heal yourself of, you get start to feel broken, as you said. This discourages people even more from seeking help, and people in this mental state need to ask for help, because mental health conditions limit your brain from really thinking straight on how to get the best help.

In regards to your comment about men's suicide rate--this is horrible and believed to be the result of men socially being discouraged by other men from discussing suicide or deep emotional issues (not to blame other men--their response, even though they need to take responsibility for it, is likely shaped by the cultural standards we put on men and women).

The belief, btw, comes from the fact that women actually have a much higher rate of depression than men do, but a much lower suicide rate. Idk if a study was done, but the theory is it's more accepted and expected in strong female friendships to share deep emotional struggles and expect support than it is in strong male friendships.
Though it doesn't work for D, it could work for the documentation of D (what is being discussed), in some usefully hand-wavy way.

If I'm working in a typed language, and are dealing with functions max(a, b, c) and list(a, b, c), I would expect the documentation to say that one returns T, whereas the other a list(T). If it says auto, then I'm guessing from the names.

Maybe the target audience is programmers familiar with dynamic languages, who don't care so much and are used to reading the descriptions of functions about what is returned.
417, managing them with my own tool [1]. It's a collection of links with a high probability of (re)visiting, structured in a folder-like pattern. For all articles, online courses, and other actionable items, I use Pocket/Todoist instead. And around ~10 browser bookmarks for things I'm using daily.

[1] https://darekkay.com/static-marks/
On top of that, an even greater fraction of people who believe that the administration is incompetent, believe the correct solution to that predicament is to vote the opposite party come election time. It’s as if change in the election system isn’t even an option.
Thank you for the feedback @cclleemm
May I know what is your position/profession?
> they'll get zero page views even after spending all of that money because nobody can find them.

You might not be cheap anymore, now you're just lazy. It used to be that if you had something important to say you might actually have to climb out of the basement, walk to the church, and post your words to the door.

The expectation that others should both host and promote your crazy ideas for free is the problem.
liberals everywhere oppose socialism. From wiki:

"Liberalism is a political and moral philosophy based on liberty, consent of the governed and equality before the law.[1][2][3] Liberals espouse a wide array of views depending on their understanding of these principles, but they generally support free markets, free trade, limited government, individual rights (including civil rights and human rights), capitalism, democracy, secularism, gender equality, racial equality, internationalism, freedom of speech, freedom of the press and freedom of religion."

In the US, the overton window is so far right that liberals are considered left of moderates. But liberals are not leftists, i.e. people who would support socialism. It's like

left --------------------- liberals --- moderates ---- right

^Scandinavian moderate
Yes YouTube and Google appear to have deprioritized neutrality in recent years, which I think is a mistake for them.

But I also think this particular instance is not the right hill for people who care about that to die on. It’s a form of falsely or mistakenly crying wolf and will cost them credibility.
The most toxic of toxic schools don't even begin to compare to the toxicity of my home life. I would rather be in school getting bullied by other kids then home getting told that I ruined my parents life and they wish I didn't exist.

Truthfully, the bullying by other kids didn't even bother me in the least because it was so mild compared to what my parents dished out non-stop.
Even recovered people who feel fine can have chronic issues due to the virus. Young, healthy people may come away with serious lung issues without realizing it[1].

[1] https://twitter.com/zeynep/status/1253437512401301505
I don't know of any countries that don't have a concept of the public domain at all, but there are countries where authors can't put their works into it, which is a different question from whether it exists at all. I don't think Shakespeare's First Folio is in copyright in any country in the world, for example. Here in Argentina we did have a misguided attempt to impose a tax on the reproduction of public-domain works (the Canon Digital) which fortunately failed; it would have essentially outlawed Wikipedia.
Nikola Tesla and Michael Pupin: Two Serbian Inventors
Congrats to the team for tracking this down, it was a great write-up!

Twitter has some great networking/kernel engineers. When I was working at Twitter a few years back we isolated and fixed another insidious kernel bug; a large group was critical to making it happen (including Cong, who worked on this bug): https://tech.vijayp.ca/linux-kernel-bug-delivers-corrupt-tcp...

I'm always shocked at how the kernel seems to mostly work, with such meagre test coverage. I guess testing in production does kind of work at scale?
Pet peeve: “Vedic Astrology” isn’t Vedic. The Vedanga Jyotisha of Lagadhacharya is only concerned with the calendar and fixing the times of rituals. This system was abandoned in favor of the five siddhantas which form the basis of contemporary jyotisha and show Greek (or more perhaps Babylonian) influence.

Anyway, even leaving aside scientific views from a philosophical point of view I don’t see how this kind of prediction could work. There are an infinite regression of past lives. How can you know in which life which karma happened and in which life it got cancelled?
I'm reminded of the classic problem of static utility classes, where you have functions for say formatting phone numbers, or computing a commonly occurring simple mathematical function. It can be difficult to figure out how to better modularize the functionality provided by this class, the motivation typically being having a large static utility class often violates the principle of a class having a clear, single responsibility. Breaking up a large static class into other static classes that better encapsulate some functionality/concept can help but isn't always the best solution.

So lets say we have shared code for doing something like phone formatting. My question for more experienced microservice practitioners is -- does it make sense to create a microservice for preprocessing data in general? Phone number-formating-as-a-service is excessive but creating a microservice for processing data where phone number formatting is just one aspect of this service makes sense to me. All other services can throw data at the data processing service and get data back in some sort of standard and expected way conforming to whatever business logic/processing rules required.
Sure, but the various machinima/demo file-formats of games are just application state-data formats, not video formats per se. The difference comes in what can decode them.

An application state-data format can only be decoded by the original application, because necessary context—in this case, the game engine that translates user input to game-state and then to displayed frames, and also the library of visual assets the game uses to render those frames—is in the application, rather than in the video.

A video format is self-contained, and usually not domain-specific. Many encoders and many decoders can be written to target a video format, and the decoders should not have to ship with an asset library (let alone a game engine) in order to properly render specific videos.

A format like I'm talking about—one that doesn't know anything about application state, but does understand that it's compositing and placing a set of embedded assets each frame, rather than only knowing about pixels/gradels—seems like something generically useful to me. (Heck, we're close to support for such a format already, since many video players already understand the idea of compositing arbitrary stuff with placement instructions on the screen each frame, care of support for the https://en.wikipedia.org/wiki/SubStation_Alpha subtitle format. That format is exactly the kind of "vector video" I'm talking about, except the only primitives it can position and style are text elements. Add RGBA-textured rectangles as another primitive type to it, and you'd get a video format!)

And yes, I'm basically talking about the visual equivalent of a https://en.wikipedia.org/wiki/Module_file (embedded samples/synth patches + sequencing information); or, if you prefer another analogy, "what Flash movies are if you exclude the ability to execute ActionScript."
The data disagrees: https://www.brookings.edu/wp-content/uploads/2016/07/02_econ...

US upward mobility is certainly not the best in the world, and perception of it outweighs reality by a wide margin.

Do you honestly believe that people are poor because they are stupid?
If Netflix were a monolithic, then the whole system would collapse instead of degrading.
Very cool idea! This is very useful especially for my soon to be marketing agency. :)
Agree! I actually tell family and friends to write passwords down in a notebook if they’re not savvy enough to use a password manager. What’s old is new again!
IMO one of the effective potential of a QC is `Secure Encrypted communications`. There is a research project named QUESS (https://en.wikipedia.org/wiki/Quantum_Experiments_at_Space_S...).

This project involves a minisatellite (capable of generating entangled photons in space) to establish a space platform with long-distance satellite and ground quantum channel, and to carry out a series of tests about fundamental quantum principles and protocols in space-based large scale
Yep. Look at how many comments on HN are something along the lines of, “This looks like marketing BS.” But YC funds JuiceBro for Soup and nobody says “This looks like VC/startup BS.”
>They can be returned from functions and passed as parameters but it isn't immediately clear how that happens: is it on the stack, in one register or in several registers?

Why does it have to be clear? It can be unspecified and the compiler will do what it thinks is best given the struct, e.g. return `struct {int x,y};` in registers, return `struct int[80] x}` as pointer to memory or write in-place to the caller's stack, via RVO.
shelter in place is besides the point. People are not gonna go to bars and behave like nothing is happening if their loved ones are sick and getting killed. I'm 22 yo, healthy, no comorbid condition, but I for sure will not be as active as I was before COVID. I'll definitely go out, but I doubt I'll be going to concerts. I doubt I'll eat out every day. It'll definitely have some impact on the economy.
I've used this to create a little muxer for opening URLs, which routes some to safari and some to Firefox, based on domain. Platypus allows to associate the app as a URL handler with the OS, which is very nice.
This honestly looks like a propaganda piece that directly contradicts a ton of evidence to the contrary.
Just because some people have it "worse" doesn't mean anything. If that were the case we can never be sad / lonely / scared / depressed / disappointed because we're not a lone caveman starving to death. Yes we can. Every experience is from your own perspective. You can appreciate that others have a worse time of it and still feel your emotions. You're not denying someone else of their feelings if you have your own.
1. At least some politics is not out of scope. Some politics directly impacts the tech world - crypto policy, for example. Some other politics requires tech to work - surveillance, for example.

2. At least some of us have some interest in some political topics, even if they don't directly impact tech. (Just like some of us have some interest in some philosophical topics, or some cooking topics, or some music topics, or some art topics.) Since HN is a community, not just a web site, then HN discusses whatever enough people on HN find interesting (subject to moderators keeping the flames down).

3. I've never really understood the angst about articles that don't interest people. There's (I believe) 30 on the front page, and 30 more on the next. If there are, say, 5 on the front page that are topics you don't care about, then skip over them. It's really not hard to just drop your eyes down a line to the next one.
Elementary school is not just about learning academic stuff but about personality development as well. Unless a child is very gifted, it will also get bored extremely fast.

Middle and high school is for everybody and college/University is for the smart 50% (or whatever).

It's natural that you cover more in less time in college/university because students that go there are already smarter than most.

If you try to apply the same standards to high school, you will push the dropout rate into 60 or more.
Are you really certain that you weren't one of the people who actually was part of the privileged clique?

My small town school had instances of missing teeth, broken jaws, one kid beaten far enough to require hospitalization for 2 weeks, etc. 10 years later, the popular kids say that there was no bullying and it was all intended in good fun. My therapist didn't even believe me at first when I discussed the things that were going on at my school, but luckily I do have some reminders of those times on visible places.
Disclosure: I work for Red Hat but I've used Gitlab for years (before working for Red Hat)

I'm happy to see this partnership and I hope it continues to develop. I've been using Gitlab for years. I always hoped for Github to open source their platform, but alas that isn't likely to happen. I think the de-facto home of open source should be Gitlab, an open source product itself. I am not doing my part however as most of my open source projects are on Github. I am going to spend some time at least setting up mirrors of everything so users with purer values than me don't have to sacrifice their freedom to access it.

Anyway, I came here to say that Gitlab CI has revolutionized CI in my opinion. It's truly an amazing product, and Gitlab is worth a look purely for that IMHO. A lot of others are implementing similar features because of how good it is. The ability to host your own runners alone made Gitlab an exceptional fit for me in the past. I initially tried it after Circle starting experiencing instability and small pockets of downtime routinely during the day, which was causing pain to my developers. With Gitlab we've never had that problem (this was years ago so Circle may be much better now. Not trying to crap on Circle).

If you haven't tried it out, it's worth a look. You can start (and scale pretty far) without paying a dime. Even just a simple smoke test for your code is easy to implement and worth the time. From there you can iterate and build a truly useful CI suite.
The author was on this thread an hour before you posted this clarifying that it is not yet open source, so you could delete that Github issue.
thanks! What kind of businesses will you target with your marketing agency?
Digital Ocean's bandwidth pricing is pretty solid at $10/TB. It's pooled between droplets, too, so it's often cheaper to spool up a few droplets you're not using to get slightly better bandwidth prices if you use a lot. Sadly, I just missed out on being grandfathered in at free bandwidth, which would have been great for my PortableApps.com open source project. We'll be hitting 100 TB a month soon across all downloads.
it's not one month, in UK first "reported transmission case" was late February so it's at least 8 weeks by now:

"As things stand, the first recorded UK case was January 31 and the earliest documented incidence of transmission within the UK occurred on February 28." [1]

majority of flu deaths every year occur within similar period (normal distribution is obviously not uniform).

[1] https://www.msn.com/en-sg/news/coronavirus/uk-patient-zero-e...
Fairphone teams up with /e/OS on a box-fresh ‘deGoogled’ FP3
There is a combination of increasing energy density of batteries and decreasing cost of high tech motors that I believe is a bellweather for electric flight experimentation, particularly on the LSA/ultralight end of aircraft.
While I believe it is unlikely we will see energy densities on the level of gasoline anytime soon, I do think we will see a lot of innovative electric training aircraft soon. If lithium sulfur batteries live up to the hype then we might see even cooler designs.
There’s very little downside. Spend some money from wealthy people and institutions, get some engineers paid, get some code written. The only losers are the investors who, per their job description, take the risk. Perhaps simplified but I like companies spending money on this stuff.
> can be sketched

What does that mean?
0.0003% of the world population was killed by the corona virus