skysight-inc/HackerNews huggingface dataset:
>> What ensures that the “rest of the string” is, in fact, a suffix of the input?

>This is not something you want to guarantee.

>takeWhile, dropWhile and many are three parsers which might consume 0 bytes. Backtracking via some kind of try parser would probably be unhappy as well.

I'm not quibbling about a proper suffix vs a suffix. I'm quibbling about the unparsed tail being a suffix at all. I don't write Haskell code, so my syntax here is probably all wrong, but imagine:

brokenparse s = Just (42, "rest of string")

or, slightly more realistically:

brokenparse s = (42, toUpper s)

where toUpper represents something that the actual implementation might have wanted to calculate as an intermediate and then accidentally returned as the "rest" of the input.

A totally type-unsafe Python equivalent would look like:

def parse(input):
... do something
return (result, input[2:])

and has exactly the same issue. But one could alternatively write it (in Python or most imperative languages) as:

def parse(input):
input.consume(some number of symbols)
return output

or quite a variants thereof, and the result seems safer to me, although considerable care would be needed with backtracking. (And even Rust can't actually make this safe as far as I know due to std::mem::swap.)

It's certainly nice for something like a parser to be written in a pure language or style such that backtracking is essentially free. I would imagine that Haskell could express the constraint that the "rest" output of a parser needs to be a genuine suffix of the input using a universal type / threading trick in the style of runST. Maybe the result would be too much hassle to be used in real life.
>Sometimes, as I pored over the CMF, I could scarcely believe what I was reading. The document cited research that hadn’t been peer-reviewed; justified sweeping generalizations by referencing small, tightly focused studies or even unrelated research; and described some papers as reaching nearly the opposite conclusions from what they actually say.

>The document tried hard to convince readers that it was based on a serious reading of neuroscience research. The first chapter, for example, cited two articles to claim that “the highest achieving people have more interconnected brains,” implying that this has something to do with learning math. But neither paper says anything about math education.

Yikes.
StoneX | Linux Engineer | Poland Kraków

StoneX is a Bespoke financial service offerings with global reach.
We're looking for a Linux Engineering Team Lead role that is part of a growing global team responsible for automated provisioning, configuration management, performance and troubleshooting of Linux systems across the company’s infrastructure and works within the core Information Technology department

https://english-stonex.icims.com/jobs/9665/linux-engineering...
Emai me for quick follow up rodrick<dot>brown<at>stonex<dot>com
The Unicode committees have addressed this for languages such as Latin, Cyrillic, and others and stated outright that decomposed forms should be preferred and decomposition canonical forms are generally the safest for interoperability and operations such as collation (sorting) and case folding (lowercase to uppercase transformations).

Unicode can't get rid of the many precombined characters for a huge number of backward compatibility reasons (including compatibility with ancient Mainframe encodings such as EBCDIC which existed before computer fonts had ligature support), but they've certainly done what they can to suggest the "normal" forms in this decade should "prefer" the decomposed combinations.

> If I want to propose something like a "%" mark on top of the "e" to indicate, I don't know, something, then I can't do that regardless of whether combining characters are used

This is where emoji as a living language actually shines a living example: It's certainly possible to encode your mark today as a ZWJ sequence, say «e ZWJ %», though you might want to consider for further disambiguation/intent-marking adding a non-emoji variation selector such as Variation Selector 1 (U+FE00) to mark it as "Basic Latin"-like or "Mathematical Symbol"-like. You can probably get away with prototyping that in a font stack of your choosing using simple ligature tools (no need for private-use encodings). A ZWJ sequence like that in theory doesn't even "need" to ever be standardized in Unicode if you are okay with the visual fallback to something like "e%" in fonts following Unicode standard fallback (and maybe a lot of applications confused by the non-recommended grapheme cluster). That said, because of emoji the process for filing new proposals for "Recommended ZWJ Sequences" is among the simplest Unicode proposals you can make. It's not entirely as Catch-22 on "needs to have seen enough usage in written documents" as some of the other encoding proposals.

Of course, all of that is theory and practice is always weirder and harder than theory. Unicode encoding truly living languages like emoji is a blessing and it does enable language "creativity" that was missing for a couple of decades in Unicode processes and thinking.
I'm surprised they're permitting thumb drives at all. External drives are common though, usually specifically cleared one. Every gov't office and gov't related contractor I've been involved with got the memo over a decade ago that thumb drives are not to be trusted. They go through and whitelist specific external drives and also permit bringing in (and usually shredding after) optical disks (CD or DVD). Optionally they use a "data diode" to bring data into the network.

https://en.wikipedia.org/wiki/Unidirectional_network
The problem is that most of these posts are low quality. People don't want to add enough information about them or their idea and most posts end up being "Hit me up and i will tell you more".
It's very easy to prevent movement via car: just block the roads.

Blocking people moving on foot is much harder.
I think you're missing the part where human nature isn't what you think it is. We aren't as smart and moral and fair as we tell ourselves we are. We are monkeys in fancy hats.

It's extremely easy to manipulate people into doing something against their own interests. Just play off of their baser motivations: fear, greed, envy, anger. People enjoy being angry and believing someone is trying to trick them, much more than they enjoy being happy and productive and rational. Negative emotions are just stronger.
While I get the sentiment, implementing full Unicode support directly in the keyboard firmware would pose challenges. Consider mechanical keyboards where keys are swappable; you'd need a mechanism to inform the firmware of the current configuration, either through dip switches or a separate firmware tool. It's not as straightforward as it might seem.
After the uprising of the 17th of June

The Secretary of the Writers' Union

Had leaflets distributed on the Stalinallee

Which stated that the people

Had squandered the confidence of the government

And could only win it back

By redoubled work [quotas].

Would it not in that case

Be simpler for the government

To dissolve the people

And elect another?
I grew a lot and made a lot of friends in so many communities, and I learned from immigrants about the values my great grandparents also had.

I'm conservative and found that I have so much in common with so many people that I'm sort of pissed that our culture has done it's best to keep us apart.
The surveillance aspect of... walkable cities?

Is there some sort of bug with HN? You talking about surveillance and your parent comment talking about amerikans... did we read the same article?
> really sketchy things (ie: things malware does)

It depends on how they got here, but if they literally had a heuristic to detect use of tor and didn't think about how it would affect tor.exe then that's really bad.
Correction, the company was not performant enough to keep them working there…
I almost can't believe what I'm reading. Every single leap forward in human history has been because people could literally just do more stuff. The entire industrial revolution happened because what took one person a week could now be done by that same person in a day. AI should hopefully do the same for many things. Sure, there will be people who will have trouble adapting. Just like when we get cars or when the industrial revolution happened.

I don't think it's worth it to leave the future society stunted. I'm very happy I don't live in a cave warmed by some burning dry wood and I don't have to go out tomorrow in freezing rain to hopefully catch the next thing to eat.
Thank you for your suggestion. I do have few projects on github and I am looking into adding few more but again that seem to have not yield any results thus far. A lot of employers ignore the application seeing no industry experience.
> what does this 'security' app you're pushing as so necessary

I called it a "useful app," while responding to a comment that linked to the GitHub repo that originally spawned the app. I never said it's "so necessary."

It's a free app from a reputable security company that provides reminders and checklists that I find helpful. Nobody is forcing you to install it (or to follow best practices like rebooting your device).
At ~0km/h kids are unfortunately still dying, mainly being backed over by their own family.

The rest of your argument is basically a slippery slope fallacy and not even close to what's happening in any urban planning discussion I've ever been a part of. And I'm on the board of an organization discussing these things.
Isn't there unicode for facepalm?

U+1F926 or

EDIT ah that explains that.
If you max out your 401k from 25-62 you will have a nice nest egg - that is 8 million dollars assuming 10% returns and constant contributions. Realistically the max will go up over time, so you will contributing more money - inflation will eat some of the gains, but even still the extra contributions will make that up. That should make for a comfortable lifestyle if you retire early.

The key is to save all a long. If you start saving for retirement at 50, even with catch up contributions you are probably not going to have a nice retirement.
Quality of JavaScript and TypeScript Applications on GitHub
'hitting the brakes' isnt feasible. If it's done through legislation, it will be circumvented or cause more damage than good.
I mean, arguments about the difference between the two are interesting in an academic sort of way if you're into Marxist theory, but the USSR called itself a union of socialist states. North Korea's constitution says it's a socialist state. Etc. They are very clear on this point. They are socialists, these are countries run by scholars of Marx and that's the term they use.

You can get into endless arguments about how they are No True Socialists but it just ends up being like a word game.

That's why the European parties that lean in that direction tend to cast themselves as "social democratic", a different term.
> Therefore, the skepticism around the transition to walkable cities isn't just about lifestyle adjustments; it taps into deeper fears about the erosion of individual freedoms and collective agency.

I guess that the people falling for this conspiracy don't see the irony of being economically strapped to a constantly depreciating machine, that needs, at the very least, two governmental issued licenses to be legal to be driven around.
That’s captain picard’s facepalm, a popular “reaction image” converted to ascii.

https://blog.trekcore.com/wp-content/uploads/2018/04/facepal...
Thanks for recovering your balance so quickly. I posted a moderation reply to the GP comment and then saw this and realized it wasn't necessary!
I mean, why doesn't anyone do that now? Instead of hiring a photographer to come onsite and spend several tedious hours with you, just email them a single photo and let them Photoshop something good. It's not as cheap as AI, but it should be cheaper than paying for an in-person photographer, and the results can have any background you want.

There's a difference between discovering an old photo and thinking "haha I don't remember taking this one, we looked so good" and seeing it and thinking "haha I don't remember taking this, oh right because it didn't happen". In the second case, there's no reason to even have a photo album or generate anything at wedding-time. Just store the single base photo, and then 50 years later when you want to show the grandkids you can just have the computer generate whatever they want to see.
Good question. Status sites usually advertise the availability of features. When your service to feature mapping is 1:1 with just a load balancer or a cache in between then it's relatively simple to calculate. The number of 500s on the load balancer, cache, or both indicates errors sent to users. As a company grows several services usually combine to form a single feature; think about how a company has a "sign in" feature. There's likely a service that handles typical username password auth, then one for SSO, one for passkey, etc... at this rate, you have several inputs but the outputs remain somewhat consistent. 500s seen on your most externally facing endpoints are errors to users.

Now combine all of the above with a client that has retry capabilities. That client could be a modern web app or a desktop app. Eventually consistent systems often rely on retry behavior and rate limiting to achieve smooth user transitions. Now I can't simply rely on 500s being sent because they may indicate a timeout or a caching problem. Now I need to rely on statistics on specific endpoints that will definitely result in a user facing error. Collecting that in real-time (real-time enough for alerting, anyway) is challenging as a company at that scale could be dealing with an abundance of requests per second.

When SREs get into an incident they'll often try to determine customer impact in order to know what hemorrhaging to stop first. Looking at a list of 500s in a system like that is often unhelpful, so we'll build dashboards of specific endpoints that show a level of degradation eg: "Show me all requests that did not have 2xx where the number of retries is 3". In my contrived example the client shows an error after the third exponential retry. If you were calculating availability purely off of the number of 500s you're not actually calculating customer impact, you're calculating the number of errors. That said it's a lot easier said than done to build a data system to make a query like what I described, much less to export it. So in order to provide accurate information the status site is updated manually.

On the flip side of what you described, some errors don't have a statistic. For instance, if I force rotate everyone's password and kill logins then I might post that on the status site as well. If it's the result of a security action or vulnerability I might declare the service degraded for a period of time.
You can use US international layout on an ISO keyboard, then you get is access to all the types of parenthesis while keeping the vertical enter. That's what I do, it doesn't matter what lettes are on the key caps.
Sounds like he had a diet rich in buxtehude
You could also have it in O(1), just store and maintain it as you usually store the length in bytes or code units. If you had all your string operations like substring work with grapheme clusters by default, which might arguably make sense quite often, then that could actually be a good decision. It might even make sense to maintain a list with pointers to each grapheme cluster or of all the grapheme cluster lengths together with the actual string data. Or maybe not, would probably depend heavily on the workload.
But "PP"s, that is, normal power plants that aren't compromised of DERs, are not going to partake in this shift of the term from meaning "generation" to meaning "generation or load shedding". So you end up with "power plants" that everyone understands are suppliers of power and "virtual power plants" that are, confusingly, a mix of demand reduction and maybe some supply.

So I agree that the VPP terminology leaves a lot to be desired. I prefer the more generic "DER" terminology, because it is more descriptive; either a generator or a load is an "energy resource", and "distributed" is a good description of what is unique about these particular energy resources.
It's quite possible taxation results in more starvation than it prevents. Particularly when used to incentive low income fertility and dis-incintivize production and labor.
I wonder what they use for the runner? I tried darling but Go doesn’t run/compile
Thanks for reacting so neutrally and in the intended spirit of the site: https://news.ycombinator.com/newsguidelines.html. That's not always so easy!
Doesn't really affect your point, but AFAIK the maximum speed on a woonerf is 15 km/h.
A lot of the Chromebook's battery saving features are the result of features of ChromeOS, not the Linux kernel, i.e. ChromeOS uses ML to predict how fast to charge the battery [1]. Tight integration between hardware and software has its advantages, just like with Apple products.

If you want the same battery life without ChromeOS, you need to talk to your preferred Linux distribution vendor and ask them to implement similar features.

https://www.theverge.com/2023/9/27/23892651/chromeos-117-sta...
Windows collect a lot on users and what users commonly install on their machines. For this specific situation a simple script pulling from chocolatey and a warning based on a threshold (and additional warning factors based on history) would have given them a failing test for fairly low amount of effort. This kind of issue should be mostly automated rather than being manually added by QA.
End of 2001 for me!
UAW Strike Fallout: Are Unions Destroying Jobs and Losing Credibility [video]
In intimate conversation —a case where both or all parties in the same space and time — there are additional ample side-channels for subtexts to be communicated, including both conflict-diminishing and conflict-escallating ones.

From TFA, 5th paragraph, by some counts.

And yes, I frequently read without comprehension, scan quickly, or misinterpret as well. The problems I'm describing seem to be universally, or at the very least quite broadly distributed.
I mean, I've got a Huggingface link, from the first line in the article?
It would be a better joke if there were an option to turn the joke off. As it is, dark mode doesn't exist and the pointers occlude text.
Full title was too long to be an HN title:

"To Type or Not to Type? A Systematic Comparison of the Software Quality of JavaScript and TypeScript Applications on GitHub"
Yep, my mistake. And that is also a conservative number, because human time is not equally priced. Arguably the free time a human has is more valuable per hour the less time remains. So a person having 8 free hours daily may value a single of these hours at X, but a person having only 4 free hours daily would value a single hour lost much higher than X, because it represents a bigger proportion of the free time lost. Corpos even agree with this, valuing overtime pay progressively more per hour the more hours they demand, not perfectly of course but still something.
Check out D language, it should be suitable for math, signal processing, data science, embedded, etc, and it's intended to be better than Fortran, C and C++ [1].

[1] Is Fortran easier to optimize than C for heavy calculations?

https://news.ycombinator.com/item?id=37606477
In consideration of stuff like the War on Drugs, the War on Terror, civil asset forfeiture, the (cold) War on Encryption, etc.: One must assume any kind of sweeping initiative or legal framework will be abused by authoritarians, who are extremely clever at doing so (comparison to security, just because you can't see how a bug can be exploited doesn't mean a clever adversary can't use it to great effect), and it is easier to prevent such things from happening in the first place than it is to unwind them. So opposition to a proposed "War on Urban Sprawl" is rational in the interest of caution.
Everything you need to know about X CEO Linda Yaccarino's disastrous interview
I would love for it to not take an entire hour to cross the seven miles of San Francisco. BART designers imagined people being able to traverse the entire Bay Area in roughly half that amount of time: https://www.flickr.com/photos/walkingsf/5423961825
Last time I checked you can block Google and Bing. Brave doesn’t offer this feature.
I've re-howed it. Sorry.
AI isn't creating faithful reproductions of artwork. It's creating strange remixes of prior work without the artist's input or consent.
I've said this here before but I think a lot of people on hackernews are confused about how the market for creative industries actually works. Productivity alone is not necessarily correlated to profitability or potential success.
I wouldn't be that shocked if four students with no budget produced a better product than the Mozilla Corporation.
You can’t discriminate against kids.
What labor is it saving though? Seems like the bulk of what we can do with AI is create inferior creative works, since we can't trust it to do anything important for the foreseeable future.
Maybe previously discovered rogue planets via gravitational micro-lensing are also binaries. I don't think they would be easy to tell apart.
Yep, an early example of how computers are always repurposed for porn, despite original intended use.
Even worse is when they put a picture from the movie on the book cover
> No need for such pessimism - what can, and will change how things work is the consumer, being smart enough to demand better. See the other comments here, there is a market for responsible sustainable and boundary-respecting products. It is just a matter of time IMHO, until the majority of people have enough.

I'll believe it when I see it. But it's not looking good. Subscription streaming was supposed to be like that: you pay to get a "responsible sustainable and boundary-respecting products." But it turns out showing people ads makes more money, so those products are pushing users in that direction.

> Imagine the food industry 20 years back. It looked like the end of the world - literal poison everywhere you look. Your arguments back then would never foresee today's organic food hype and vegetables craze.

Isn't that mainly an affluent consumer thing? And often subject to lies and nonsense?

I expect the digital equivalent to be something like Google's doing: changing their products to ostensibly "protect" user privacy, but in reality giving all the data to Google and locking out its competitors.
People also still play chess.

I think people that just enjoy drawing and art because it's "fun and creative" can still enjoy it even with AI. But if you want to be "the best", computers will indeed be a tough competition...
The purpose of using this terminology is that it is a technique used to frame the reader's view of the story and the actors in it, in a very specific way to achieve the thought patterns desired by the writer/publisher/etc. It is classic in-group vs. out-group non-sense used to divide people. The hint that I am right will be all the downvotes this post receives.
Shocker: flu cases drop when people wear masks, stop socializing, and obsessively sanitize every surface. What's next? Eating less and exercising causes weight loss?
You can project a baseline like that and get a higher number for 2020, but 2019 is still abnormally low and those people who survived 2019 had to die at some point.

I'm happy to grant a different baseline though. It goes from being a really small number to a really small number. Remember that everything that happened was justified by claiming a 3.something% IFR and 100% infection rate in a single giant wave. That never came close to happening and the places that used very light touch approaches had no different outcomes to places that went full totalitarian. That's the important thing here.