skysight-inc/HackerNews huggingface dataset:
You are mixing up important things and probably that's why you don't see a bigger threat here than the livelihood of a couple of lawyers.

People who attended law school/university/have a law degree are not necessarily practising law as lawyers/attorney or whatever they call them in the given country, as a member of the government. But of course, once a marine, always a marine...

On the other hand, the parent was trying to refer to criminal defense (Amendment 6 of US Constitution). That's not something active politicians can participate in (conflict of interest, etc.).

If one has the means to pay for their criminal defense (or family law, anything that truly matters for the average citizen), they tend to be willing to pay a lot and expect some quality of service in exchange. They will certainly not choose ChatGPT, just because that provides the answer faster for long documents.

But a large number of people don't have this kind of money. As long as governments don't have a proper budget for legal aid, they will be inclined to cover the vanishing legal aid budget with false claims that they fulfill "appointment of counsel" with LLM services - while they don't really care about the outcome of the case. (And of course, successful politicians have rarely worked as pro bono counsels before their current job, not that it has any more relevance here.)

Non-Western governments are also interested in having this replacement service - the cost of lawyers is also money there. It's much better for all governments to have chatbots they have reliably trained than less controllable humans.

That's a hypothetical threat for now, but I hope you understand why there is something more here beyond "guildthink" and protecting the livelihood of lawyers at all costs behind the Sixth Amendment. There are lots of countries (or even within the US, like in Utah) where you can review contracts without being a practising lawyer, like LPOs mentioned in the paper. So far, it failed to make the world a better place.

But replacing including LLMs as "counsel" under Sixth Amendment would mean a very different situation.
PyPy is one of the most underrated python implementation. It just makes your pure python code 20x faster without needing to change anything ( if you don't have c++. Extension depends)
We had used PyPy in production , especially on Real-time/ asynchronous web apis that doesn't need machine learning stack
ChatGPT System Prompt Leak
The real problem I saw with Chromebooks used in educational settings was not Google, but the extensions from sketchy third-parties forced on students by IT policy with unlimited permissions to vaccum up their data and sell to the highest bidder
My impression is that Kommunernes Landsforening (the national association of municipalities) will work together with Google Denmark to find a solution.

In the mean time (till August) schools can continue using Google WorkSpace.
According to wikipedia it cost half a billion USD [1]. I agree that it's cool, but yeah, that's a lot to be able to convert less than half an acre into a patio.

[1]: https://en.wikipedia.org/wiki/The_Shed_(arts_center)
> That said, python makes me wince.

O lord of the compiler, lend us thine wisdom.
I haven't followed it in ages, but Critical Distance aggregates the kind of writing you're looking for: https://www.critical-distance.com/
I don't know what you think that link shows (I don't know what John thought it showed, either—it's a classic "talking to one's own head, instead of who you're trying to communicate with" situation, and David Baron's confusion on the mailing list at the time is understandable).

To reiterate:

> The argument for querySelector / querySelectorAll calls is literally mimicked from John Resig's grounbreaking API design

No, it wasn't. "The argument for querySelector / querySelectorAll calls" is literally ... CSS's selector language, which predates jQuery by about a decade. And the idea to make a library function to match against selectors was conceived of and implemented by Simon Willison years before jQuery was released, spawning lots of copycats. jQuery was literally named jQuery because writing a library to do this was the hotness at the time and one such library Resig had used was called cssQuery.

(jQuery does do a lot more than just match CSS selectors, but what that involves is not something jQuery has in common with querySelector—it's nowhere near "almost exactly the same". The result of a jQuery call has a weird, jQuery-specific shape. (It's not an element node). If Simon's getElementsBySelector did what jQuery did, Resig wouldn't have written jQuery.)

This is a matter of public record, and to state or suggest otherwise is worse than just being wrong. It misleads and confuses people.

<https://twitter.com/simonw/status/1536129600232665088>

<https://www.slideshare.net/jeresig/history-of-jquery>
> My random €0.03

Inflation?
I try to do this when writing error messages I expect to be seen by other engineers. I also try to state why this is an error condition.

“ERROR: Database query returned 0 rows”

versus

“ERROR: Database query returned 0 rows but need 2 or more rows for this operation. Ensure $other_etl has successfully ingested the data.”
That's electricity, not energy.

Most road transport, building heating and many industrial processes use energy that isn't electricity.
There's a bunch of scripting languages written in rust that targets "embed-in-rust", for example

https://crates.io/crates/rhai

https://crates.io/crates/dyon

https://crates.io/crates/duckscript

You can use the above links to browse crate "dependents", that is other crates using these dependencies if you are looking for example usage.
Show HN: AI enabled APIs – (bring your own key)
Hi there,

We have released some AI enabled APIs - for now for developers who can bring their own key. I am looking for people with experience in API development and testing to let me know if they find them useful (hopefully) and what use cases they can think of that would make these APIs better.

(some of them are still on early access)

thanks!
I think that many websites even nowadays don't need all that jazz and many would improve if less JavaScript was on them. How many times have you loaded a website only to watch a couple of JavaScript "spinners" for everything to load only to click somewhere and everything started again? MS Azure management is one of such sites.

SPA with real time updates, complex layouts to be mobile-friendly, real-time updates of many components, endless scrolling and PWA features would be a total PITA. Yes, I don't disagree.

The vast majority of web apps I have seen so far don't need to be like that.
We should recycle them into firewood and long-life rations for winter
Python is a great language to Just Get Things Done™.

Rust is great if you like puzzles and want to spend your precious time solving the same memory management riddle over and over again. You do get faster and often more robust code though, although in practice the difference is often not meaningful and the extra time invested doesn't pay off.
This went out the window the moment that developers weren't rare anymore. Nowadays there is so many people all over the world willing and able to do the work to produce apps, apple is free to exersize their duopoly power and treat them as expandable.

I've created some iOS apps, and you can really feel this in every single interaction. From their crummy badly written out of date documentation without code samples, to the painfully slow developer portals, to the random app rejections.
Your requirements are very close to Starklark - an embeddable programming language intended for configuration with an available Rust implementation.

https://docs.rs/crate/starlark/latest
Currying and Composition in a Nutshell (With APL)
You can use the same hotkeys to switcch between windows and panes that you use on the ssh box :=)
Depending on if it supports the various CPython APIs, it'd be non-trivial to sandbox it. On the other hand, if it doesn't expose a CPython API, is it really python?
Why is this "hacky"? I've long wondered why databases need to be on filesystems, other than simply convenience. If you think about it, a filesystem is, itself, basically a database (not a relational one of course). So it seems like you could improve performance a lot by eliminating the filesystem layer and going straight to direct disk access.

Also, how this would be done would probably change depending on whether you're using a spinning-rust HD or an SSD, or a RAID array.
This is a really cool project, but:

"Where are the ISO images?

There are no ISO images. This project does not cater to non-technical users."

This comes off as really abrasive. Wanting an ISO image to quickly test this out is not an indicator of someones technical ability.

I'm sorry I don't want to boot up a linux vm, install a lot of development packages and then build my own boot image just to try this out.
You are looking for Starlark. https://github.com/facebookexperimental/starlark-rust
> if it works in Chrome, all web developers will adopt it

This is why we, tech nerds who understand the problem, must resist monopolies: object to using such APIs. Chrome wouldn't be in quite this position if, instead of embracing the monopolist, more techies had warned their non-techy friends and family away from it, like they did with IE.
For those looking to try their hand at building an OS, there's Linux From Scratch.

https://www.linuxfromscratch.org/

I failed tremendously, but I had a lot of incorrect ideas about what makes an operating system go. The learning experience was worth it, though.
Going to jail or being fined over widgets doesn't make a better world.
Head cheeses when??
Yep, pretty much the same conclusions I came to [0] in my blog posts on the AVP.

It’s essentially an iPad on your face (in both weight and capability). I was happy to pay its cost if it could replace my external monitors but it’s far from being able to do that. The pass through quality could be forgiven (it’s cutting edge but still not perfect) if the Mac Virtual Display was as sharp as visionOS apps but it’s not. Again, it’s better than anything else I’ve tried but it’s not anywhere close to my 3 monitors.

If Apple can continue to iterate on this and not lose interest then I can see myself buying a future version but as things stand today I’ll probably be returning mine.

[0] https://joshstrange.com
The linked issue reads: google-cloud-cli python module is also large at > 1.1GB which is much much worse than ~300MB, is this a mistake in the title?
Strange, it's not available anymore. Thankfully it's archived: https://web.archive.org/web/20240206154347/https://www.ncsc....
BGPWatch: A platform for detecting and diagnosing hijacking incidents
I lean towards this view

Well don't lean on it too hard because its not very solid ; )
If I recall properly, sometime after the MAX crash saga, the Air Force simply refused to take delivery of their 767s because of unacceptable build issues, including foreign debris (aluminium rests and shavings) and forgotten tools flying around.

I didn't follow how that issue evolved.
and you don’t blame Hamas for "what is going on in Gaza", why?
You sure can compare anything, but in this case the very fact of comparison highlights that you're either delusional or trolling.

Stalin was not always a dictator, but he was always a ruthless murderer, his revolutionary career started with extreme violence and went on for 40 years. Stalin was never elected other than by a murderous clique (whom he then had murdered) and ruled by corruption and murder ever since.

I hate to defend Trump but he's totally harmless in comparison. There's just no scope for anything resembling the personal fear-loyalty dynamics of 1920s-1940s ruling circle USSR in the US. Trump can't order anyone killed, he can't even order anyone imprisoned.
> That’s a high risk manoeuvre if the EU courts decide to make an example though.

And the EU courts absolutely should.
How about someone here show us how "public" this info is? Since it is so "easily accessible"?
I don't really get why you would bring a floating terminal into your "main coding screen" to do something in the background. What problem does it solve compared to just switching to another window, running the command, and and switching back?

Also in tmux you can just attach a existing window as a split to your current window and then pop it out again using aliases/bindings.
Companies will pay lots for specialized tools requiring domain-specific knowledge. Say a C# library for reading and writing an arcane file format heavily used by that industry.
In Defense of Using Fewer Tools
It's a different area of SWE, but https://deadlockempire.github.io/ is great except the final level.
> Tools are tools

Are you trying to say that all tools are the same? There are no bad tools?

Why is it naive for a painful tool to make you wince?
https://leehamnews.com/2024/01/15/unplanned-removal-installa...

and

https://leehamnews.com/2024/01/15/unplanned-removal-installa...
Because it’s written in C# and relatively new. Unbound is written in C so should consume less resources, has been around longer and has been vetted – FreeBSD and OpenBSD replaced BIND with Unbound.

The one downside to Unbound is that there’s no GUI so it can be a bit intimidating to set up. But the docs are excellent and Unbound defaults are secure, so it’s not as hard as it seems.
ElixirNitpicks
Probably a better link, with a lot of specs: https://neo.manjaro.org/

Another article: https://www.tomshardware.com/video-games/handheld-gaming/ora...
But isn't this just about compiling the system? Not really 'building', ie programming a operating system.
That teaches how to compile Linux kernel and software, not to create an OS out of thin air.

The go-to guide for anyone that wants to build their own operating system has always been the OSDev community wiki and forum: https://wiki.osdev.org/Main_Page
A detailed comparison of Logto and Auth0
What is the benefit of having a terminal float on top of your existing window as opposed to just switching to another window and switching back?
You're right, he mentioned Reddit not HN. I was speaking loosely when I said "being rude" - he criticizes them.
> calling bullshit in the ADHD-fueled development of nowadays where people are not even sure about what the final product should look like

Sigh. Of course people aren't sure about what a final product should look like. It's easy enough for something small, but once something gets big, how the hell are people expected to know how everything will work up front?

> Scrum nowadays is essentially a tool for micromanagement, that's why managers love it and developers hate it. Dailys are completely useless and breaking the development of complex projects in 2 weeks sprints is outright harmful.

Sure, some managers love scrum, and some developers hate it. But it's not a tool for micromanagent. It's a tool for course corrections in the face of reality.

I personally find dailies to be very useful, especially in a distributed team. It's an efficient way of figuring out what's up and making sure all noses are pointed in the same direction.

No managers are involved in any of my day-to-day scrum ceremonies.

If your manager hits you with a hammer, you might want to consider that your manager is an arse instead of blaming the hammer. When a tool doesn't work for you, sometimes it's not the tool that's to blame, but the larger context in which the tool is being used.
A lone position, or do they have a Workgroup?
You haven't worked with Vercel. Just connect your git account and you have a fully git-flow based server, with preview urls for every PR. Especially for small projects ideal.

Running it on a VPS is a skill on it's own, for both, if users had known to use NVM (which is explained in most top articles in Google) it would have not been a problem and if they don't know they should accept the learning pains of running productions apps (PHP, node or whatever), or otherwise use a managed service such as Vercel.

Upgrading PHP version is even more painful, I've tried to do version updates, and was alway easier just to build a new server. And also requires specific knowledge of apache, or nginx. Let alone deal with server outages, backups, restart, memory issues.
Nope, they're all running on Rails.
Ask HN: How to turn off DRM screen recording detection in macOS (at the root)?
Here's my problem:

1. On my mac I've installed some apps like Rewind which constantly record the screen.

2. I go to Netflix to watch something, screen is black.

3. "Why don't you turn off Rewind?" I did. Still black.

4. "Why don't you restart control center?" I did.

5. "Why don't you turn off permissions for ALL apps to record your screen?" I did.

6. "Did you turn off and on the browser?" I did.

7."Did you try a different browser?" I did, still black.

8."Did you turn off hardware acceleration?" That works but the browser gets slow so I don't want to do that.

9. So literally my problem is: there's some apple bug where I CAN'T watch even though I'm NOT recording my screen.

10. So fuck it. How is it that no hacker on hackernews by now has figured out how to nuke this DRM shit at the root? (I'm talking system level) Anyone know of anything?
The release manager for PyPy posted "Ask HN: Is anyone using PyPy for real work?" last year and got many responses: https://news.ycombinator.com/item?id=36940871.
> Just don't make it another UNIX, please. We have enough of those already ;)

Hah thanks for the encouragement! Don't worry, there's no danger on that front. I'm pretty thoroughly bored of the "everything is a file" motif.

I do like unix's idea of making large programs out of small programs that can be composed together. But unix's raw byte streams make a terrible messaging bus.
What's the problem with our children doing the entirety of their learning in a data collection box that aims to bombard them with advertisement and get them used to an ecosystem for lifelong ad targeting?

Now seriously, if Chromebooks didn't exist, couldn't you imagine a Black Mirror episode around this very theme?
According to the "insider source", 392 non-conforming defects in the fuselage door installation in the last 365 calendar days.

> As a result, this check job that should find minimal defects has in the past 365 calendar days recorded 392 nonconforming findings on 737 mid fuselage door installations (so both actual doors for the high density configs, and plugs like the one that blew out). That is a hideously high and very alarming number, and if our quality system on 737 was healthy, it would have stopped the line and driven the issue back to supplier after the first few instances.

Source:

https://leehamnews.com/2024/01/15/unplanned-removal-installa...
It'd be nice if Apple allowed Firefox to use their own engine, while not allowing Google's engine. But I can't imagine Apple being that nice.
Defined silent signed overflow (wrapping) is worse then UB. For UB there is at least runtime diagnostic. Parent clearly ok with `-fwrapv`.
My own view is probably atypical among dualists and idealists, and hard to explain. I'll just state what I think is true, without justifying why I think these things are true or compatible with each other. I think:

- Most or all of what makes us human, like love, pain, sense of belonging, seeing, hearing, find almost all of their explanation in the physical. I include even things like thinking, reasoning, beliefs, and so on, as finding almost all their explanation in the brain.

- The experiential/phenomenological side of these things (love, pain, sense of belonging, seeing, hearing, etc) are non-physical mental/consciousness things. Everything else besides the phenomenology finds its explanation in our brains (or some wider physical states than just the brain).

- I am not surprised that LLM's could be as powerful as they are today (though I am surprised that I was alive to see that), and I can see them getting better.

- The foundation of reality is ultimately mental/consciousness and not physical, and the physical (to use a philosophical term) supervenes on the mental.

Regarding definition of consciousness: I'm not so bothered with how we define words. I think a lot of philosophy is pointless arguing that amounts to no more than people disagreeing about how we should define a word. I see no point in that. Instead, let's just stipulate what we mean by a word, and get on with the meat of the discussion. In this particular instance, when I talk about consciousness, I'm talking about the thing that the 'hard problem of consciousness' is talking about. I'm not talking about, e.g., consciousness in the sense of wakefulness (where being asleep or under a general anaesthetic would count as unconscious).
I have yet to see a politician who has ran on "not prosecuting crime" and winning. It's a batshit crazy mega unpopular opinion that we should not prosecute crime so I'm shocked you are so close to someone who was able to succeed on that.

Can you share who this person is so I can look up what they ran on?
I don't mind the new argument but C# is one of the very few "high-level" languages you can implement something like a DNS server well with.
Algol 68 had a loop where pretty much any part was optional, so both "TO 10" and "FOR i TO 10" (if you needed a loop variable) were possible.

(Back when Go came out, there were some Algol 68 comparisons, IIRC)
Wrong comment you replied to? I was talking about the institutional setup and maybe political mechanics, not identity
All you think you know about nuclear waste is a lie.

First, the amount of waste that last centuries fits in a single room per nuclear country. Also you don't need to manage or finance it at all, you can just leave it there an be fine with it:

In fact when nuclear was still being treated like a regular industry with respect to its pollution, the nuclear wastes from the military and early civilian programs in UK and France were being dumped in the middle of the Channel. Not that I'm saying that this is a good thing, at all, but it's also causing no harm in practice and because the quantities are so small, the environmental impact of doing so is much smaller than the routine wastes of most industries, including IT.

Also, we've known the solution to waste for 60 years now: it's called a breeding reactor. 40 years ago France had one prototype (Phénix) and wanted to scale it up to industrial size (Superphénix) but it was canceled due to pressure from Greenpeace (including a successful campaign to pressure the Swiss government to fight the project)! Then 30 years later Greenpeace is conveniently still using the nuclear wastes argument.
This has nothing to do with pragmatism. Just update the version number. This is the pragmatic way.
I realise this is a silly thought experiment but the point of comparison should be, at the very most, the human industry generated CO2, not all natural CO2. The CO2 from this particular process is probably more relevant and since this process generated 1 ton of Cl per ton of Steel and the normal process generated 3 tons of CO2, we should give it a 66% discount.
> But you will then discover that the mainframe 3270 terminal user interface experience is terrible.

I was an intern at IBM UK in the late 80s and I had a 3279 on my desk connected to a 3090 mainframe. My recollection is that it was fine for editing and running code: sharp, bright text and snappy response. The clicky keyboard was nice too - probably the best I've ever used in the decades since - although the height of the enclosure would probably hurt my wrists now. The key caps had APL symbols on them too, which was interesting and prompted me to learn about that language a bit. Mostly I was writing APL and REXX code for image processing.

Some of the f/t employees I worked with had worked on the development of the 3297 at Hursley Park. They had some interesting stories.
Laziness and inertia is the reason monopolies exist, yet when you inquire individually everybody have their own inane reasons to keep the status quo alive.

Elsewhere in this comment section someone literally said they use Chrome because Reddit does not work in Firefox, which is utter nonsense.