skysight-inc/HackerNews huggingface dataset:
Terms:

* Event - an asynchronous action, possibly but not necessarily the result of human or network interaction

* Handler - a function that executes instructions upon the event

* Listener - an abstraction layer to bind handlers to events using an allocation pool and not assignment. One handler may be provided to multiple listeners and one event may receive multiple listeners

* Callback - A function provided to a handler such that instructions not associated with the event are executed via reference

You can assign a handler directly via a DOM property:

myNode.onclick = myHandler;

In this case there is no listener. There is a node, an event, and a handler only. The handler is implicitly provided an event object as its argument (if not explicitly specified), which in turn provides all the identity necessary for the event and node without further abstraction or external assistance. The node identity is `event.target` and the event identity is `event.type`.

The limitation with handler assignment is that only one handler may be simultaneously assigned. This is bad when your media/analytics team, who has no idea what they are doing, installs a bunch of third party spyware on your business site without permission that wants add a bunch of data tracking to every user interaction.

The benefits of handler assignment are: guaranteed garbage collection bound to the assigned DOM node (and more specifically the actual event if the event is reassigned a different handler), code simplicity (forced), no listeners.

A listener allows association of multiple handlers to a single event and/or reuse of a single handler to multiple listeners.

The problems with listeners is that they wildly complicate code and the respective handlers are difficult to garbage collect. As the given node is removed from the document the best practice is to manually call `removeEventListner` on each listener associated with the DOM node. Garbage collection is difficult for these handlers because there is no clear relationship between them and their corresponding events. The risk of not garbage collecting resources is that the application grows in memory with every event interaction, often unnecessarily duplicating allocations, until the application fails. Performance is also impacted in a logarithmic fashion as the stack size increases. This is called leakage.

Frameworks attempt to solve some of these problems with handler/listener allocation, but they aren't universally successful and it is challenging to measure how unsuccessful they are as it varies by instance.
I don’t know what gives you the impression that course duration somehow equates to course quality.

An educational resource existing for less cost and longer duration doesn’t translate into anything real without quality ciriculum and instruction.

A lot of content on both YouTube and Udemy is…not great. And even then not necessarily curated in a certain way, etc.

Furthermore, courses like this in general often are geared at developers/engineers who are already employed and could even get reimbursement/coverage for from their employer, which offsets or eliminates the cost entirely.
> US military a force for good

The US military has never been a force for good, nor a force for evil either. The US military, like all other militaries, is a force for its own country's purposes and goals only. The rest is propaganda.

History has put the US in such a position this propaganda, and the area of control of its military, is extremely widespread.
it will go down again soon. these things happen. it cant keep going up, capitalism will fix it.
And yet it can weaken them severely beyond design limits.
Hey Will I’m sorry it didn’t work out. We’ve actually adjusted really well to COVID (in no small part thanks to our amazing employees).

We care a lot about our hiring experience. I’d be happy to chat about this over email. Feel free to drop me a message at Bilal dot Aslam at databricks dot com.
Very misleading title on the submission. The New Yorker's title is no better, but their subtitle is half-decent:

"Stranded in Yemen’s war zone, a decaying supertanker has more than a million barrels of oil aboard. If—or when—it explodes or sinks, thousands may die."

Summary - The unmaintained, rusting tanker is at the entrance to the Red Sea (and thus the Suez Canal). The side in the Yemeni civil war which controls it is enjoying considerable benefits from the ongoing threat of a huge oil spill. Diplomatic efforts at a resolution have gone nowhere.

Note - In the context (derelict tanker, crude oil), the term "explode" refers only to the explosion of some flammable vapors at the top of the oil tanks. That would (very likely) still be enough to start breaking up the ship, thus spilling ~all the crude oil.
How to Encourage Employee Sharing and Engagement on an Intranet
Try hacker's keyboard

https://github.com/klausw/hackerskeyboard
Cincinnati - ordinary products seem slightly elevated, while "splurge" purchases (especially at the butcher counter for beef) seem significantly elevated. A regular grocery buy has gone from $125-150 to $150-175.
Experts in <field> dislike it when laypeople treat <field> as unimportant and disregard it, also get even more upset when—still paying little attention to it but jumping on nonsense spouted by propagandists—laypeople pretend to know more about <field> then experts while undermining it by parroting dumbass conspiracy theories they are fed about <field>.

Seems perfectly normal, and common across fields of expertise, not “ironic” in any way.
Emerson Plans to Merge Industrial-Software Businesses with AspenTech
The furry world has been 3d printing sex toys for a very long time now. Bad Dragon is still better quality overall, but you pay for it.

She's also not added a flared base to it, which with her equipment probably isn't an issue but still a nice touch for completion's sake, especially if she's going to share the file.
I tend to think that, in response to the title rather than the body of the article, the actual worst case scenario for single source failure in the tech world is that either an invasion of Taiwan or something else jeopardizes TSMC's manufacturing. This would be easily a COVID sized event. I know there's a lot of news about countries trying to spin up semiconductor plants locally to help defend sovereignty against this possibility, but no one is anywhere near ready for it to happen.
They added a tac eventually, I guess after their trip to pen island. It was expertsexchange.com for a long time though.
I kind of agree with the point you're making, if not the tone but I'm intrigued by the final comment about social justice.

Is it a common stereotype that 'social justice' and DINKY (or indeed SINKY) lifestyles are linked, or is it just a general generation-based complaint?
Your comment is being downvoted not because people disagree with you, but because it is not bringing anything constructive to the discussion. Perhaps if you bothered to write about what you think the meltdown really is related to, your commend would have some value.
VisiData is not a spreadsheet. If you need to do spreadsheet things, then you should definitely use Excel (or equivalent).

However, VisiData beats the pants off Excel for exploring and manipulating data for many reasons, including:

- Excel is cell-oriented, whereas VisiData operates on rows and columns.
- Excel can't deal with JSON (including API responses with nested objects), nor sqlite, nor GB csv files, nor the dozens of other formats VisiData supports (visidata.org/formats). Even the files on your filesystem.
- Faceted browsing (Shift+F) and many other powerful tools with only a single keystroke.
- VisiData takes advantage of the Python ecosystem and can easily be extended with Python.

Basically, if you can meet your data needs with Excel or Google Sheets, then sure, go ahead and do that. But when what you need to do is difficult or impossible in a spreadsheet, your alternative is to write a throwaway Python script or figure out the syntax for jq or xsv or sqlite or whatever. Chances are VisiData will let you do it much much faster, even if you have to look up every command. And now there's a handy menu system to make it even easier.

[Disclaimer: am author of VisiData]
> The government, the justice system, the corporate world and finally the citizen should lead in the struggle to decarbonize the world, not the consumer.

That always sounds like an excuse for doing nothing to me.
that is the same as my point. You have to be able to read the emotions of all the other market participants
I used to have the tuner pedal early in the chain, but recently I've found it more useful as last pedal. That way I can troubleshoot my signal chain without the amp being on / audience hearing noises. Might not work for everyone.
> Deaths from the common cold aren't classified as such;

If you are unable to find evidence that supports your claims, aren't you basing your personal beliefs in unsubstantiated hypothesis which are rejected by the facts?

If you are not able to come up with a rational basis for your beliefs and even outright reject facts that refute your personal assertion, what exactly suggests to you that your statements are remotely compatible with reality?
Sorry if this is well off topic, but what is the word you've censored in your penultimate paragraph?

> g**mn ad platforms

I can't for the life of me figure it out. At first I thought you meant "gaming" because of pointless "gamificiation" (no, I don't want to collect a gem and get virtual rewards for "streaks" every time I tune my guitar to encourage me to engage with your app every day) but that doesn't quite fit, nor does "Google"
You could check out self-managed organizations, like Semco in Brazil.

https://semcostyle.us/

You still have executives, but lots of management decisions are made by employees themselves, like decisions about wages and scheduling.
The DMCA, with all its faults, outlines a challenge process performed largely outside the courts. Something similar could be done for banks: bank shuts down account for company, company appeals providing some proof, bank files proof somewhere and reinstates. If the bank is then sued by government or third party, it is "safe-havened" by such proof. If proof is found to be false, the company is responsible, not the bank.
I try to do everything in plain-old Java, and my code just keeps running release to release.
The market for nonhuman sex toys is huge, mostly driven by the furry community: bad dragon, primal hardwere, weredog etc.
ANO actualy got more mandates (chairs) than Spolu, due to some system which gives different weights to votes from various districts. However most likely he will not be able to get 50% needed in order to accept new laws, since all his possible partners were defeated as well. (including communist party, which for the first time in exactly 100 years didn't make it to the parliament)
This ship is unfortunately not alone in the world. Here is another one:

https://en.wikipedia.org/wiki/FSO_Nabarima
Same anecdata here as well. My girlfriend bought >$50 worth of groceries yesterday at Walmart and I couldn’t tell what had been bought today when I was looking for something to eat. These CPI numbers are bad and they don’t even begin to match my experiences.
https://archive.is/OrNdo
Well, yes, that's my point.
I second this.

I pay ~£1700pcm for a nanny to look after my 2 pre-school age kids 5 days a week.

This is (obviously) paid out of post tax income. At current UK income tax rates this equates to earning ~£2100 gross.
Noun Project: Free Icons and Stock Photos for Everything
Yeah, at least parts of the world. And referring to "shit like this", some of it (e.g. the Marshall Plan for rebuilding Europe after WW2) has been more successful, but most of it less (e.g. Afghanistan, where the more or less liberal regime which brought some prosperity, although only to a few, collapsed 10 minutes after the US withdrawal, or Iraq, or Vietnam...).
Which is the imo correct approach. Instead of unwrapping and rewrapping the exception at the closest level, I want to handle most exceptions in a common place. Eg, in case of a web server that place would give a proper error page to the user whenever an unhandled exception happened in his/her request.

Also, Java’s exceptions are pretty much the exact same sum type as in Rust, just with added syntactic sugar. A method with a throws SomeException signature will have a type of Result<Something> | Error<SomeException>, that gets autounwrapped for you, with the added benefit of giving you a stacktrace by default.
Hah, what a simplistic conclusion, one that "This supports my hypothesis (and I'm emotionally attached to it), so I'm going to stop investigating.".
Why wouldn't you use machine learning? This is simply using a random forest, nothing exotic or some overly complicated neural network.
Exactly, I don't get it why people think JDK 12-16 are inferior in any way, this is normal software tests in same way as any other JDK version.

The only difference appears after 6 months after release - if you don't want to upgrade (you should) you have to find vendor that will sell you support for given release.

E.g. Azul provides it for 11, 13, 15, 17. Oracle for 11 and 17.

Adoptium provides builds (not LTS) from 11 and 17 branches, where some vendors push their bugfixes. So it is like a semi-LTS, they won't fix your bugs, but if someone fixed a bug it most likely will end up on that branch.
I think its goddamn ;)
It needs to be put in context. If a Carrington type event takes place then much of the tech we take for granted will be offline. If you do GPS navigation it doesn't matter if route planning is offline because the satellites themselves might be broken. It doesn't matter if you sell makeup because the delivery drivers, planes, and boats will be unable to navigate adequately to delivery anything. If doesn't matter if you stream videogames because many ISPs may well be offline.
Show HN: CreatorScout – Discover Twitter accounts to follow and promote your own
https://archive.is/XMJEm
Actually, humans have relatively large male genitals relative to body size when compared with other animals. (I am at work ... so no way I am looking up sources for that ;-) )
A cryptography game-changer for biomedical research at scale
Stack was really meant to save parameters for function calls and local variables for functions or in your terms sub-routines. In a well organized program, usually you would not need much stack space unless there was something went wrong, such as a recursive call without termination condition etc..
Thanks for mentioning this, it made he check if there was a duckduckgo bang for this and yep, !ais URL works.
Everything is broken because there's no perfection?
China has won AI battle with U.S., Pentagon's ex-software chief says
> Excel is cell-oriented, whereas VisiData operates on rows and columns.

PowerPivot, which is the key Excel data-wrangling component, absolutely works on rows and columns.

Heck, so do Excel tables.

> Excel can't deal with JSON

Yes, it can.

> nor sqlite

Definitely can.

> nor GB csv files

Sure can. Maybe not the 32-bit version, but...
I've been having a hard time finding Twitter users to follow without relying on existing connections, so I decided to build a platform to make that easier. Essentially it's a directory that uses filters such as interests, location, and identity to show you users you might be interested in. On top of that I also built a Tinder-like section where you can meet users 1:1 and have all sorts of conversations.
Agree. Have family members in the pilot's union and in the air traffic control union.

The White House thinks they can force unilateral changes to the union contracts.

If the unions admitted to what was going on, the White House would have more legal authority to intervene more directly with the unions.
Exceptions are exactly the same thing as sum types, there really is no difference between them on a conceptual level. They just come with additional stack traces and good, no boilerplate syntactic sugar in Java.
So what? MICE is meant to help with listing the reasons why someone would betray the confidence of the organization, not to match your idea of common usage. You can leak information by mistake and this is also a valid case, but it is not included, because we are talking human resources management, not operational security or counterintelligence practices.
Not really. If you mistype O and get a zero you're not likely to notice, but if you were after a P you're much more likely to notice and correct it.
"We" implies people interested in financially supporting to-be-ex firefox developers directly
You can get reasonable results printing minifigs with a FDM printer ... tiny nozzles (0.1 mm), tiny layer heights (0.05 mm) and very slow print speeds (<10 mm/s) will get you a long way ... but even then resin printers just blow the results out of the water easily.
https://archive.is/VnKGT
They aren’t as cost effective, powerful, or as widely deployed.
Decapping a NAND Storage Chip with a Laser
> You can see how this is a problem, right?

Without a doubt. I am among the cynical.
But at least you will get a free vaccine booster every year.
RBA says major cyber attack against Australian banks 'almost inevitable'
YubiKey C Bio
This kind of things is what I think of when people complain about "hidden external costs of electric cars".

Yes, recycling batteries is an issue. Conditions in rare earth mines are an issue.

But when you want to "consider hidden costs" of EVs you should do the same for ICE cars. And there are lots of these, including building, maintaining and recycling supertankers, refineries, pipelines, oil wells on land and in the sea, causing oil spill every decade, keeping oil tyrannies in charge, fueling resource wars in 3rd world countries.

But it's status quo so it doesn't count.
> wages are re-negotiated

It's common for wages to be contractually indexed to prices, so that they are automatically updated to reflect changes in the cost of living. See here, for some examples: https://www.ecb.europa.eu/pub/pdf/other/mb200805_focus05.en....
Now do stats about energy usage!
Not that many years ago you'd be writing the exact same thing about USSR. It's pretty funny to watch as an outsider who has zero stakes in either side.
Mortgage rates have quite a direct impact on house prices.
> in the old days the smartest kids of the block were lured to figure out how to get to the moon and how to get electricity from splitting atoms

Part of it I think was just money. Wasn’t that all funded by the government? If you throw money at it, people will go there. It’s the same now.

There was also a naive optimism of what the future could bring with space travel and free energy from nuclear power … then reality hit.
> However, that doesn't mean the fires have gone out.

You can say that again.

It kind of horrifies me to know that is used to be that much worse; databricks as a company is the king of the MVP.

Does it work? Kinda?

Quick, let’s early access it with some suckers and get them to find all the bugs (like got integration that sometimes checks out your files and sometimes doesn’t). …or maybe just drop it in as a feature we never bother to test actually worked (azure sas token authentication for example…), or just never really worked (R), or just was too hard to do (scala in credential pass thru clusters, or hell, even being able to explain the dbu/infra cost split in billing).

Time to move on to the next feature, whatever of the ten things you never originally provided (currently, but not limited to user level auth, ingestion, task DAGs, source control all at the same time).

After my 2 years working with the platform, my interest in how hard the problems are and how nice the folk there are is… pretty limited.

This is pain in the ass platform to work with.
You're right, it should have it's own name. It's much closer to drug use. Constantly context switching with high emotionality. "Dopamine streaming"?

It takes a lot longer to put out an inflammatory book and it's harder to actually write one, because it has to be a whole book, not just 3 paragraphs. There was a lot less data easily accessible, meaning you had to have instincts of a seasoned craftsman or luck. The medium itself really did help us out for a long time.
If you're in a situation where you need unlimited command line args then you're probably better off reading in a config file instead.
Pixel 6 is coming soon, but should you buy Google's Pixel 3, 4, 5 or 5A instead?
you should be. High food prices are one of the regular triggers of public uprisings/revolts.

Hopefully you don't get one where you live, but in a globalized economy, it doesn't have to be 'where you live' to affect you.

But I see your point, the US (I'm assuming?) is stuck in political impasse.
This looks much like any other "language X is great!" postings.

> one developer might use the NumPy package, another one prefers SciPy, and so on. When programmers want to blend their code into one package, things get messy.

I don't even understand that. SciPy is built-on NumPy. Where's the messiness?

> In Go, there’s only one way to write a piece of code. Compare that to Python, where you have zillions of ways to write one thing!

I also don't understand this. There's oodles of ways to sort a list, no matter what language you use.

The idea for Python is there should be one obvious way to do it, in this case, list.sort().

> Go is one of the most collaborative languages that exist these days.

Notice the author doesn't claim Python is a less collaborative language. Such a claim would be hard to justify. But if Python were more collaborative, then surely it would be harder to justify switching.

> So it’s no surprise that the community plays an explicit role in the annual Go surveys — unlike in many other languages.

The title compares Go and Python, so pointing to "many other languages" seems a bit bait-and-switch.

> And on these domains, other hot new languages are emerging.

That points out Julia, for data analysis and machine learning, but not Rust, for systems programming, which would potentially compete with Go more than Python.

> you can see that many of Python’s usages could be replaced by Go.

By the same logic, many of Go's usages could be replaced by Python.

> According to Hackerrank, about a third of all programmers wanted to learn Go in 2020

The comparison must be normalized, and I'm not going to register to get the Hackerrank report.

Let's say that 70% of all programmers know Python and 1% know Go. Then at most 30% would say they want to learn Python, while 99% could say they want to learn Go.

In that case, every programmer who do not know know Python wants to learn Python, while less than 1/2 of the people who don't know Go want to know Go.
All Iran has to do is make it known that they want this fixed. They control that area. The IRGC must not want it fixed.
The kind that has to keep working 5 days a week while you don't certainly could. Not saying they would, but it is a real possibility.
That is if you not care about usability and security.
The day their scientists are employed by academia.
I don't get this - being hyperfocused on completely irrelevant details.

"That blue race car has a low suspension making it hard to drive on the streets."

"Wrong, the car is a navy color, very misleading example."

Yes, the most expensive at the walmart physical store are $7-8 for 8 after tax. The point of the example is that 60 buns are a hundred bucks. The guy never said how many buns he bought. There are 8 per package, he could have bought 3 boxes. The example is that not given quantity the price could be anything, and the OP's post where he gives a total for an unknown quantity or brand of anything, is not useful to support a claim that prices went up.
I’ve spent more time mastering my resin disposal process than printing with my resin printer. From settling, exposing and filtering my isopropyl alcohol so I don’t waste tons of money on rinsing my prints, to how to handle all the partially cured resin and avoid contamination (was really surprised to discover the sorts of things that will soak up some resin chemicals and get. Discoloured)