skysight-inc/HackerNews huggingface dataset:
Blog post: https://ai.facebook.com/blog/nllb-200-high-quality-machine-t...

Paper: https://research.facebook.com/publications/no-language-left-...

Github: https://github.com/facebookresearch/fairseq/tree/nllb/
I grew up in a neighborhood (in the US) where the average house looked similar to the one shown but that had two "mansions" in it, one of which was truly impressive. There was another house owned by some people who had a lot of money that wasn't very impressive but was on a very large lot.
> You might like pinging people so they get a notification on their phone, but they might not like being on the other end of your ping :)

This is a false dichotomy between "you have to receive annoying pings" and "there's no notification system in your chat system".

What actually happens in real life is that chat systems, even proprietary ones, give you control over what notifications you receive (and when you receive them). Discord, in particular, gives you significantly more fine-grained control than any FLOSS tool that I've ever seen.
A nation state has more than one way of extracting information from enemies of said state. There's the civilized way we now call hacking, and then there's the traditional way, which may or may not involve technology.
I don't buy this. There are many contexts in which a smart JIT compiler can detect that an expression cannot be modified. Especially since, due to the GIL, python code is mostly non-threaded. They just didn't spend enough time to do the hard work that people spent on Javascript.
Ahh that’s fair enough. I think it’s fair to say “brainfuck” is outside most peoples domain. I was just curious how your search engine performed on less common search queries (the kind that are trying to debug a rarely hit problem with an otherwise popular framework or language and thus you often spend hours digging through irrelevant answers before you find that one blog post that solves it) but couldn’t think of a more realistic example off the top of my head.
There's a science-fiction short story I've been trying to remember for quite some time.

I'd all but certainly read it in an anthology during the 1970s or early 1980s, probably one of the award compilations (Hugos, Analog, etc.).

A computer programmer and his boss are working on a large data tracking system that is about to be activated, in which everyone's identification and personal information are entered. The boss gives the programmer the choice of opting out of the system. The programmer opts out.

For the life of me I cannot remember the rest of the story, the author, year, etc. But it's stuck with me, and comes to mind often as a slew of ever-more-invasive online information systems (ISP email, some early LinkedIn-type start-ups, MySpace and Facebook, Google Gmail, Google+, etc.) have come on to the scene.

If anyone can remember what story this was, or others reasonably similar to it, I'd be grateful.
> How do you modify functions over 1000 lines long?

I don't modify them. I refactor and replace them. I do it carefully, and with hatred in my heart for the pusbags who couldn't be bothered to get it right the first time.

First, I curse the people who let these functions get that big in the first place. My go-to is the PERP (public explosive rectal prolapse) because I think people who write such gargantuan methods deserve to shit themselves to death, but for particularly egregious cases I find myself praying that the original authors' children grow up to be everything they hate and fear. Once I've vented my hatred, I document the method by saying it's deprecated and will soon be replaced and commit to give every other poor bastard working on this codebase fair warning.

Next, I write a unit test against the original function, or at least try to do so, so that I have a baseline.

After I've written the test, I set about identifying in broad strokes everything the function does. I create stub methods with names representing each "step" in the procedure implemented by the original function, and call them in order from a new function. I then write tests for the new outer function as well, and I make sure that the test for the old function also runs against the new function.

Once I have my stubs in place, I reimplement the big function as a bunch of little functions called in sequence. If a function exceeds thirty lines, I break it down into smaller functions. Once I am confident that the new functions work together and provide the same results as the old function, I set about replacing every reference to the old function with calls to the new one.

Once the replacement process is done, I spend some time on regression testing and documentation. I don't remove the old function until I'm sure that it's no longer needed.

PS: You might benefit from reading The Pragmatic Programmer. The authors dropped a new edition in 2019.
The interface shown in the GitHub readme is an old version. The new version goes in the same direction but will look a bit differently. One thing is sure though: Strive for simplicity. I haven't come across a good editor for translators yet.
The real crazy thing is that Delphi/VB got UIs right in the 90s and the JS folks keep reinventing everything.
They have also laid off a bunch of their employees today...
What about all the portals built by Redhat that allow kde and wlroots to tap into screen recording, audio, and soon even key captures? I get that Redhat doesn't actively submit patches to wlroots, but they also seem to be making stuff as open as seems reasonable.

As a Sway user, I haven't noticed anything that works on Gnome but not Sway, except for stuff like Zoom, which hasn't, until recently, used the portals.
Yep, we feel that frustration -- it's our intention to use exactly what you typed in, but here Bing is messing up. Using results from our own index should make this less of an issue in the future.
Security as a service is going to be a honeypot 100% of the time.
I guess it was meant as a joke.
It depends on the company. Some companies really are this bad. If you haven't been in one, you're lucky. If you are in one, it can be hard to recognize for a while (see OP) but the key is to recognize it so you can get out of there.
Oh man it's been a while since I've seen this particular flavor of needless pedantry. What a blast from the past!
GitHub Project Link: https://github.com/neuml/txtai
Weirdness is a choice. Taking on an affectation of weirdness in order to sell products or advertising is quite obvious to the beholder, who ignores it, and not long after that, the Internet becomes a wasteland of e-commerce webshops and ad-ridden 'fun blogs'.

There's also an enormous difference between personal 'weird' and corporate 'weird'. 'Personal weird' came from early-gen web designers who had to do everything on their own, including making GIFs with primitive '90s image editors. We have more advanced tools on our phones today, yet bloggers would sooner pick something off the shelf from GIPHY (a Facebook company), because it's easier.

We don't even have weird homemade clipart anymore, we have soulless stock graphics from Canva. And a big Discord button where the webrings would be.
If you do a plan like this OP, also share the torrent links and explanation to r/datahoarder - those folks are always talking about interesting datasets that they think are useful to seed. Many of them explicitly do so to theoretically fight against the sort of censorship you are actually facing, and would jump at the opportunity to help.
If you genuinely WANT to understand these meetings... you can't go in them cold.

This. If you don't understand any of these corporate meetings, ask your direct manager to explain. If you want to keep that question private, ask during your regular 1-on-1. Or, if you know your teammates have the same problem, ask during a regular team meeting. (I'm assuming you have both meetings on some regular cadence, if not, run away!)

Hopefully your boss can explain it in plain language. If not, run away!
I haven't done it in a while but my recollection is that if you press a "wrong-direction" floor it will just go there after having completed all the previously-selected stops.
I also struggled to follow corporate meetings for a very long time and even went to therapy over them - it feels bad to be called incompetent for asking what an Information Summary Validation Assessment Risk Actualization is.

Sometime last year I realized that these meetings and terms don't have anything to do with rock climbing or mountain biking. Hopefully you can find that kind of peace too.
There was nothing to be "taken". Liquidity providers on Uniswap are market makers. They are (automatically) buying and selling tokens, and receiving a fee for their service.

Anyone can create a liquidity pool of any pair, as they see fit. It does not require any "prior" input. There is no staking, no dividend or interest of any type.

The profit comes solely from the fees, and the profitability of the pool does not depend on how many people "get in" or "get out", it depends solely on how many people are willing to swap token A for token B. The more people transacting, the more fees are generated.

You started this thread with some completely wise-sounding quip, but each of your responses are showing that you have absolutely no idea of how things actually work on decentralized exchanges, and that all you have are blank statements and preconceived notions about crypto.
Could also have a positive impact on battery life as it would let the WiFi/cellular radio sleep longer.
"Since you can’t move without increasing the average distance, you must have started at the best spot."

Technically this isn't a fully sound inference. All this proves is that you're at a local optimum. So you'd also need to know or show that there is only one optimum/the problem is convex/local=global or any variant.

Of course that is the case here, but it's always worth noting the specific properties of a problem that make a neat solution possible.
> The 16" Macbook pro I bought in 2019 has been a source of constant irritation to me

This. Worst Mac I've ever had to use.
I have been to a few elevators in India where you can deselect a choice like you described. However they are not rare.
It's "open source", so they have already given it "away", so your explanation doesn't fit the narrative.

While I am all up for a good conspiracy theory as the next person, a bunch of things here simply don't make sense. Even if you have a university degree ;)
To disprove a universally quantified statement, only a single counter-example is necessary.
This is an article by ourworldindata, who aggregate a bunch of (mostly economic) metrics from countries around the world. It is common for energy use to be reported in that way on a country level. This looks like an explainer for the users of their website on what the terminology means.

It makes perfect sense when you think about who the audience for this data is, economists, planners etc. In those roles, the primary concern is the actual quantity of heat and electricity that the population needs in their homes and workplaces, and you need to be able to back that out to how much raw fuel that requires, or how much transmission capacity you need. You need to know this summary info so you know where the focus needs to be. At moment for instance, they need to know how much gas they need in storage tanks in Europe for this winter, and it's information like this that helps them figure that out.
Ask HN: Anybody Using PHPDesktop?
Ever since I found PHP desktop (https://github.com/cztomczak/phpdesktop), I've been having a blast playing around with it. I've created my own "desktop applications" that I use daily. It's quick to build something I need to run locally (on Windows) vs learning/building an actual Windows application. Also I find PHP easier to build MVPs over Javascript (i.e. Electron). I'm curious if anybody else is building anything using PHP desktop? What kind of applications/services did you build or using with it?
Same thing happening to Java. Lack of a strong enough pull to get people into it.

If you are learning something new or just graduating, you're way more likely to learn rust/python/javascript as those languages offer something unique (low level speed/machine learning/browser stuff).

Rails used to be miles ahead of the competition, but the competition has largely caught up. Rails is still probably the best choice(in my opinion at least) for building a feature-rich webapp backend quickly unless you've got some crazy unrealistic performance requirements(spoiler: most engineers love to pretend they do, but they probably don't)

But these days there are frameworks everywhere so you can write your backend in whatever you're most comfortable with.
I really do not understand this.

I am in the EU. If I had a website for my local city and Australia had a law telling me to make it blue I would say fuck off and do not do it.

If the US wanted me to log if women got there I would say fuck off.

If China ... fuck off.

So many fucks off and zero effort from my side.

Why bother??

Of course if I had a foot in Australia, US, China etc. then I would do something.
I assume the 10 refers to 10/10 or a perfect person in the dating world

The "but" implies a negative

The "only like playing single-player games" is thus used as a derogatory term because EA only publish online-psuedo-mmo games now
Looking at some of the reasons that Tyler Cowen proposes for why meetings are so bad [0], it seems you don't like meetings whose purpose is any of the following:

> to instruct everyone in the nature of an idea....“We need to get everyone on board.” Ho hum.

> to flex muscles and show a demonstration of power/support for a person or idea

> so that everyone can feel involved in a decision

And all of these can be frustrating.

To quote another Cowenism: "context is that which is scarce" [1]. I've had exactly one corporate job and I had absolutely no clue what we were talking about at meetings and I typically tuned out. But when I tuned in and asked questions -- things like, "you mentioned [some person] i've never heard of, who is she?" or "what was that acronym you just used?", my coworkers would typically pause and explain what they were talking about, and sometimes, I got the sense that they were made aware of how inscrutable their evolved conversation was to newcomers.

I don't think it was malice or a deliberate power move, I think they were just not actively thinking about how scarce context is and how, if we want to clue people in, we need to make an active effort to do so.

I left that job after about 9 months and found a place where the stuff that people say at meetings generally makes sense. It's a sign of culture fit.

[0] https://marginalrevolution.com/marginalrevolution/2022/01/wh...

[1] https://marginalrevolution.com/marginalrevolution/2021/12/co...
I thought this was going to be some style guide on how to make the PDF document easy on the eyes to read.
What is a "low resource language"?
Higgs boson discoverers publish refined measurements
That’s what I’m doing — I use Canonical’s Multipass and it’s flawless.
If you really wanted to do pointless stuff with numbers, you could say that fission has an abysmally low "efficiency" because not all of the mass of the atom is converted into energy, with the majority of it ending up as stable fission fragments or neutrinos that zip through the reactor walls. You start with a U-235 atom that has a rest mass of 218,871.5 MeV and only get 202.5 MeV of heat out of it? Pathetic!
This is actually genius, I'm gonna start doing this as well. Thank you for the great idea.
> Very confused by this. The C code declares an anonymous struct type, then aliases the typename "Foo" to that anonymous struct type. The C3 code seems to declares a named struct type "Foo" -- why isn't the C equivalent here just "struct Foo"?

I'm curious how familiar you are with C? In C++ you can do:

struct Foo {
// ...
};
Foo myVar;

But that's not how it works in C. In C this would be:

struct Foo {
// ...
};
struct Foo myVar;

Which is why many C developers typedef the struct so that they don't have to prefix struct types with the keyword.

> I don't think I can get further into the primer than this... even taking the author at their word that the two snippets are equivalent

Maybe don't judge the author on these things if you're not familiar with how C would work in this case? There's nothing wrong with not understanding a piece of code, but it's generally not a good idea to assume you have understanding of a language like C if you understand C++. People often conflate the two, but there are many quirks of C that C++ doesn't necessarily need to do and vice versa.
Interesting project though it might be easier to just have 3-4 Dell Optiplex Micros stacked. I've seen some decent ones go for ~$300 with 9th/10th gen chips and 8-16GB RAM each.
The one in my building will allow you to select any floor at any time. it always goes to the last stop in the current direction before reversing as far as i have noticed
The Netherlands is hard to move to. I had a Dutch friend who married outside of the country ~2005 and it took an initial application plus two appeals to get his wife in (they now live there happily with kids).

I think the relationship between Holland and crime is based upon its central position within western Europe, its dominance of shipping (which provides a huge inter and intracontinental logistics industry in which to hide illicit activities), and unwanted criminal outgrowths of its historically progressive and leading culture of drug acceptance.

Somewhat amusingly, yet probably not causative in any way, in much the same way that Australia is often slammed jokingly as a country founded by criminals, there are aspects of truth to Holland (and Venice) being comprised in the past of social marginalia.
If I was really concerned about targeted cyber attacks against me, I think that I would exclusively use computers that I would buy from random people on Craigslist, take the hard drives out and only boot with live CDs using ram disks, and only connect via random public Wi-Fi locations.

Excellent precautions if you live and work in average middle-class suburbia and never go anywhere or do anything dangerous, controversial, or politically unpopular.

Lockdown Mode is not for you. It's for other people with different lives.
The urban dictionary is not exactly a source of authority, it merely documents usage without bestowing legitimacy on such usage.

Regulations do not imply socialism.
> I was told there would be volcano powered Bitcoin mines

There is one nearby Berlín, Usulután, operated by the state owned geothermal company La Geo.

A group of foreigner bitcoiners toured the plant published pictures and youtube videos during a tour. I'll link to a photo gallery from a local newspaper:

https://www.elsalvador.com/fotogalerias/noticias-fotogaleria...

Unfortunately there is very few public information available about the project so there is no way to know how much bitcoin El Salvador has mined or which wallet it's in.
I was responding to someone who was generalizing, its not in any way pedantic to put a generalization to the test.

I'm also quite surprised that someone could imply overthinking as a negative on HN. Gaining a deeper understanding of something, even modern philosophy, is intellectually useful. You should not under-think things, it does you a disservice to skip over the flaws and paradoxes in the world.
> I'm going to go out on a limb and guess that you aren't involved in much risk analysis?

Try again.

I take it you have rock falling from the sky insurance as well? And don't forget about the crocodiles.
Thanks for trying it out - we're still pretty early so the code search feature won't be perfect. The model works best with natural language queries, however, so you might find better results by giving the search engine more to work with.

https://beta.sayhello.so/search?q=Immediately+Invoked+Functi...
Surely your coworker is an outlier. Feels like what you're describing is a great opportunity for a small amount of data analysis to allow companies to be gracious with customers who genuinely made a mistake and customers abusing the system.
https://www.forbes.com/sites/antonyleather/2019/07/26/intel-...

Intel - 4 years.
I still class it as "bleeding edge". In another five years I doubt it'll be in a state that'd make me recommend it as the most sensible default. Maybe, maybe by the end of the decade.
I agree, but I have seen people of all kinds and preferences.

I've actually been stopped couple of times when I was explaining background - literal line: "Thanks Nikola, but I don't need the context - just tell me what the build and I'm happy:)". This was a team member who was a sysadmin, then tech architect, then decided knowing background and being responsible for outcomes was not contributing to his quality of life, and went back to sysadmin, and lived very happily ever after in carefully managed ignorance. I've seen a number of people who have decided their happiness is in scope management. I don't work like that, for now, but I fully understand that perspective.
Unnecessarily stopping at a floor for a few seconds is minor to literally everyone riding in a public elevator.

But yeah, I'm sure that at all of the various elevator companies, over all of the years that elevators have had electronic controls, nobody has bothered to put any thought into this.
If you are a US business and have no interest in reaching EU customers, why take the risk, even if it's very small?
Clarification: I meant using those environments for other languages, like people do with emacs, which is what I inferred the person I responded to was asking.
Issue is that we would have to get device makers to buy into it, and also trust them that they show us everything. Also we wouldn't be able to retrofit existing devices. Most people dont like tinkering with things. A universal device small enough to fit in your pocket, with a nice little display or a usb connector to download data to a laptop and configure rules, is more desirable imo.
Is this different technology? I have one of these but haven't used it in years.

https://techcrunch.com/2010/07/09/solar-powered-toothbrush/
Isn't that the point though?

If you make a sensitive document unindexable (assuming this works), then effectively no one can find it.

The intent here is not to restrict the document to sighted users but to hide the document from everyone, which includes sighted and blind users searching for keywords. The fact that blind users can't read the text at all without screen grabbing is just a bonus.
> We have so many people right now who make it their life's mission to make it impossible to deal with environmental problems.

That seems like an odd conclusion, for several reasons:

- There's a lot more conspiracy theories out there than just environmental ones.

- The Georgia Guidestones are, as far as I can tell, at best only loosely related to actual environmental problems.

- There are, as far as I can tell, very few groups that are resorting to violence to try to stop society from dealing with environmental issues.

- Blowing up the Guidestones doesn't do beans to actually make it harder to deal with environmental problems.

Given all that... why single out anti-environmental people?
> Maybe Python's C escape hatch is so good that it’s not worth the trouble.

Even if it wasn't good, the presence of it reduces the necessity of optimizing the runtime. You couldn't call C code in the browser at all until WASM; the only way to make JS faster was to improve the runtime.

> JavaScript has proven that any language can be made fast given enough money and brains, no matter how dynamic.

JavaScript also lacks parallelism. Python has to contend with how dynamic the language is, as well as that dynamism happening in another thread.

There are some Python variants that have a JIT, though they aren't 100% compatible. Pypy has a JIT, and iirc, IronPython and JPython use the JIT from their runtimes (.Net and Java, respectively).