skysight-inc/HackerNews huggingface dataset:
Powershell's syntax is so fucking weird and verbose. I guess if you live in Microsoft land all day and write code in C# it's fine, but I would really like it if we all could collectively agree on one set of syntax rules. I don't even care what they are. But as a polyglot I am so sick of having to learn yet another syntax. cmd.exe does everything I need to and batch is actually kind of flexible.

Also, I don't know what it is with shell programmers (and I've worked for one) but bash syntax is similarly insane. I am so glad I've never had to write an init.d service because 20 years into my linux career I still can't read that shit. Like I can launch and fork a process in like 10 lines of C, but it's five pages of gobbledygook shell script?
> You're upset they are seeking a favorable interpretation of law through the judicial process.

I am not upset they are seeking a favorable interpretation of law through the judicial process. I am upset that they literally bet the entire organization on a questionable and novel legal theory, without acknowledging that they were putting the rest of their mission at such risk. You quoted some Wikipedia to me, but fair use is notoriously a minefield. You, me, the IA, and whoever edited that Wikipedia article all probably agree on how we think copyright law and fair use ought to be interpreted. But it seems like I am the only one of us who accepts that Big IP has a lot of influence over copyright law and that most judges don't think like us.

It would be one thing if the IA said, "We know we will be sued for this, and while we believe we will win this case and that the law is on our side, there is a very real possibility that we will not. If we lose, this may bankrupt our organization. However, we have a strong moral imperative to serve the people....." Or if they wanted to do a legal challenge to settle the law, they make one book from the most litigious publisher available for two people, record the entire thing, and send it to the publisher's lawyers. It goes to court

But they didn't. They responded to any criticism that this is risky in our current judicial system by saying that you can only believe it is risky because you don't share our views on what copyright ought to be.

> Better to ask for forgiveness than permission.

That is maybe decent advice for dealing with parents or a boss, but not with the legal system. There is no forgiveness in copyright law. You don't escape liability just because you thought you were acting in good faith.

> If the Internet Archive legal entity is forced to dissolve, are legal participants on the other side of the civil suit prepared for the fallout from such an outcome (the "public outrage" you mention)?

As much as I love the core of the IA's mission, there will be no public fallout from this if the IA has to dissolve to pay its debts. I wish there would be, but I seriously doubt this would break through in our current political climate. This is one of the reasons I was so upset, because the IA does not have the political capital to pull off a civil disobedience project. And they didn't even try! Where is Brewster calling on Congress or the President to get a digital library exception added to any one of those bills or executive orders that were being passed around the national emergency?
Sometimes honest and brave things are illegal.
They could also be replaced with even simpler code:

bool should_approve_claim(int claim_id)
{
return false;
}
Yeah it's pretty good! I wrote a few hundred line build script for a Windows project last month. I knew no powershell last month, and now it makes more sense to me than bash which I've used badly for 25 years.

Actually on Linux I tend to use Ruby for any non-trivial scripting, and it feels much closer to that. So it's probably no coincidence that I've got on with it.
Probably, but not because of the fact they are processed, but because of some of the specific processing steps used.
thats what Copilot is for. You just go "please tell me how to work this grep | awk command in powershell"
The issue is that now they're hiding. Those who do the decision no longer send emails, no longer show up in townhalls (if they organized).

There was a townhall for the past wave of layoffs where the exec in charge preferred to take the meeting via video call from a huddle in the same building as the auditorium where the townhall was taking place. Just to not be seen with the employees.
Yes, we were not pre-prepared for it.
Iceland's population is less than that of Wyoming, and I wouldn't be surprised if the governor of Wyoming was on a normal flight.
https://f-droid.org/docs/Reproducible_Builds/

I think Signal also does this for their Android app. I'm not sure of much else in this space.
> Web pages full of uncompressed text

Are basically non existent. Almost all modern web servers transparently compress html. Sending uncompressed text over the wire is extremely rare.
how old are you, nikita, 12?
IMO the problem is the definition. According to wikipedia UPF is "an industrially formulated edible substance derived from natural food or synthesized from other organic compounds. The resulting products are designed to be highly profitable, convenient, and hyperpalatable, often through food additives such as preservatives, colourings, and flavourings." The Wikipedia features a photo of fruit loops breakfast cereal but that's a total red herring. The food coloring and preservatives are a side show; what really matters is the macro and micronutrition that is sacrificed in the name of processing.

The article uses a photo of what looks like fishball type products and imitation crab legs which illustrates the problem: while those are highly processed, they're made of fish that doesn't lose much nutritional value in the cooking and preserving process. They're nowhere near as bad as other processed foods like pasta or bread made from bleached flour where the germ and bran were discarded before milling.
It looks more like an egg than it looks like a ball, so if we have to force fit into a common word, my vote goes for egg
Better than using an LLM which is (at best) trained on Wikipedia.

I'm not saying that Wikipedia is a silver bullet, I'm saying that LLMs are definitely worse. They have to be, by construction.
I see “avoid if ultra processed” as a heuristic. If you want to be healthy eat mostly food that looks like it has grown from the ground.

However of course some processed stuff can be healthy. A vitamin D capsule is super healthy if you are low on vitamin D!

Not to mention you need to consider quantities. A gram of refined sugar is OK, probably neutral.
And, on top of that, the first few fixes will actually work! They will look good to PMs and to the business! Look at the velocity!

The velocity is good enough to scale back the size of the team, it's good enough to mandate a pace that is only possible with AI doing automated submission and review of PRs, it's good enough to not have any kind of formal design work. Just ship.

After several months of this, any additional bug fix by the AI is just adding to the existing morass of tech debt created by the AI. Slowly but surely, the AI will stop being able to submit a PR that doesn't result in a regression. The people who actually care about software quality aren't on new projects; those are run by juniors and copilot. Nope, they're going to be stuck on maintenance of this garbage.

And meanwhile, that new team working on new feature X is moving so quickly... better give them a raise!

The people who suffer here are, of course, the non-marginal user, who will have to contend with every new feature breaking every other existing feature that they like in the software.
comparing it to lmsys chatbot arena, what sort of an option would you expect? the prompts essentially come from public HF datasets like parti prompts where they test a bunch of stuff (prompt adherence, attention mapping [something in front of something else etc], aesthetics, photo-realism, etc.) so it is hard to ask about each category.
Kids these days. Latin was a much more elegant standard.
Hi there, I am on developement team of Newnode, a successor of FireChat founded by two of the same people (https://www.newnode.com/). We now provide both, a VPN and a Messenger, with purpose to help people evade censorship and enable device-to-device connectivity. You can find the source code at https://github.com/clostra/newnode
I doubt you can handle UTF-8 properly with that attitude.

The problems is, there is one very popular OS which is very hard to enforce UTF-8 everywhere, Microsoft Windows.

It's very hard to ensure all the software stack you are depending on it use Unicode version of Win32 API. Actually the native character encoding in Windows is UTF-16 so you can't just assume UTF-8. If you're writing low level code, you have to convert UTF-8 to UTF-16 and back. Even if you don't you have to ensure all the low level code you are depending on it do the same for you.

Oh and don't forget about the Unicode Normalizations. There is no THE UTF-8. There are bunch of UTF-8s with different Unicode normalizations. Apple macOS use NFD while other mostly use NFC.

These are Just some examples. When people living in ASCII world casually said "I just assume UTF-8", in reality, you still assume it's ASCII.
You can be diagnose with ADHD for any number of circumstances, the ADHD diagnosis is not based on a specific cause, only on specific symptoms, it doesn't matter where the symptoms come from exactly (circumstance? nutrition? neurodivergent in the wrong environment? etc).

I feel the same way you do. Something else to take into account:

A lot of people are just mediocre at explaining themselves. This is fine because sometimes the information they have is good, the medium of communication is shabby, but we can still do an extended effort and look past the medium in order to get to the information. The point being, if someone is really adept at communication then you might find yourself focusing on really complex topics with ease, because it is engaging and nicely laid out. OTOH if I hand you an IKEA manual to build a simple vase but the scribbles are tiny and confusing, you will be like "Woah this is so difficult to pay attention to!".
You only need to show an id, not a passport, right?
This is mostly unenforced, as it WAS ruled that it must be as easy to reject as to accept. However, they're going after "consent to ads or buy a subscription" which I thought was a pretty fair compromise business model.
> Sure do! They definitely need all both of those things!

When a generation provider bids supply onto the grid, it doesn't tell the operator what the maximum storage capacity of its equipment is, it tells the ISO how much power it can output for a given time frame (or alternatively how much energy it can deliver during a timeframe).

That is different that the total energy storage capacity of the battery itself, which is what I think you asked for.

The grid operator usually pays more attention to the former when it comes to day to day grid stabilization, and especially so for batteries, because batteries today don't do long term energy storage.
It seems there is a correlation between appearing at the beginning of the list of candidates to endorse and having a last name that starts with "A".
You can on all of Apple's platforms.
Perl is flexible and cool while Python is for dorks and rules nerding losers. nasally voice huehuehue required indentation.
Liability isn't going to work as a way of handling malicious attacks. If the culprit is caught, and lives in a place with a reasonable government, prosecution would be a better way to address it, because if it is an individual they aren't going to have assets to cover the damages. If it's a state actor then liability isn't going to do anything as the state involved will deny any association with the attack team and ignore court awards for damages coming from other countries.
So he would build parts by first making an oversize rough blank of bonded layers of marine grade plywood in a big press. Then he'd rough cut it various ways on a big band saw. Then he'd work his way through using all the sanders to slowly approach the net shape. He used precision squares to measure bigger stuff and calipers for smaller stuff.

I can't tell you the exact stability of marine grade plywood, but I know it's about as good as you can get for a wooden material, and I doubt he'd go to the effort of such precise measurements if it didn't matter.
Can you go into any additional detail about why firechat shut down?
Immigration doesn't drastically increase your chances for depression, anxiety, body dysmorphia, disordered eating, insomnia, and executive dysfunction.
> Spies often work for free

Do you have a reputable source for that?
Sounds like they had bad lawyers (or bad judges). Shouldn't be simultaneously possible to be a cable company and not.

But as IA isn't to my knowledge doing controlled digital lending with broadcast television, is there any plausible argument they would be found to be a cable company?
I always thought Lisp or Smalltalk might be good for a shell.
The Internet Archive still thinks it has a legitimate fair-use, first-sale, & library rights basis for 1:1 controlled lending of ebooks for which physical copies are held.

With the advice of competent counsel, IA clearly estimates its chance of prevailing on that question as worth the continuing costs.

At worst, they lose on that question, and then comply with the August 2023 settlement & pay some undisclosed amount to publishers to cover publishers' legal fees.

At best, they set an important precedent that saves their (and many others libraries!) ability to lend in the digital era for the one-time cost of a physical book, instead of the new time-limited leasing models publishers are imposing for native ebook lending – which could massively increase library costs even though digital delivery could be far cheaper than physical lnding.

Note that even if the odds are long, setting that precedent would be very valuable! The calculation isn't, "are we more than 51% likely to win?", but "even if we've only got a 5% chance of winning, is the win valuable enough to spend for the chance?".

What if Sony had given up when the 'Betamax' case was going against it? It appealed to the Supreme Court, and won a unambiguous ruling that home recording of TV was legitimate fair use.

That's a result the rightsholders, and those who naively adopt rightsholder-like copyright-maximalist reasoning without acknowledging the counterbalancing factors in the law, had alleged was preposterous. "Clearly illegal!" they said. But despite that bluster, the actual highest court decided otherwise.

Without that ruling, VCRs and DVRs would have arrived far slower & on a short-leash fully controlled by incumbent big studios.
Oh that's a good one. Interesting that it's unable to get that right, because when I've tried asking it using a different theme (Star Trek on a shuttlecraft instead of a river, or an LOTR theme), and it's able to recognize that it's still the river crossing problem.

It's also inconsistent at solving the twist. Here's ChatGPT-4 getting it right and wrong within minutes of each other just today (April 29th, 2024).

right: https://chat.openai.com/share/178adc81-e43b-4ecf-b7b7-d7fa5a...
wrong: https://chat.openai.com/share/9ae78081-c0eb-409d-93c6-650f37...

Have you tried
Flutter was already affected in this wave.
> you should be explicitly asking the user what the input format is.

Me: "I'll make the program stop and ask the user."

Customer: "No. We have 10 million files. Start by using heuristics for batch processing."
Do you actually care about this?
This is the key thing that I feel most people who dislike using LLMs for development miss. You need to be able to quickly tell if the model is just going to keep spinning on something stupid, and just do it yourself in those scenarios. If you're decent at this then there can only really be a net benefit.
There are SEO industry nerds that scour Google patents for clues (this long click metric was an early 2010s patent that was granted in 2015), and Google lets information slip from time to time, either officially or unofficially.
That's true, we are more of Russian Empire survivors than heirs. Most of my ancestors are unsurprisingly peasants with serfdom (and then, kolkhoz) background.

Still, if there are any possibilities to "cash out" the paltry benefits of history they went through, Russians will not hesitate to. After all, as you have rightfully noticed, common folk of both Russian and British empires have already paid for it in their sweat and blood.

That's why there should be a better proposition than "badmouth your backwards Russian history and embrace our Pax Americana", especially as we were never cast for any decent roles in the latter. I can see it is good enough for Czechs but we'd pass.

Of course I realize there's a sufficient number of Russians, especially abroad, who have radically different views. Not that it matters much, because as another such Russian's protagonist said, "in this world there's too few people whose desires have any meaning whatsoever"
Cool, but it still can't properly autocomplete anything so I'll try to get that working first
It's not like the US recently saw protestors snatched off the streets in unmarked vans by unidentified forces [1]... or protestors designated terrorists by officials [2]... or widespread deployment of military surveillance on peaceful protestors...

[1] https://www.nytimes.com/2020/07/17/us/portland-protests.html
[2] https://www.theguardian.com/us-news/2023/aug/28/copy-city-at...
That would never be regardless of party. Part of choosing a party would be choosing whether you want them to work for you or for corporations.
Well now we can put the speculation to rest, exactly how many CIA agents visited to shut down your radical operation??
Swift for C++ Practitioners, Part 7: Closures
The big benefit to me with SO is that with a question with multiple answers, the top up voted question likely works, since those votes are probably people that tried it. I also like the 'well, actually' responses and follow up, because people point out performance issues or edge cases I may or may not care about.

I only find current LLMs to be useful for code that I could easily write, but I am too lazy to do so. The kind of boilerplate that can be verified quickly by eye.
Why do we need such a thing? Operating cost is proportional to energy, carbon emissions are also proportional to energy. Making your information systems cost less also makes them emit less carbon. The information industry has a clear and direct economic incentive to reduce carbon intensity, and all large operators do catalog and reduce GHG emissions.
I agree! IANAP though.

Also in this case I suspect they needed to learn proper takeoff procedure. Since you can’t practice dying more than once the mitigation has to be avoidance (in addition to the stall practice you mentioned)
That's mainly because the Europeans no longer have access to cheap energy so their manufacturing can't compete with Chinese manufacturing any more.

Europe is rapidly de-industrialising, just as Britain and the US did before them.
> ultra-processed foods such as ... yogurts

> Frozen and canned vegetables are often classified as ultra-processed

I think this goes against the common usage of the term "ultra-processed".
TLDR: "The future is bigger than we can imagine.

Change is equally hard to comprehend. Two centuries ago, 80 percent of the U.S. population worked on farms. If you told one of those farmers that in 2024 barely 1 percent of the population would work on farms, he'd have a difficult time imagining what the other 79 percent of the population would do with their time. If you then tried to explain what an average income could purchase in the way of a Netflix subscription, airplane transportation, and a car, he'd think you were insane. The same principle applies to imagining life 50 years from now."
god damnit. take my upvote, and begone! :D
That may have been relevant in the era of the IBM PC with 1MB of memory and 10MB hard drives. Today and going forward? Almost irrelevant. Even embedded systems have massive resources these days.

This isn't to say I am not critical of some aspects of PowerShell. I am simply saying that being critical about compiled software size is something that left the building a long time ago as a valid concern. I am very much into efficiency and performance in software. As much as I hate it, these are not metrics that make the difference between winning and losing for most software applications today.
The question is ok but I need to have a clear input for me to decide which one is better. For example: A serene forest night, a lamp-lit path leads to a cozy wooden house. It comes up with a very detailed almost photorealistic image of the scene, while also bringing up a very well painted one. What do I choose? The input didn't mention anything about the style so it's very hard for me to pick a winner unless (like I said) I'm incredibly subjective.
Well there goes that conspiracy theory..
The president of Argentina intended to fly commercial but security told him to stop that.
Hoping that LLMs can solve our “Tower of Babel” problem… :)
I would guess the problem is IBM doesn't want to pay for that thing anymore...

Also Redhat now has Cockpit and a web based installer so rewriting the editor, terminal emulator and weather app all the time is probably not seen as a strategic investment...
It was a horrible idea. The real robustness principle is "Follow the spec".
it's interesting that the definitions are so varied.

what i've seen, is that UPF is usually defined as "a high proportion of the ingredients do not exist naturally in that form." so for example, the ingredients of an Oreo

> INGREDIENTS: UNBLEACHED ENRICHED FLOUR (WHEAT FLOUR, NIACIN, REDUCED IRON, THIAMINE MONONITRATE [VITAMIN B1], RIBOFLAVIN [VITAMIN B2], FOLIC ACID), SUGAR, PALM OIL, SOYBEAN AND/OR CANOLA OIL, COCOA (PROCESSED WITH ALKALI), HIGH FRUCTOSE CORN SYRUP, LEAVENING (BAKING SODA AND/OR CALCIUM PHOSPHATE), SALT, SOY LECITHIN, CHOCOLATE, ARTIFICIAL FLAVOR.CONTAINS: WHEAT, SOY.

Of these arguably only salt really exists in its natural form with minimal processing.
Sorry I don't know much about this topic.

The only thing I know (from using it) that with quantization I can fit models like llama2 13b, in my 24GB of VRAM when I use q8 (16GB) instead of fp16 (26GB). This means I can get nearly the full quality of llama2 13b's output while still being able to use only my GPU, without the need to do very slow inference on only CPU+RAM.

And the models are quantized before inference, so I'd only download 16GB for the llama2 13b q8 instead of the full 26GB, which means it's not done on the fly.
Does anyone have tips for how to navigate new code bases faster? I feel like I would have given up reading through the code before I found the issue discussed in the article

I didn't read through the code but maybe the library was small and this was just a case of checking the difference between c++ and js by line for 1k lines or something
>kind of insane that unauthorized requests contribute to your bill

Abandoned GCP API gateway because of this...best as I can tell even with a rate limit the calls for the gateway get charged. I guess if it helps if the thing behind it is computationally expensive but still feels a bit silly
I've bought a fair number of test devices. Nobody at a corner shop or mall phone repair kiosk has ever ID'ed me or kept track of the IMEI of a device I bought.
This needs a spoiler alert. The article unexpectedly gives away how humanity deals with the aliens in the second paragraph, revealing details you wouldn't know yet having only watched the Netflix show. Unfortunately I guess I took one for the team..