skysight-inc/HackerNews huggingface dataset:
> Petabytes in bandwidth and disk storage wasted because FF decided saving a couple hundred K on the png animation code

Indeed, penny wise but pound foolish... and I guess they were proud of themselves!

> You are fighting the good fight.

Thanks, hopefully due to kicking the ant nest with my rants and now sixel-tmux, VTE will be forced to deliver something, anything really, even if it may be 6 years too late and not enabled by default (!!)

At least Linux distributions would have the possibility to compile it in?

But at this point, even that I can't believe. I think they will weasel out at the last minute with some half-baked more or less plausible excuse, like your example about firefox code increasing by a few kb.

My hopes for gnome are extremely low, so "I'll believe it when I can see it" and not before, say when it's shipping in Ubuntu.
Maybe. Lots of perspectives and opinions that come along with that for better and worse.
Thats only 40 bitcoins per hour. Pretty cheap considering how many coins many people have.
Yes, You Can Put Out a Burning Gas Well with a Nuclear Bomb
Well, they do run kooler and quieter than literally every x86 machine I've ever owned, yes ;)
So who's losing if nobody has any meaningful monetary savings? Sounds like the rich because they will put like 5% of their portfolio into cash and higher wages eat into real wealth.
That makes sense. You can find old homes in SF with the natural gas heaters and it's easy to get a big gas bill if you leave those on with the terrible windows that don't close properly (the windows on those old victorians are awful).
It’s so good that I decided to sponsor the project a while back. I will probably never use it but I really like these guys talent and dedication!
Sounds more like a logical fallacy.
Nonsense.

https://data.oecd.org/hha/household-savings.htm
>they are in fact not doing everything possible to combat the spread of extremism and radicalization through their platform as they claimed

The only way they could claim they are doing everything possible would be by not having a platform or by reviewing every post prior to people seeing it.
There are many things that are crazy time sinks - either because they are difficult, or because they are emotionally or intellectually engaging. Or because they are mandatory in the context of the person doing them.

And the concept of “free” time is also relative. For example, you could argue that child rearing is a game for those with lots of free time.
What are the chances Hinge made it to acquisition without giving shares to employees and investors?

Wiki says they nearly went bankrupt just before a funding round. Even Zuckerberg only owned 28% of Facebook at IPO.
You're not wrong either. Of course, for all their signalling (pun not intended), it's not like Telegram fares much better on that front so you're probably right that security/privacy aren't the first priority. Creature comforts like group chats/stickers/GIFs, VOIP etc from the same app might be more compelling.
Discussion is generally favorable over war, as long as the truth isn’t being sacrificed for the sake of avoiding accusations. To say that Facebook hasn’t been engaged in bad behavior is, I think, a bit of a stretch though. “Systemic” can be used in the same way that bureaucracies do to avoid responsibility: no one is responsible for the actual state of affairs personally, at least that’s the claim. But ol’ Zuck has been aware of many problems, grilled over them, etc, etc, so we’re not dealing with innocent people here if there is any guilt here. I am not making accusations, but if I were feeling the heat, I might go into damage control and maybe “allow” a sympathetic whistleblower to steer change in a way that softens the outcome.
Sounds to me this type of language can also backfire; next step of Congress could be to then subpoena someone who did work on the subject matter and did have C-level exec access...
> bigger problems to solve there

It's not the fucking "maximum BAR size is tiny" problem again is it? (hello Rockchip :D)
That's pass-transistor logic, which is used in lots of processors. The problem is that your voltage levels drop through each gate, so you can't chain many gates together. You need to have "normal" gates in between.

A "normal" gate amplifies and restores the voltage level so what you get out is better than what you put in. But in most technologies, the amplification stage also inverts, so you end up with basic gates such as NAND/NOR/AND-OR-INVERT, rather than AND/OR.

https://en.wikipedia.org/wiki/Pass_transistor_logic
I've been using the same program for years (since 2015) for interviews, intentionally adding some issues and asking what the code does, how to fix the bug(s), what to name the function, what are some properties that are problematic, etc.

Kind of a fun interview, but actually explores peoples knowledge.
>and you still CAN'T build a AOT statically compiled single file executable, you have to ship your 300 DLLs with you, even that, they couldn't improve, it's 2021, it's a billion dollar company, and yet, it's still "we are working on it", dude no, it's too late, i'll go with GO

I published a single file executable just last week, what in the world are you talking about? If there are any native code DLLs you have to include 1 extra line in your .csproj file to get those to be included in the single file, but other than that it works without any issues whatsoever. Literally spits out a .exe and a .pdb file and nothing else.
Oh I'm not saying she has a billion. Odds are she is quite wealthy though.
I don't want them to do anything regarding doom scrolling, it was just an example and came from another user.

I do want them to publish their algorithms and moderation logs so we have insight on how they are serving and moderating content.

I don't care about organic user content, I do care if FB is pulling the strings to make it either more salacious or being biased in one way or another.

I also care if they are banning certain users or content but not others.
Each draw step is one draw call. For example in some algos where there isn't a clear swap operation I draw the whole array in one step, which may or may not reflect all operations that happened before that draw call.

https://xosh.org/VisualizingSorts/sorting.html#IYZwngdgxgBAZ...

You can change the detail level slider while its running and see how it changes the animation. At level 1 (higher level) this and insertion are same.
Not when the need is to increase battery life (reduce cpu usage). Having a couple of youtube/reddit tabs open in the background can really impact battery life I've found.
> is there the will to have people's property confiscated via violence?

...yes?

This has been a fairly common practice since the dawn of civilization. If you do bad things, you get your stuff taken away.

The idea that this can be circumvented by creating cryptocurrency, whether or not it can ever be made a de jure currency, is libertarian techbro wishful thinking of the highest order.
But again people want to be in the 1% of income, wealth and social status, not in the 1% of "trying".
Democracies can control the economy deliberately. Democracy without economic control is near anarchy and the democracy is debilitated, subject to the whims of the people that own production.
Interesting. Some people here in Switzerland claim that the heavy crackdown on Swiss banks from the US was just a tactic to "steal" the clients for them selves and make the US the number one tax haven.

Thought we clearly still have loop holes outside the banks that enable such crookery via lawyers and private consultants. Those will probably also get cracked down on but will the US do anything about their issues?

FATCA was supposed to be a two way data exchange. Switzerland has been harassing its citizens to get this data for the US but the US has delivered nothing in exchange. How many Swiss citizens are hiding money in the US from Swiss authorities?

When you open a bank account in the US do you have to swear that you are not a Swiss citizen? I doubt it. We, a sovereign state have to swear we are not US citizens. I guess that is the power and control the all mighty dollar has over Swiss banks.
> Yes. I can read.

I apologise.

Multiple comments elsewhere have been made by people who initially thought it was a Bubble Sort, and every other course and tutorial I know of starts with the Bubble Sort. So I admit to being surprised that you use this to teach algorithms. Personally, I find the algorithm given here completely unobvious, but perhaps that's just because I derived the Bubble Sort for myself back in the mid 70s, then read about O(n.log n) algorithms, and was hooked.

For me, this algorithm is very misleading, but if you find it a useful teaching tool then I've learned something, and I find it intriguing. I'd be interested to know if it's used in any other courses. Do you know of any?

snip description

> What’s non-intuitive or what makes the comparison in the wrong order?

It works, so obviously the comparison is right. But compare it with a classical Bubble Sort:

procedure bubbleSort(
A : list of sortable items
)
n := length(A)
repeat
swapped := false
for i := 1 to n-1 inclusive do
/* if these are out of order */
if A[i-1] > A[i] then
/* swap them and remember
something changed */
swap(A[i-1], A[i])
swapped := true
end if
end for
until not swapped
end procedure

It's looking to see if A[i-1] > A[i], because then they are the wrong way round. Compare that with the code in this submission:

if A[i] < A[j] then
...

It's the other direction, which pulls me up short.

And it's comparing every place with every other place, whereas Bubble Sort only ever compares adjacent items.

Being as familiar as I am with sorting algorithms in general, this, to me, feels unintuitive.

I guess my intuition doesn't match yours.
Biggest issue is that, when I go to production for a small app that's just starting out, I don't want to spend time managing a self hosted version.
Hey, thanks for the free image! It's very high quality.
Fair point, but then, why bother with the PGP key?
Learning by just consuming textbooks isn’t going to get you far with motivation.

Pick a small goal and work towards that.

Break the problem down in to small steps and find ways of solving each step that works best for you.

You might find you don’t even need any of those textbooks.
It has been my experience that nonprofits fall into two buckets: they are either fundraising focused (and further subdivided into pursuing many small donations or few large ones), or mission focused (this is most local orgs). The former have a Communications Department of some sort that handles their website, for the latter an online presence is an afterthought and even if you give them a website it won't be maintained (although if you think you can get students to put in an ongoing effort to run such a website going forward, that could be pretty awesome)

There are less obvious ways to help that can have a larger impact:

Your city probably has (many) duplicated and conflicting directories of non-profit orgs and services that may not be up to date. Fixing that (verifying contact information, locations, hours) is an ongoing effort, as is identifying opportunities for connecting people to the services that can help them.

Aside from a few standouts that get regular media coverage (eg. annual toy drives and the like), any and all local nonprofits can always use more press. Student journalism, viral videos, Twitter campaigns, etc. Note that success stories are often more effective in driving a call-to-action such as a donation than stories focused on unmet needs.
Your view is the pedant’s view. Of course there are servers. There always will be, to some degree. They’re just not your servers to manage (e.g. update, scale) or pay for. You don’t own them, or even rent them, so you can eliminate the hardware details from your thought process.
> Yes, it's just muscle memory and you can always re-train it, but there's very little return for my investment.

As a data point of one, I've found the return to be enormous and the investment suprisingly small. You have a whole lifetime of typing ahead, so what's a small investment of time compared to that? Just something to consider.

> As far as I'm concerned, any byte set to any value above 127 in any source file should be a compile-time error.

People can vote by using the languages and tools they want, but I have been waiting for that limitation to die for quite some time. I also use function names longer than 6 characters. That said, I realize I'm lucky enough to be in charge of my own programming environments and don't have to worry about its adoption in unknown limited scenarios.

> I can see an argument for allowing non-ASCII characters inside string literals and comments, but with non-ASCII identifiers you're just looking for trouble.

Again, just as a data point, I've never found this to be an issue (if one is prudent and not obnoxious with it), though the language support needs to be in place. In my main language these days, Swift, it's fine. Julia and Kotlin too.
Facebook “whistleblower” represented by Democratic operatives PR Firm
You are saying that the "why" of Apple doing these things is purely "user hostility", which is highly implausible.

A company does not make decisions based on a pure "will to be evil".

They probably think that the reputation hit from not allowing repair is less damaging than the reputation hit from users dissatisfied with repairs. Other design choices can be for cost cutting in design or production.

So sure, it is not nice for the user, but the reason is not a desire to spite users. They likely simply think the additional costs, tangible and intangible, of being repair-friendly are not worth it.
I am reminded of one of my favourite sitcoms - Blackadder

(shortly after burning Dr Johnson's only manuscript of the Dictionary, and realising it will take ten years to re-create):

"No, I love the dictionary, and would like to have my manservant Baldrick read it. Unfortunately it will take him about ten years to learn to read, so please leave it here."
But cryptocurrencies don't appear to need proof of work.
My number one annoyance (with Firefox and Auto-Discard extension) is when I open back my tab and get a redirection to some login page. Login, get sent to homepage. Back button sends me to login page. No way to get back to the actual tab I'd left there...

That tab is then lost forever, unless I can find it in the history from whenever I had opened the tab.
To be fair, a lot of folks get degrees in part to avoid the sorts of jobs that require physical exertion, which have traditionally been low-skill jobs. I'm not so sure it is true much anymore, considering that a business degree often gets your a retail management job. A fair amount of those store managers unload the truck along with others.
What? There’s a finite supply of gold just like there’s a finite supply of Bitcoin. You can mine more Bitcoin just like you can dig up more gold, up until there’s no more to be mined.
> crap like WhatsApp, Skype, or Discord

I agree up until you mention Discord. It works really well across all platforms (including the browser) and provides a very generous suite of features for free, some of which would be difficult to implement without centralization.

It also doesn't make money off selling user data; there is no actual evidence this has ever or will ever occur. Back when it was still floating on venture capital funds, it didn't need to make money. When it realized it needed to become profitable, instead of introducing invasive tracking and ads like other chat apps, it took a different approach: introducing the "Nitro" subscription which offers a slightly upgraded Discord experience (animated emoji, extra profile customization, etc) for $9.99/mo while keeping the core features free. It would be more comforting if they published the sales numbers so we could verify that Nitro is profitable, but I have no reason to doubt this approach is successful -- Nitro may not seem valuable to the average HN reader, but many users (including friends of mine) do find a lot of value in the features it offers.

By the way, I'm all for decentralized/encrypted chat apps and wish Tox success. It definitely irks me that all my Discord messages are stored on a corporate server outside my control, where Discord employees, the government, or any hacker who manages to break in to either my individual account or Discord's servers can freely read over them. However, I think the approach Discord is taking is different than the one taken by most chat apps and it's probably the best among the proprietary ones.
The poorest benefit the most from inflation since they get fired first during bad economic conditions. The only exception is housing costs because rent doesn't really flow to low income households.
https://www.utsystem.edu/offices/talent-and-innovation/event...

Suggests he at least hasn't given up.

He's a very smart guy but I expect the net result of his work in this area to be basically zero. Doesn't sound like he has the background for it, and the task is genuinely huge.
And without the compiler checking the types, they're nightmarish to use. It falls to pure human sweat to track if a variable holds a `thing` or a `Monad Thing`. In my humble experience, it leads to lots of tedious banging around in the REPL to track down where you made a mistake. This is especially painful while refactoring.

I've given up on the monads in dynamic languages outside of really strict confined situations (validation for instance). I think it's ultimately a bit silly to do something like `StateT` in Clojure rather than just using an `atom` or whatever. What you lose in referential transparency and purity, you more than make up for in sanity over the long haul.

The scales would tip if Clojure had stronger typing options, but for now, using the idiomatic stuff is the way to go. Although, spec could probably be used in a pinch, but it's kind've hot garbage compared to compiler checked types (imho!).
Plus he strongly supported the Soviet Union, particularly with the Molotov–Ribbentrop Pact.

(Tongue firmly in cheek.)
Anyone else thinking this lady glows?
There must be a reason for an established account to post a Wikipedia article about an old video game.

I can't guess the reason though.
Same. No issues.
in short, you're focusing on savings while ignoring purchasing power
Lol look at this dude thinking oligarchs didn’t exist before cryptocurrencies.

It’s not any form of store of wealth that perpetuates the oligarchies, it’s unwillingness and corruptibility of political class that allows them to exist.

Half of fucking london is owned by oligarchs as an investment haven, so until you publicly come out in support of demolishing that atrocity, don’t even utter a sound against cryptocurrencies, that just makes you a laughable hypocrite.

Not to mention that store of wealth is completely orthogonal to political systems and free access to store of wealth and transaction system that isn’t fuckedup-able by “government” should be basic human right.
> This woman is also remarkably calm, well-spoken, knowledgeable, and articulate for someone testifying before the Senate for the very first time - all while being broadcast around the globe, live on television.

But what if the reason she is being heared is because she is remarkably calm, well-spoken, knowledgeable and articulate? Should that theory not be tested first accoring to Occams razor? [1]

[1] https://en.wikipedia.org/wiki/Occam%27s_razor
This may be part of their plan, but Snowden used that method for the purpose of hiding things too. He wanted reports about the various software projects being used to be public, he didn't want the software itself to be public.

Vetting data over dumping everything often has benefits.
Oh, no doubt that (or just a single webpage view of all the documentation) _should_ be something that all documentation should provide, but I don't think it's any surprise that not everything has good/ideal documentation.
It's based on her co-founding Hinge, which apparently is now worth $2b. Hinge had sold 100% of shares by 2019, so she might have done well for herself, but definitely not 50% of current valuation.
Call me old-fashioned, but in this modern day internet where almost everything is optimized to be as distracting as possible, it's a real breath of fresh air to still be able to read premium technical content in plain text form.
How to Use Yahoo Finance API
* You know Oreos don't have nutritional value because the government regulated a clear label that shows it

* You know that ad you're seeing is an ad because it's regulated by the government; the ad itself often must contain disclosures

* The government heavily regulates fuel economy and car safety (though the effects of lobbying often slows it down)

You've picked some terrible examples.

In this case Facebook is making recommendations through a completely opaque algorithm. The output of these algorithms have been shown to radicalize people in numerous different studies.

Recently it's come to light that Facebook has done its own studies, which show things like a proclivity for instagram to recommend content to teenage girls that promotes eating disorders. They've allegedly sat on this data and have done nothing to improve safety. Instagram today has admitted this problem and apologized due to public scrutiny.

One suggestion that the whistleblower mentioned today is transparency and oversight into why content is being recommended to you. This dovetails rather well into existing government regulation, and seems completely reasonable.
Yep ... It's not exactly integrated, but usable.

I feel like somebody could have a academic career based around that
Ask HN: What's the best place to park my inactive domains?
Does it matter? Is there a good location?
Small allocations are allocated using sbrk and never truly freed. Larger ones use mmap which gets freed.

Guess the solution would be either preallocating/reserving everything, or maybe using custom allocators that works with bigger chunks
Some of those could also be said of Snowden, but he found some impactful, explosive material.
How would've it been worse? Waiting for a timeout is a good thing as it prevents a thundering herd of refresh-smashing (both automated and manual).

I don't know BGP well, but it seems easier for peers to just drop FB's packets on the floor than deal with a DNS stampede.
iOS devices never advertised support for booting whatever you want; Macs always did. Very, very different product lines.
The one I got has the print slowly falling off the cover, so maybe that's one of the things they try to save money on? Or maybe I was just unlucky, I'll still buy some of the other books they have put out.