skysight-inc/HackerNews huggingface dataset:
anyone interested in a practical solutions to endemic drug abuse and associated criminality have ample case studies to review and copy. Attacking source of supply - which is Graham's preferred and (only?) suggestion will fail because the main issue is always demand. As for Mexico's 'world renowned drug and crime problem' - you might want to consider when it did indeed become a boom industry
Exactly. See?
Indeed even here in the comments everybody gets heated about the details, so on the streets it will be even worse. What everybody (how conveniently for them) ignores is why, when this pension was invented, did they choose a certain age when to benefit from it. They chosen it by age expectation, that not everybody gets to reach it so the survivors will benefit. Nowadays this very principle is broken and we all get hung on 63 or 65 while the average/median/whatever live over 70. So basically everybody requests and expects a pension which wasn't even thought for everybody. It's not the system's fault here - it wasn't designed for today's pyramid - but I also recognize you cannot expect people to accept that, so here we are.
No. OpenBSD had it as an optional method in the FAQ and man pages.
The encryption guide was already there, but not shown in the installer.
You had to run three or four short commands by spawning a shell with '!' from the installer, exit that shell and that's it.
Now try doing the same by hand under Linux. With an encrypted boot.
> The performance "disadvantage" of react (compared to what? SolidJS? handcrafted JS? some WASM thing?) is so small a user won't notice it

How can you know this? The only scientific way to approach this question is with real-user metrics and analytics.
Doesn't even have to be a lot of traffic. They just quietly flag your account after a while. I used their TLDs specifically to host high school projects like a decade ago.

Suddenly, overnight, the DNS got updated and the account got "suspended" (thankfully only after the high school projects were done and over with). I knew it was suspended because while I seemingly wasn't allowed to iterate over the domains list, I was able to see the total amount of domains I had a registration for.

Making an alternate account to try and see if they unregistered the domain (and to see if I could rerequest it) showed them selling the domain for ~$6.

They get away with this due to some clause in their TOS that says that they're the owners of the domain and are just leasing it to you. I'm not sure if that's in-line with broader ICANN rules surrounding domain owner rights (iirc they've actually been suspended a couple times because of this sorta stint), but the company are complete scumbags.
Make to look at the README, it’s quite nice!
I think you overlook the central point: The assessment that x>y is based on learned information about x and y, and the assessment that a is a smaller problem than b ditto.

You may argue that the x, y, a and b are wrong, and therefore the conclusions is wrong. Well, fine, as you please. What I'm saying is that learning about x, y, a and b, then forming conclusions, is a high-information mode.
Am I the only one who was still wondering what a 'zero energy ready home' is after reading the entire article?
So I followed a link, that led me to this definition:

> A DOE Zero Energy Ready Home is a high-performance home that is so energy efficient that a renewable energy system could offset most or all the home's annual energy use

And now I still don't know. What is a 'high-performance home'? And what exactly is the criterium to decide if 'a renewable energy system could offset most or all the home's annual energy use'?
I use SumatraPDF almost every day and I love it. It is very rare these days to have an application that is all of the following:

- Small and fast

- Hand-crafted for a particular platform

- Not bloated with oddly specific UI menus and configuration settings

It has one job and it does it very well. Thank you for it.
Would running on a cpu be more or less power efficient then running on a gpu with the same words per second rate?
A RaspberryPi sharing the printer over the network would do the trick. Stick it to the back of the printer, the LAN port connected to it, while sharing overthe WiFi.

It works for 3D printing with OctoPi, it should work with 2d printers with Samba.
> I'm not sure I'd ever expect a framework, React or anything else, to stop that behavior. If a child component signals to a parent that the state has changed then I would always expect that to cascade down the node tree. That could cause further updates. And more renders. That behavior is on me. If the framework decided not to cascade some updates that would be weird.

It's not that the properties shouldn't be updated it's that in React the whole subtree gets completely re-rendered, with a potentially big performance cost. Svelte just changes the relevant bit of the DOM, like a single class attribute or whatever, and leaves everything else be, this feature alone is what made me switch. In addition to baseline performance benefits certain things which are really awkward in React (e.g. animated transitions) become non-issues.

>Feeling like you have to stick with React is a state of mind - you can change that with enough effort.

I really appreciate your optimism about switching to a different framework/ etc. and I would have felt the same earlier in my career where I didn't have so many non work commitments, financial and otherwise. But to me now this reads as wishful thinking; switching track is difficult, especially when your existing skill set represents a large chunk of the demand in the marketplace. (And I say this having recently sucessfully made the switch from React to Svelte)
I don’t interpret the parent comment as being representative of a hacker’s mindset, but as that of the general population.

Trusting big companies, trusting government, is mainstream.
No CEO's are invited into government in China - what is happening here is these CEO's have been given a platform to speak, the shift being from consumer tech to industry / hard science tech.

Totally agree there are distinctions in approach, but general posture of 'frivolous internet bad / hard science and industry good' has been adopted by both PRC and USA
Specifically, Apple ][ code copied from Nibble Magazine:

https://www.pagetable.com/?p=64

(More details in the recent comments at the bottom.)
This is why people use redux, keep state in a store and just do v=f(state).

Your app is the store, not the DOM.

It really makes things much simpler. The trick is to keep all the state in the store, including when things are loading, when some user interaction is happening but not yet complete, etc.

From your comment, it seems like there may be some problem if the user is interacting somehow, let's say in the middle of doing a drag and drop, and some data update comes in from a websocket, right? Well, if that's going to cause a problem for your render it's because apparently your data-updated function h needs to know if the user is doing a drag and drop. That should get put in the state when the user starts the interaction, and now h can know about it and react correctly.

Yes, it's more complicated than just have some component render based on the data you receive, but that's because it turned out that your app was more complex than you thought, it has more states you need to care about.

There's no magic wand, but this stuff works, just adds some boilerplate code but I don't mind.
Yes and No. Both modern Linux and OpenBSD have their pros and cons. For example, security works better in the onion layers, which can increase complexity. With Linux, you get a modern stack such as Linux containers or ZFS if you want those excellent filesystem features. Are you using containers for development and deploying apps? Using Linux would simplify the process (of course, you can set Linux VM under OpenBSD and run Docker).
On the other hand, OpenBSD is a compact OS. Less code == fewer bugs (at least in theory). Some of their code, such as OpenSSH, is wildly used by Linux, Windows, and major IT vendors in their devices. OpenBSD devs do write reliable code. In short, use whatever gets your work done quickly, which also keeps you or your devs/users happy. That is all matter. Apart from that, it would be best if you took all other precautions to secure your OS, such as regularly applying patches, and firewalls, installing adblocker, not downloading unwanted stuff and clicking on the links, regardless of whether it is Win11, macOS, Debian/Ubuntu Linux, or OpenBSD.
Ha! Didn’t you know about China? I thought you knew about the corporate purges that have been going on? There’s certainly been a lot of it. Well, let me know if you discover it… “in the news” haha! ;) ;p xx
"Head" at Google means "head of the google3 monorepo". I gather they stay close to upstream for GCC and LLVM. Alsonote that they aren't necessarily matching upstream offerings with respect to C++ standards flags. They aren't necessarily matching upstream for various third-party libraries either. "Head" for third-party libraries means "the latest vendored in from upstream", which doesn't have to be particularly new.

In contrast, those third-party projects like boost would probably consider the latest commit on their HEADs of their git repos to be "head". So "live at head" is a statement about how each organization should version its dependencies. It doesn't really make sense in the context of boost maintainers deciding their support surfaces since they have all the "heads" to worry about, inherently -- all the organizations using boost libraries.
In what way is the kubernetes API loose schema'd?
I would imagine anything related to US infrastructure of all kinds is going to be funded soon due to the $1 trillion infrastructure bill.
Hey I think a lot of nostalgic people sometimes want to hack the game ROMs instead of making a new one. For example, they may want to add more characters, use enemy roles, add more skills and fun things, does your programming language can also provide such purposes?
Honestly my comment is moot I think

I realised I was coming back to the thread to edit in new thoughts. This means I do both fast thinking (initial comment) and slow thinking (returning to add something else)

I no longer believe I'm solely a fast thinker, I just wasn't giving myself credit for the slow because I'm impatient af
I think this story/abstraction of "owning money" has to break at some level.

I mean if you believe, as I do, that money (especially at trillion level) is direct substitution for power over people and even whole societies
then what happens if we let this global game of Monopoly to play to its seemingly inevitable conclusion ?

Isn't this somehow antidemocratic in nature?

And if you notice that inheritance is not unlike inheriting stance in aristocratic societies this capitalistic abstraction of ownership through money seems to crack.
Depends what you do with the gear; or whether you even have the skills to use the gear properly. There are a lot of people with money that end up buying some really expensive gear that haven't got a lot of skill. And there are a lot of impoverished but skilled photographers that take photos with some old thing they got their hands on cheaply and second hand because that's all they can afford.

The latter take better photos, generally. But as soon as they get money, they buy the gear they need and make even better photos. Professional photographers tend to really obsess about their gear.

I got myself a canon dslr about 12 years ago. Nothing special. Just the entry level model (550D). I used it until about 2020 and I replaced it with a Fuji XT-30. Also an entry level camera. Does it take better photos? Yes and no. It's certainly more capable in low light situations. And the photos have a bit less noise and more dynamic range, which is nice. But neither of those things were much of an issue with the Canon in daylight situations. And I'm still the same person with the same amateur skills. So, there hasn't been a massive improvement in the quality of the photos I take. I do shoot a bit more at night now. Because I can with this thing.

But what I do appreciate most with Fuji is the controls. I mostly shoot manual now because this is very easy with this camera and was very fiddly with the Canon. I have one dial for aperture on the lens, one dedicated dial for shutter speed and I control the iso with one of the programmable dials. As it turns out, forcing yourself to shoot manual all the time puts you on a learning curve where you start analyzing what you shoot and how to set the shot up correctly. Shooting in half automated mode with the Canon was easier but you get lazy about it as well. I mostly shot in AV mode with that and thus ended up with a lot of shots that were either not well exposed, noisy (high iso), or with the wrong aperture for the situation.

Fuji makes some fantastically expensive cameras that cost thousands of dollars that you typically pair with lenses that are even more expensive. Clearly way out of my budget. Would I like owning one. Oh yes. But would it probably wouldn't make a huge difference.
It protects against data being directly copied off the disk, or modified, by anyone who may have physical access to the machine, but who lacks credentials to log in.
My guess is that the invention of computers made design more expensive because it led to fewer constraints and more difficulty in asserting a single source of truth.
The numbers got high enough the differences don’t really matter much, and the distribution is really wide.

Suppose you were looking at countries median car top speed. Fining one countries median is 150 MPH vs 156 just don’t tell you much when you can’t drive that speed on public roads. Or in internet terms Netflix etc isn’t sending 8k stream let alone multiple 8k streams.

On the other hand many internet connections can’t handle a single 4k or even 1080p stream so percentage of connections over X threshold is more impactful.
https://www.qlcplus.org
That isn't a model of truth, that is a model of grammar. A sentence can be a lie but still a perfectly valid sentence and a perfect continuation of the previous text, ChatGPT could give such a sentence a perfect match score. In fact it can give a lie a higher score than a truth, if it thinks that a lie fits there in the text. So the score has nothing at all to do with truthiness, its just a grammar model not a logic model, it doesn't score logic or truth.

Edit: Note that we get a lot of strange side effects from that grammar model, as it can also generate reasonable text continuations matching previous text. But it doesn't score the truth, it just scores how much the text matches the last line, not the truth of the text.
Building Your Own Mini ChatGPT
Google is still king of the traditional web. There are so many products and services that you cannot sell through Amazon and that you do not want to sell on Amazon. Social media is a joke when it comes to online sales, you have to invest 100 hours into social media to get the same results as investing 1 hour in a normal web site.

The search engine of Google has rapidly deteriorated, but people still go mainly to Google when they want or need to purchase something.

AI can not make contracts with humans and make a sale. People selling online instead of making free content seem to be the most protected against AI right now. An AI can never deal with money responsibilities.

Google's strongest arm right now are maps, where they are superior. Apple is finally catching up, and could compete with Google if they changed some of their truly idiotic maps policies. For what it's worth, Apple could probably easily destroy Google as a search engine, and they have the conservative attitude to make them a good candidate.
>matching f64 by value

I wasn't thinking about matching floats by value, just destructuring a Point to obtain the coordinates as separate variables. Come to think of it though, as Rust already allows

let Point{x, y} = pl

there would be little benefit to allowing positional matching (and in fact it would create a nasty ambiguity). So yeah, as you said, you'd have to reserve the positional syntax for initialisation.

My overall point here isn't that Rust has made bad design decisions. It's just that the end result of a bunch of sensible design decisions is that initialising arrays of structs is clunky. It might well be that this problem isn't fixable without creating other, worse, problems. However, I think it's a problem that's emblematic of what the OP was talking about. We have here a language that's so concerned with solving difficult problems in clever ways that it's ended up backed into a corner when it comes to something as ridiculously simple as initialising an array of structs.
Cool Designed Carousel
TSX + MobX are the reason I'm happy to stay on the React train after a transition from AngularJs (1) to Vue 2 to React.
Why stop at that. We could also disconnect water, electricity and heating from people that we disagree with politically.
Art isn't a quantitative but qualitative activity. Just consuming more media cheaply is hardly a good thing. If anything we already waste too much time on forgettable, generic media as passive consumers at the expense of health or social life. Wall-E wasn't supposed to be a utopia, and being trapped for 15 hours per day in Zuckerbergs AI Metaverse is not the kind of 'content' we ought to be looking forward to, even if it costs zero dollars.

This was also true for past media like the TV and the criticism of the medium in many ways was correct. TV remains, despite uptick in quality, more generic, intentionally addictive, attention grabbing than say, film. We're now discovering the negative effect algorithmic social media has on the mental health of teens. Critics of automatically produced mass media tend to be right locking backwards.
Bravo, it is much more likely to be reliable if everyone is going down the same kind of path to set it up
> Buddhism has no concept of caste.

Do read this.

https://archive.org/details/I.B.Horner-Vinaya-Pitaka/I.B%20H...

On the issue of Gita. Could you please elaborate the words which refer to birth categorically? I know enough of Sanskrit to understand the original verses.

Edit: Here is a link to whole research paper on caste in Buddhism. Dp read the chapter appropriately titled.

https://www.jstor.org/stable/29757366&ved=2ahUKEwiRrp7Oksz9A...
> Humans ability to push others out of the circle of concern is near limitless

In theory, yes. In practice, the circle has been continually expanding with technological progress.

Stated differently: What's the point of being powerful if you cannot rule over other people? What's the point of having thousands of empty palaces, when no other humans see them or care?
What I meant was that the "nearness" is somehow "random", I don't doubt that the results come from a clever analysis of a zillion documents or websites, still the final result makes little sense.

Your explanation is likely to be accurate in the case of celsius, but it seemingly doesn't fit on this other game/answer.

I don't want to spoil the answer to that game, but to me it is hard to believe that both "car" and "compare" are nearer than "digit" or "number" to the answer if it is based on number of occurences in context.
Thanks for your questions. Yes we do perform dataflow analysis:

1. Not yet but we are exploring ways to support that

2. The analysis part is sound. False +ves (mainly) come from limitations with what you can specify in the rule language. We're working on this however.

3. We don't make that distinction in the rules language currently. Sensitive data detection (which is built-in) is effectively treated as a source. But we need to allow rules to specify sources. I don't think the limitation matters to finding issues, but more to how well they are reported (you effectively only get the sinks reported at the moment).

4. We plan to add other languages but are mindful of the balance of depth vs breadth of support. Is there a particular language you'd like to see support for?

5. There is no support for these currently unfortunately.

6. As it's intra-procedural, we take quite a basic approach to these (with some special cases in the engine). In terms of dataflow, we treat unknown function calls as identity functions (assume the output is somehow influenced by all the inputs). Obviously this is not ideal in terms of false +ves, but we need to work on inter-procedural support first to do a good job of this. In terms of type analysis, we will try to infer unknown types locally from field/property access.
Money is not the best or the only motivator.

Maybe (ignoring the fact that ours is the age of trash, one of the things that should be solved first) those jobs you've mentioned are in fact essential and the only thing it shows is that the way how incentives are set is artificial and has nothing to do with the real utility of the job.

Making majority of population to work their whole lives although there are (will be) ways to automate it completely just because we need few dirty & greasy jobs done is not a stupidity?

And I for one don't believe that doctors and nurses are in it only for the money, there are many examples of people choosing jobs and risking their lives for others, no money are worth that. People (can) act out of their heart, not just out of their greed.

It's a complicated topic, with many unknowns and many things that would have to change, but insisting that status quo is the best way to handle things ... that seems like blindness to me.
Have you considered submitting your blog post to HN? I enjoyed reading it, but I'm not going to steal any karma from you.
This abomination reminds you to use a proper scripting language.
According to a study of 700 ML researchers (not AI safety) the median chance that that the long-run effect of advanced AI on humanity will be “extremely bad (e.g., human extinction)" is 5%. And 48% of respondents gave an answer of 10% or more.

Even if this is 2 orders of magnitude too high it's worth a lot of our time. But these are probably mainly normy researchers not AI safety-ists. https://aiimpacts.org/2022-expert-survey-on-progress-in-ai/#...
Hey man

I suggest you check blackhatworld.com, you will find a ton of valuable things.

It is the biggest internet marketing forum online and only 1 now, and don't be intimidated by its name, its non related with "black hat".
I just found out all my chats in my paid account had also gone.
Ad what % is it crazy shit? I'm at about 7% of human disempowerment/exctinction, so it probably won't happen. Am I crazy?
Interesting question. I think so?

https://access.redhat.com/documentation/en-us/red_hat_enterp...

Looks like clevis is gpl3 - so I expect it's not packaged as standard for any of the bsds?

https://github.com/latchset/clevis

See also:

Ed: and: https://github.com/kmille/cryptboot

https://security.stackexchange.com/questions/194081/use-tpm2...

https://security.stackexchange.com/questions/39329/how-does-...

https://superuser.com/questions/619721/can-i-use-the-tpm-on-...
If you hate the black theme, don't worry, in the left corner, turn it into "white theme" .
> This doesn't solve the problem you have in mind - verifying the file is genuine; it solves the problem of verifying that what you got is what you expected

Exactly.

> Secondarily, because the files usually sit on a different server than the site itself, the hash lets you detect some cases of your download being tampered with in-flight, or the file itself altered on the server.

That assumes the download file is on a different webserver, but if they can gain access to one server, its not beyond the realms of possibility they can alter the hash values on another webserver.

I just find all this crypto stuff to be misleading whilst it overstates its effectiveness.