skysight-inc/HackerNews huggingface dataset:
I am not a comp science guy, and I just know next to nothing in case of either data structures and algorithms. But, knowing how and why the data structures work can help you when slapping the code does not work.

We had a code base maintained for almost 5 years that has to deal with one type of representation of data to another. The result form allows keeping combining two data points with some differences i.e. calls and arguments.

The combining the nodes and finding the differences happens as last step. It was just too much hassle to deal with comparison because, the initial form does not have much complexities but resultant form has much more complex datatypes. And we have to compare it with all potential things that could match. The complexity is inherent to the problem of comparing final representation.

Maybe it is obvious to other people here, but when I saw how the hashmap works, I was blown away. It is not just about having any datatype as index, it is about how efficiently you can find the index. It was about REDUCING THE EQUALITY CHECK. Because, it is costly, particularly when you are dealing with very deep tree nodes. That is where hash comes in.

So, we traversed the nodes once and created a signature of the structure that cannot be made into arguments and some other metadata determining its type i.e. hash. And we introduced an intermediate representation for effective comparison that is hybrid of initial and final representation. That sped things up so much. Now almost all the work of five years has to be thrown away.

I think such things exist in almost all projects. You would not know you need it, until you need it.

Edit: Added a point.
Java and C# are Obsolete in the Age of Docker
> The internet snatched civilization destruction from the jaws of progress.

Remarkable how someone can post this bad take on the internet on the internet forum for the most internet-connected people who work on the internet.

I'm old enough to remember when the internet was a liberatory technology. Even facebook/twitter were getting praised as recently as 2011 for the Arab Spring. And of course, even today, "cut off internet access" is a key checklist item for repressive governments.

That doesn't mean there aren't severe problems being caused by social networks, but we should be specific about what they are and targeted in our solutions.
This isn't a very good article. Why is there no mention of E2 visas? This is a huge category and by far the most useful for people in eligible countries, especially in the tech sector. They even mention E3, but not E2.

They haven't really researched the DV lottery. You chances are not higher with a higher country quota, and there are no fees to enter. If you win, you then have to pay fees to proceed with the application, but if you then fail to get the visa, these fees will not be refunded.
>His point is that young people have had to rely on the internet for education most of the past year and that’s been difficult for less wealthy people.

I think that needs to be qualified because this kind of argumentation tends rely on naive and simplified tropes and stereotypes of various class groups.
More detail: https://bitwarden.com/help/article/about-send/
Color me as slightly disappointed that this piece wasn't published on Medium.
I use this on my Manjaro KDE work machine and it has been a life saver since switching from Mac after 10+ years.

It works shockingly well.

Only annoyance is that applications are not necessarily aware of the new mac layout so if you're using an unfamiliar application looking up the keyboard shortcuts won't map exactly to what you need to press.
Decentralized Autonomous Organizations.
How are these things joined? I don’t see any rabbets or dadoes.
There were more remainers than leavers at the time of the referendum. It's just the young ones couldn't be bothered to vote. I mean I know that's how elections work but the "leave is the clear will of the people" stuff was guff.
Asymptotics and perturbation methods – Prof. Steven Strogatz
If you remove your hosts entries from /etc/hosts and then create your hosts entries using dscacheutil, and then restart Safari, does Safari begin respecting them?
Completely pointless? These equations guarantee the integrity of the distributed ledgers that power cryptocurrencies. Governments "stepping in" is exactly what motivated the creation of these things in the first place.
My only experience with emacs is doom emacs, and only about 6 months, but I haven’t felt this pain other than getting the right formatter to format. I’m doing frontend react work so primarily tsx and sass, so maybe not a counterpoint but
... and this is what you get: A lifetime appointee to the house of lords has proposed a curfew for men after 6pm.

https://news.sky.com/story/sarah-everard-baroness-who-sugges...

This idiot (who is clearly making a completely idiotic contraproductive and divisive point, since I'm charitable enough to not take her at face value) is there for life. She can't even be voted out. She's there for life.

But what can you expect from the Green Party? Are they actually competent at what they do in any country?
Libpng: Worst API, Ever (2007)
> Because then you can't negotiate.

Why not? Maybe your position is not as strong as having another actual offer, but that doesn't mean you cannot negotiate at all. In any case it's hard to have all your offers all at the same time, but you could still have an offer from Company C before Company A (if you knew you'd be interested in A even before the application, you probably want to practice with another company), giving you some reference.
This last year, a large part of UK teaching to children of all ages has been entirely online. No internet == no teaching.
It seems like a centralized approach for this topic is not a good one.
Thanks! The knowledge graph is actually more helpful for the user and also has more functions to it. You can interactively link pages together and also create new pages on the graph itself for example.
Any guesses on why? I'm trying to get a new dev laptop with a Ryzen 4xxx or 5xxx but none of the _big_ enterprise vendors (dell, lenovo) have it yet.
>> If it takes say a $2 million loan to acquire land and build units for 100 families

According to the Terner Center in 2016 in CA the cost per unit was ~ $425k (probably more now) or $42m to house 100 families.

https://ternercenter.berkeley.edu/research-and-policy/the-co....
Any truly secure phone will attract criminals which in turn will attract law enforcement scrutiny.

It's like building a private house with barbed wire, armed guards, ... people will wonder what's going on inside.

Today, the only way to make it as a criminal in the West is to fly under the radar.

Stuff like "the Amazon of drugs", or "the WhatsApp for criminals" will always be taken down.
Okay well if that is the case I'm less concerned!
I agree - brushless DC motors really make AC motors obsolete in 90% of use cases.
Anecdote too. I work for a large bank too, and >95% of our business has now moved off the mainframe. Took about 8 years to migrate.

I’m not savvy on the costs, but I think the main benefit of ditching the mainframe is you can start using the IT tools, expertise, workflows, languages, frameworks, best practices etc. that 99% of the world is using.

With the mainframe, you’re in sort of a shielded of nook of the software world, where everything is fast and stable but also juuust a little different.
If you acknowledge the results are not a 100% reliable indicator then there is a margin for error. The key difference is whether you look at it in the context of

"This result is reflective of what the majority _want_"

or

"This result is reflective of what the majority _voted for_"

The latter isn't always the same as the former in cases where information isn't clear or where the poll options are too vague. Both of which plagued the EU referendum.

I do get your point that "margin for error" is a statistical term and it is not technically being applied correctly here. But the crux of what that term refers to does still apply to the former context above.

As for why the context matters: because every conversion that happened since focused on the former point with MPs even coining the phrase "the will of the people" yet the people's "will" was still unclear.

That all said, I don't think there is any way such a referendum would have worked on a topic as diverse and complex as our relations with the EU.
If so, why were they not apathetic and ill-informed a mere then, not even 100 years ago? Certainly people of the time thought Britain was peace- and freedom- loving then, too.
Oppo Find X3 Pro 'Microlens' microscope camera has 60x zoom
Eh, I am in both camps at the same time. I know what you are saying is true in theory, but in practice ability to make money efficiently trumps everything else. Even at bank bank you see people cutting corners for variety of reasons ( and when you see it you have to react ). I can't even imagine how bad it is in unregulated/less regulated industry.
Honestly (and I hate saying this) but you could stick the hashes in a public blockchain and get clients to verify. But of course this would cost money and any Merkle tree would do, but I can’t believe I just non-ironically suggested a blockchain for something.
Great article. The history of how people learned to understand science is incredibly fascinating to me. Just as interesting as science itself, or perhaps even more so, at least to me.

When I was in graduate school in the 1990s I knew some people in the department of History of Science. At the time they seemed like fools to me, babbling about science instead of doing it. Part of that was perhaps because they seemed to put a lot of effort into puffing themselves up and looking at everything from a certain angle influenced by politics.

A lot of things are "obvious" to us today, just because they were taught to us as children. But at some point in history, these things were far from obvious. The idea that we're living at the bottom of an ocean of air that has weight is an example.

What fascinates me is the process of how people figured this out. Experiments help with that, but first you have to have the right frame of mind to come up with the right experiment, and draw the right conclusions from it. That people were capable of this is a fascinating illustration of the power of the human mind.

A similarly interesting story is the discovery of using lime juice to prevent scurvy, and how the knowledge was then lost and finally regained in the 1930s when Vitamin C was discovered. All of this seems "obvious" in retrospect, but at the time it wasn't.
buy raw milk from a local family farm. its one of the best ways to spend your money
>The NHS is a socialist anachronism

Always makes me laugh when Americans use "socialist" as a derogatory term. A huge number of people in Europe [myself included] are proud to consider themselves "socialists".
> It works best with a small hardware extension (a small speaker/headphone) to focus the sound on the mic, making it silent its surroundings. An idea how to build it is found in the Menu.

Great when you know where the microphone is but can’t leave the area for a private chat; not so useful when the microphone is any nearby substance that reflects some wavelength and which vibrates enough when exposed to sound that the reflected light can be decoded.
That's the absolute best case for the simplest malloc implementation possible.

In the real world, a malloc can involve picking an appropriate zone/arena based upon allocation size & the current thread, obtaining locks, chasing some pointers through its data structures, doing some book-keeping, perhaps even calling up to the OS to increase the process space.

Maybe in the very best case it can just shuffle a couple of pointers, but over time it has to do a lot more than that.
externalities in this case are caused by energy producers, not consumers.
Compromised or stolen?

Identity theft can fuck you indefinitely.
Convenience. Why bother with stuff like, say, validating your Signal "safety numbers" to ensure that you are actually talking to your contact and not the police? Why bother with insuring you are quickly deleting your old messages? Why bother with finding a burner SIM? Instead, just farm out all the boring detail to someone else and buy a "secure" phone for $1-$2k. Unfortunately, at that point you are trusting a third party which becomes a single point of failure.

There was a case where a company was selling a "PGP phone" where it turned out that, to save having to bother the customer with key generation on the phone, they were doing it on the servers[1]. So the police grabbed the servers with all the private keys and there were a lot of sad customers.

To do end to end encryption in a way that works, there is a minimum level of understanding required. These "secure" phones are really a type of scam that preys on the not sufficiently informed.

Note that Signal on a smart phone is not anywhere near the most secure way to communicate over the internet. Smart phones themselves are not particularly secure and are vulnerable any time they are unlocked. Instant messaging is inherently insecure because it is always on and thus makes it impossible to keep the secret key information locked up securely when the user is not in a safe environment.

[1] https://securityaffairs.co/wordpress/57036/cyber-crime/black...
You should switch to develop. They are working on release 300 and there are commits being merged daily.
For this to work it would have to be included in all major OSs and/or browsers. People just use what they know and what they can use, even if it sounds tautological.

E.g. it's pretty hard to convince even small groups to use a mailing list, to upload e.g. photos of shared interest to e.g. a google drive (instead of mailing them around or just sticking them into a FB group). It's doable but it's not the norm.
You will inevitably need dedicated keys (e.g. use the numbers row for this, keypad for numbers) for accented characters if you use type in an accented language actively.

For cases when you just want an accent occasionally compose key is great.

The Mac way (long-press, select) looks cool but it hardly is convenient to press and wait seconds for every accent if it's there in almost every word.
Assuming that you have your email configured to require TLS on the receiver than I don't see what is wrong with email. Even if they downloaded the files from your server they probably just stuck them on some file share which at best is just as secure as their email inbox was. Many organizations have policies for email retention and similar that is less likely to be enabled for file storage.

I would love to see more places just use email. Instead I get these messages with links to proprietary services to get the file. Now I need to download and store it out-of-line with my conversation.

I think the major issue with email is that encryption is optional with transparent downgrading. You can imagine that if it supported something like mailtos:me@example then it could be used as a secure medium, much like https can be trusted today.
In this context, I think we should not call them "tests" to not mix them up with "runtime tests". Even though they are indeed tests in a sense
Show HN: circuit – data binding library
| neomarxism

Well at least you dropped the laughably contradictory post-modern part.
> If you acknowledge the results are not a 100% reliable indicator

But they are a 100% reliable indicator of how people would vote, because they did vote that way. And I'm really not sure it's valid to start second guessing that what people actually wanted is different to that, because you then have to second guess every vote and really, where does thaty leave democracy?

> That all said, I don't think there is any way such a referendum would have worked on a topic as diverse and complex as our relations with the EU.

Very much agreed.
Crazy idea but what if plants are actually higher lvl beings? They are more self-sustainable and helpful to ecosystem than humans.

Actually they probably aren't because I guess otherwise all different planets would have them (but hey we are also only here so far).

There's interesting question what would god-like(unlimited power over mater and limitless knowledge) entity do? I guess killing oneself and recreating with sprinkle of rng makes some sense after such event as you probably get bored thus I'm speculating that universe could be god itself (if it's bound by same laws of physics - if not then IDK). Don't ask me what I'm smoking :p
The pinephone looks very promising though softwarewise is not there yet, it keeps on inproving quickly.
>> Also, economics isn't immune to bias. Are papers showing a link from immigration to low wages, or crime, or reduced trust, likely to get a fair hearing?

>Yes, I believe they are. I am wary here of Michael Gove's quasi-fascist rhetoric of having "had enough of experts".

Heh.... I'm an economist. Trust me on this one.
“Has Y Combinator lost its way when the latest company is a backup app you can already build such yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem”
1TB at 100Mbps is about a full day of transfer.
If I understand correctly, fingerprints were quite the nerdy technology back then. They're not beep boops in a data center, but it takes a high degree of nuance to argue against "if you didn't commit a crime, you have nothing to worry about."
One of my dad's friends called them "party plates", and that was over 20 years ago.

https://thenewswheel.com/a-bit-about-ohios-scarlet-letter-pl...
Remember also that the arab spring featured some coups, G was found to be shaping traffic during some of the re-elections to shift voting. Internet is not inherently good or neutral.
If you where a really high level criminal you wouldn't use a phone at all, you'd pass all your instructions in person to lieutenants who'd pass them on down the chain.

This was largely how the Mob operated for decades and why RICO was created.

Communications security against national state level organisations in the current environment is a no-win situation for the defending side, you can make their life more difficult but for you to go truly dark means using nothing that shuffles electrons around.
Two feedback points:

* Password field for creating new sends should be named differently, as by default Firefox autocompletion puts there my account's password there. Potentially should be exposed from OPTIONS panel. Alternatively it can be generated by default, and then once the message is created, will be shared to the creator - or stored in options menu of my sends

* Missing an option to expire message after first opening. It's like a self destroyable notification that can be read only once. Why? For the instance if I share some confident information with someone that I know is going to open very soon, then once he/she opens the message it will be destroyed, so that if somebody accesses either my or my friend's machine, it will be impossible to read the secret message. Another aspect is that if my friend will try open the secret message, and it will show that message doesn't exist / was destoryed - then we know that message was compromised.
My raspberry pi does 9 hours.
I don’t know anything about Indian culture; could someone who is from there shed some light on how prevalent the prejudiced mindset is? E.g., do 80% of people think the caste system is stupid and outdated whereas the other 20% still hold some prejudice toward Dalits? What about Indians that have moved to the U.S.? And is this issue improving quickly or slowly?
Farage mentioned it and decent proportion of Brexiteers would go for it.
Nice example, I remember that from Ethics back in college. But there's lots of Greeks that would say Yes! Give them their weapons.

See, you have no right to decide another's state of mind is 'not right'. That's taking their agency from them, treating them like an incompetent child. Like trying to 'murder their Self' or some such.

You can say for instance "I know where they are but you're upset. Can we talk about this before you do something you'll regret?"
AFAIK the bitwarden apps hold a local copy of your database. So if the servers go down you just use the local database, from which you can also export from to csv as well.
How about trying to define both first? I am not sure what data-oriented means.
> It’s broken by design.

it's genius by design. so far nothing other than PoW was shown to work.

> We shouldn’t keep Bitcoin alive just because it was the first successful attempt.

you're not keeping it alive, it exists in a free market and there is demand for it.

> That has been tried, it’s now clear it’s not sustainable over the long-term.

not clear at all. so far looks like it's the most sustainable system of decentralized value storage and transfer compared to all others.
This sounds like it should be a ShowHN? Then we can click the link also.
well, yes, the UK has many problems including some of the above, but most Western countries are deeply flawed in terms of real freedoms - e.g. US governments routinely murder people (both official "judicial" executions and extra-judicial killings by police), the "patriot" act abridges all sorts of freedoms in the name of terrorism, routine civil forfeiture of random property by police, denial of basic healthcare for many people, abridgement of basic bodily autonomy for women with many states ready to end it entirely if the Supreme Court ever changes it's mind, secret unappealable no-fly lists, everything to do with guantanamo bay or CIA "black sites".
I find it interesting the author didn't mention field hockey. My daughter is a goalkeeper for her youth club. The goalkeepers wear very similar pads, and face shots at similar speeds with the same safety concerns. (I wouldn't want to be hit with a puck or a field hockey ball).

The cage is much larger in field hockey:
https://i2.wp.com/hockeyanswered.com/wp-content/uploads/2019...

The save percentages are about 70% vs the 90%+ in ice hockey, but the game scores tend to be similar to ice hockey.

If the goalkeeper is getting bigger because of the gear, even adding a few more inches onto the net to maintain the desired scoring percentage makes sense at least at the professional level.
> There are zero secure messaging smartphone apps and there never will be unless smartphones substantially change.

Agreed - if you really wanted to make a (more) secure messaging device then you wouldn't base it on a phone to start with.
Seeing how banks and other industries are throwing money at the wall to migrate away from the mainframe, and seeing how money speaks louder than words, I’m doubting that last statement.

Also, you don’t buy mainframes, you rent mainframe CPU cycles. Or actually, you will pay for the rolling window 4 hour peak of CPU utilization.

IBM will gladly ship out the fridge sized box that holds those CPU’s to your data center for free, as soon as you turn it on their cash starts coming in.
Music NFTs Have Gone Mainstream. Who's In?
Lordstown Motors: Fake Orders, Production Hurdles, and a Prototype Inferno
Although I had similar thoughts, one always needs to keep an open mind about what it can grow into.

In the thread, it was obvious that for some people it would alleviate a pain : keeping track of synchronous events across multiple platforms.
>when they don't have the internet to destroy creativity and distract people from using their imaginations.

There is no way that the internet is solely to blame for a child's creativity and imagination dying. Think about the billions and billions of creative projects on the internet.

I'm afraid that what you've done with that line is sort of romanticize some fictional past where kids were kids and men were men and women were women. There was always something that people tried to blame the death of creativity on - when I was a kid it was TV. When my grandfather was a kid, it was reading and books.

While I agree that "social" media is destroying many social conventions, I absolutely disagree that the internet is to blame for killing childhood creativity.