skysight-inc/HackerNews huggingface dataset:
>but asking for countries to do this or that which are against their interests is called hypocrisy.

No it's not. The definition of "hypocrisy" from wiktionary:

> 1. The contrivance of a false appearance of virtue or goodness, while concealing real character or inclinations, especially with respect to religious and moral beliefs; hence in general sense, dissimulation, pretence, sham.

> 2. The claim or pretense of having beliefs, standards, qualities, behaviours, virtues, motivations, etc. which one does not really have. [from early 13th c.]

> 3. The practice of engaging in the same behaviour or activity for which one criticises another; moral self-contradiction whereby the behavior of one or more people belies their own claimed or implied possession of certain beliefs, standards or virtues.

hypocrisy requires some sort of contradiction between the actions of the entity, and the belief that it espouses. The US urging countries to have free trade, while also having free trade policies isn't hypocritical, even if free trade is against the other countries' interests. On the other hand, the US urging countries to have free trade, while simultaneously implementing anti-free trade policies themselves (eg. tariffs) would be hypocritical.
Pitty its licensing cost will go up ten fold next year.
Give a special logo/color/background to the premium stickers or to premium users (people paying 1€/month for example).
I know parts of Europe which would definitely benefit from Starlink. There are plenty of rural areas even in the most well-off EU countries with shitty internet.
I think the point was to compare the reasonably simplest idiomatic examples in the various languages. For example, the C++ example used `std::unordered_map` even though that isn't necessarily the fastest possible hash table for C++ for even general purpose jobs, let alone specific ones.

Of course you could write significantly faster implementations in C (and probably in the other languages) by writing data structures from scratch especially for the job (and memory allocation strategies and maybe other stuff), and if you're the author of wc or grep then that is well worth doing because it will be used so many times relative to the amount of time for you to write that code. The comparison of the idiomatic C program vs grep is basically proof of that. But the article seemed to be targetting more typical developers than just want to plug together some common existing components.
With JS the reason isn't really all that good - it's because it's expensive and difficult to make JavaScript and browser engines thread safe (or any dynamic scripting language). If it's hard to make the language genuinely multi-threaded then you end up stuck with callbacks and a standard library that uses a totally broken design to try and be as single-threaded as possible. It's basically Windows 3.1 all over again, but in 2021 instead of 1991. Quite sad :(

Async/await in the browser at least is unrelated to threading (unless you mean hypothetical helper threads inside the browser). You don't get any choice about where the handle the callback. It's always on the single rendering thread.
Is there any code base in this world that developers would not complain about? ;)
Knuth-McIlroy comes up a lot. Previous discussion [1]. For this example I can make a very similar Nim program [2] run almost exactly the same speed as `wc -w`, yet the optimized C program runs 1.2x faster not 1.15x slower than `wc -w` - a 1.4x discrepancy - bigger than many ratios in the table. So, people should be very cautious about conclusions from any of this.

[1] https://news.ycombinator.com/item?id=24817594

[2] https://github.com/c-blake/adix/blob/master/tests/wf.nim
Maybe due to stdio synchronisation? This can be turned off.

https://en.cppreference.com/w/cpp/io/ios_base/sync_with_stdi...
After reading this, I think Signal is also violating this policy. I was not able to find a way to report messages or users. In comparison on WhatsApp I can report a user or group and the "most recent messages" will be forwarded to moderation.

I think it is kind of strange that even a private messenger needs to implement a report system for messages.
It seems like competent government would put a crypto-ban as part of the climate accord.

If you look at this from bullish bitcoin perspective, the large energy use is good for the climate as it will make people invest more in cheap renewable and this innovation will spread around. I find this argument to be tenuous at at best, but lets say it's true. It doesn't matter, what matters is that people view as an environmental problem and there is a perfect avenue to globally ban PoW, and even ban any crypto that use PoW, in a way the most people will go along with and view as helping them and not squashing the people's financial liberation or whatever we are calling it this week.

Some countries may not go along with this, I think Pakistan and some others, but if enough large countries(It's easy to see China, EU, USA, all jumping on board) say we are not doing this BTC will be pushed to the fringes and easy to be manipulated by state governments.

At least this is what I would do if I were a government official who was actually worried about crypto challenging the governments power, but must governments do not seem too worried about it.
Is this the MongoDB theory of storage, one that doesn't imply retrieval?
Free and Open Source Software (FOSS)
I know it sounds paranoid, but it's why I don't trust Signal for information that I want to defend against nation-states. In the US, if the govt couldn't circumvent their messages then they would find a way to take it down. Any warrant canaries could be required to be left untouched by secret FISA courts.
I suppose one of the most effective ways to reduce state hostility towards privacy issues is to legalize all drugs.
In the past people have suggested we rewrite GitLab in Scala, Haskell, Node.js, and IIRC also regular Java.

I think it mostly comes down to "I didn't write it, so it's bad" :)
Pavel clearly has a social agenda behind Telegram. He wants to provide access to independent uncensored communication platform to everyone for free.

So looks like ads is the only other option left for now.
The arrogance of engineers who seem to think they're better than everyone else will be it's downfall.
Another good example of an awful implementation can be seen in Google Workspace. Sometimes the crappy ML algorithms will generate a false positive and suspend an account for a suspicious login. Fine. I get it. It’s hard to do at scale and nothing’s perfect.

The thing I’d like to have Google explain to me is why they think it’s a good idea to bounce incoming mail for a user that’s been auto-suspended by an algorithm. In what scenario would I want that, especially when the account is locked at 3:00 AM local time?

That’s something that actually happened to me this weekend. For anyone at Google, NO ONE wants their incoming email bounced because of your crappy ML algorithms.
What a cool project! Really enjoyed reading about the recovery. Crazy how well that thing held up.
Yeah, this seems more like "why are software companies more successful". Looking at only the top 10 companies then speculating seems like a waste of time, why not just omit the data entirely at this point?
These startup social apps that run on a loss are heavily, intensely focused on user count as a KPI.

I wonder if that leads to them balking at the reality that once you start charging money you'll lose a % of your users (which should be normal and fine!)
Oh gitLAB - for a moment there I misread “GitHub” and was worried. (J/k you rock guys!)
I think dang has also talked about how "controversial" comment sections in posts causes them to be deranked more quickly, and with this having as many comments as points within an hour, it certainly seems like it'd meet the criteria.
>most of the stuff that is available seems to be based on Soy produced abroad

This makes me think you may have been falling into the mindset that you either need to eat equivalent protein as a meat diet or were biasing towards processed foods which tend to rely heavily on soy. Personally, I don’t like the taste of those and I found they tend to be more expensive. Trying to make a facsimile of one diet with another is difficult.

I can’t speak more to the OPs geography without specifics but for the vast amount of the “north” in the US, it’s not much of a problem. Of course, it’s all relative to personal goals.

Regardless, I think you’re right in just reducing meat consumption is a more pragmatic approach for most. I think both issues speak to the need to adjust what the “norm” is, both for health and environmental reasons.
Thanks. This does just seem to be a different way of talking about things! It seemed strange at first. What you talk about also seems to make the language more complex, and programs simpler. Seems like you and open-source-ux don't see it/talk about it that way though.

By "the language", I mean every part of it, (I thought that's what everyone means!) and you two seem to mean, only the parts of a language used in the programs you write.
There are degrees and differences in jobs that need to be taken into account. Obviously a store owner or manager probably need to be there and you can't manage in half the time.

But some roles (such as say programming) if you have X tasks a week and you get them all done in half the time and piece out in my mind that should be acceptable.

It shouldn't be acceptable that if you get all your tasks done in half the time they just give you a bunch of other tasks until you work exactly 40 hours. And there are others that take 2x to do all their tasks so you end up getting half of their tasks.

Being good at your job should be rewarded and encouraged and if that means saying "get all these done and if you get them done earlier and just as good you get Friday off" is a perfect motivator.

I think the problem is people grew up expecting to work 40 hours and if you don't work 40 hours you're a slacker. And that can be true, but it can also be completely wrong.
It’s because there is clearly an overvaluation problem in tech right now. ‘Successful’ depends on the ways you are measuring success.
Why would Hulu be excluded?

It is a video streaming service is it not?
Premium users is likely the way to go, then. I feel like the background / logo could be emulated.
First, browser remove more and more chrome to give back space to the actual website content, then they remove the option to remove even more chrome. Oh the irony.
How so? Pics or it didn’t happen.
>I absolutely despise ads of any kind

Can the business that pays your bills survive without ads?
The obvious problem with this statement is that the Mac is billed as a Mac, not as a generic laptop. MacOS is a selling point, even if it doesn't appeal to you.
A few years ago there was a story on here, https://news.ycombinator.com/item?id=9143784 , I've read some more since then but I can't readily find them (it was over the span of a few years). Maybe they were re-hashes of this story, could be. I do remember reading another story about narco subs some years ago (I too find the engineering fascinating) and one described how the technical work was (at least in that story) done by poor students who were roped in bit by bit until they got in so deep that they couldn't leave, and found themselves stuck in remote South American swamps in horrible conditions. Can't find that story though, maybe someone else knows/remembers?

I don't know anything about organized crime other than what I see on TV, but not long ago there was a local story here about a couple of chemistry students who were put to work in an MDMA lab and got themselves killed because of bad ventilation. From what I can tell (again, this is from following media, I may be wrong), engineering in criminal enterprises is low status and quite dangerous, and not even paid particularly well. Cooks in drug labs get into accidents because of how rickety those labs are, there was an encrypted phone dealer around here who got himself killed when his network was dismantled by the police, the telecoms engineers in Mexico in the story above.
Not downtime, but some kind of issue, yes [1]. However github is not much better [2] and gives much less detail and fewer updates. Bitbucket is more solid recently [3] (but wasn't really better than the others in 2020)

1: https://status.gitlab.com/pages/history/5b36dc6502d06804c083...

2: https://www.githubstatus.com/history (don't get fooled by them collapsing the incident list after three per month)

2: https://bitbucket.status.atlassian.com/history (also collapses after three per month)
The animosities are even older. France has been depicted as "Erbfeind" (i.e. enemy for generations) in German school books since the Napoleonic wars.
My point was that it is so common it shouldn't need some sort of explanation. It's just a US centric viewpoint that requires it.
Not useful to who?

Sounds like, not useful to all the people in the world minus the people to whome it's useful.
> Surely the correct answer is "use some established third party library that does this exact task well". Probably faster, better battle tested against weird input, localised etc etc than anything you can come up with by yourself.

The point of questions like this is to test basic understanding, not the ability to search on SO or similar.

> If I was hiring though, I'd be more worried about hiring people who would write standard elements from scratch (mostly because that's more fun) than re-use standard building blocks to get a task done correctly.

As long as the hire is able to fix/extend the 3rd party library on their own... this is exactly what you figure out with "these types of questions".
Same - I've had zero issues.
> Zuckerberg could get a job at Facebook. He obviously wrote a lot of Facebook's early code.

That doesn't mean he could do leetcode problems.
Why can’t you increase your marketable skills while also building a side business? The question might be what side project can you work on that could both increase the potential of a promotion or salary increase as well as setting up a little side income?
Bitcoin allows you to effectively arbitrage electricity price differences between the West and the developing world.

Which previously would require some kind of capital intense activity like Aluminium Smelting - which at least would promote development of local infrastructure, industrial capacity, and skills.

Bitcoin mining does none of that - local efforts to make electricity more affordable for local usage and business (ie. subsidies) are basically monetised.

In addition many countries like India have problems with illegal electricity usage. The shortage of GPUs and general computer chips (how much of TSMC output goes towards mining machines?) is also negatively impacting supply chains, particularly for countries at the very end of them.

Crypto mining is hugely disruptive and harmful to developing countries, and these bans are completely justified.

I understand that the US and other Western fiat currencies are being run into the ground to fund pension obligations - but you can just buy Apple or other blue-chip stocks if you want a long-term asset.
> suck wealth out of the US it would be criminalized yesterday.

until the USD is not the dominant reserve, USD themselves is considered wealth. You cannot suck wealth out of an infinite fountain.

So the time when the US gov't would institute such controls would be if China's dominance continues to grow, until chinese currency (whatever it may be - digital or fiat) is the new reserve. Because USD at that time would have become worthless.

I would bet nuclear war would occur before that.
Build an Admin Dashboard with Express and Vue: Getting Started
Learn how to use the Auth0 Management API to build an admin dashboard with Express and Vue.
One thing is that they removed the n of times a page appears in the results. Sometimes I search and all I get is results from an MercadoLibre and/or pinterest. I find myself using the minus modificator often.

Example: product model -mercadolibre
Yep, In Norway too there is a specific law that say consumers can't negotiate a worse deal than the actual consumer protection laws. This includes warranty and repairs too.

I guess EU have something similar since we adopt a lot of the laws from the directives.
The future of gaming is already here; it's called "pay to win mobile multiplayer shooter".

Video games are only a way to get a quick dopanine rush, and that's the local optimum that gets you your rush quickest and easiest.

VR is not needed.
I love Gitlab because I love open source and competition but Gitlab either on-prem or gitlab.com has been having growing pains ever since I started using it around 2015.

And it seems to be related to scaling because it's always iffy problems like higher error rates or jobs not executing.

Either way, I love our on-prem Gitlab. It's free and it hosts over 200 projects, Gitops and the whole shebang. I'm just now beginning to use Kubernetes from it.

They will sort this out eventually.
Wish I had the research budget to work on the intersection of SVG and ML. I feel there is a rich vein awaiting discovery apart from the semantic stuff. Compact, efficient machine representations that consume 10x less memory for large SVG images, for example.
The one that will never be deployed on production. Real world unfortunately corrupts beautiful code with it's pesky complications.
A support contract for $100 !!! Wow, I thought I'd heard it all but that one is new. Even cheap consultants I know won't sell you only $100 worth of time.
While I would be happy to pay for it in principle, the value of Telegram to me is that is has provided a platform for many political dissidents - individuals and groups - who might otherwise be persecuted for their beliefs and activism, and denied a platform for learning and discussion.

I could be wrong but I believe this is a popular reason for Telegram's appeal.

How many of those would be comfortable trusting Telegram with payment details, rather than just a pseudonym?
All governments (potentially) being (the deadliest) enemies of the general public used to be generally understood in all democratic circles. Most people seem to have forgotten, and/or don't read their histories.
Gitlab is completely down until just now, similar happened not that long ago. Over the last three weeks continuously had issues with the Gitlab runners (even not shared ones) were it wouldn't jobs or only after a second or third retry attempt.

I think the flakiness of jobs succeeding is also related whether you use their package registry. I can't say I had similar issues with Github.
>You should campaign for schools to start earlier, not for change to how we measure time.

For people who live on fixed schedules (AKA large swaths of society), changing the clock is how you campaign for schools/work/recreational organizations to start earlier. It is vastly more effective than solving the huge coordination problem of trying to get these independent organizations to each separately change their interlocking schedules.

On the flipside, it (1) seems vaguely annoying to a minority of people who have more flexibility in their schedules and don't need this (but that same flexibility should insulate them from any negative effects) and (2) has some random and irrelevant effect on the location of the sun in the sky at different clock times.
As a power user, you can just write a little CSS and have it look however you damn well please:

https://i.postimg.cc/6w46fmWF/image.png
Or just say "twice a week" and "once every two weeks" and not leave everyone in a meeting thinking you're talking about popular video game.
Due to lack of school buildings in a lot of places in my country we have school in two shifts. These rotate, one week from 8 to 13:30 and the next 14-19:30. As a kid I had to walk around 30min to and from school, carrying a small torch when it was dark. Just to give you some perspective.
The point is, what exactly is the behavior that is harmful? Is it the pollution? Tax circumvention?
There is no category error. Again asking the right questions teaches you how to think about the world.

The fact that people have misconception of what philosophy is doesn't change anything.
Woz was a cofounder, not a CEO.
Show HN: Interactive Course on JavaScript Closures
With all this talk of Facebook let's not forget that valve want to read your mind too!
> f-droid doesn't have payments

I'm just a normal F-Droid user, but couldn't you build In-App purchases or link accounts to your website?

So, register for a paid account on mygreatapp.com and use the login details in your app?

I think that's what Google and Apple specifically DON'T WANT for financial reasons, but how about F-Droid?
100% postulation.

Call you Dr. Postulator.
Clearly some burying going on, there’s stories above this at 50 points / 8 hours ago, and it’s at 200 in one hour...

news.yc doesn’t like the fact that its main craze for years has been outed as a global affliction, destroying the climate with impunity.
"Non-backdoored communication, being necessary to the security of a free State, the right of the people to strong encryption, shall not be infringed."
We switched from self-hosted to gitlab.com a couple months back and the migration has been extremely disappointing.

Pushing commits often hangs completely, and we've had a number of smaller downtimes/degradations in recent weeks that have been super disruptive.

Having been Gitlab users since our inception, we're now seriously considering Github (I know - grass is always greener).
Wow. Thanks for sharing.

30+ years ago, I had friends reconstructing crime scenes for court proceedings. Architectural drawings and 3D scenes. They used AutoCAD and AutoSolid (?). Showing stuff like blood and ballistics.

Super effective. They turned my stomach.

I don't have words for these Forensic Architecture recreations. I almost feel like that I'm there (present).

I can only imagine their future VR recreations will be overpowering.
> ... there are thousands of places that need basic code slung.

Not just "basic code". There are thousands of companies doing just as challenging work than FAANGs do. There's innovation happening all over the place.
"just fine" is a funny word for "lands a lot of people in a torture cell"
I'm not sure why that would be a problem. Telegram could easily make bitcoin and/or cash a payment option like countless VPN providers have. No "real info" necessary.
Same as meat and cars.
Here are some sources, but any Amnesty International, United Nations or Israel boycott association will be happy to give you plenty more official data about this.

https://www.timesofisrael.com/state-funding-settler-institut...

https://en.m.wikipedia.org/wiki/Israeli_settlement

https://religionandpolitics.org/2017/05/30/how-american-jews...

https://www.reuters.com/article/us-israel-palestinians-olive...

https://www.amnesty.org/en/latest/campaigns/2017/11/the-occu...

https://www.reuters.com/article/israel-palestinians-un-idUSL...

https://en.m.wikipedia.org/wiki/SodaStream#Controversy
My gun does require some mental overhead, but I wouldn't call it significant. My mental checklist of "phone, keys, wallet" just turns into "phone, keys, wallet, gun" and just like someone wearing a skirt might make sure they are modest when they sit down, bend over, the wind blows, etc, I just make sure my gun remains secure and unexposed.

With a good "holster" (for me, CCW Breakaways), I pretty much don't have to worry about it at all, even when doing something physical.

I'm sure I'm an outlier, but I think it goes to show that generalizing is bad.
For me even our private runners stopped worked over the last few weeks
I find your commment much harder to understand than the post. Are you an experienced quant who finds the work trivial, or an undergrad with no idea what a swap curve is? It's impossible to tell and thus impossible to answer your question.