skysight-inc/HackerNews huggingface dataset:
Can anyone comment on the OpenBSD security model in 2024? Is it more secure than a minimal linux distro (or one configured to be so) such as Ubuntu Minimal or Debian Stable?

I'm finding it quite difficult to compare OS "security" these days, whatever that means. Everyone seems to have their own crackpot opinions. If anyone with a security background could chime in, I'd be forever grateful.
Why not?

Why isn't spam a highly effective attack by the copyright agencies?
About that:

res, _ := some_func(…)
Many levels of try/except nesting could (in theory) lead to this, but my experience is the same as yours, I've never had an issue with a stack trace pushing the relevant data out of the buffer
And how many times have you heard about someone rejected from notorization?

It’s been a thing for years now on Mac with many, many notarized apps.
Looking at the big picture, in terms of trade off, how much benefits are there to plastic straw bans vs the large amount of inconvenience it generates for consumers? Hear me out.

Plastic bags, plastic cups, plastic cup lids, styrofoam, plastic packaging, plastic candy wrappers, etc, frankly speaking, the average consumer does not give a shit about what these things are made of. Which is also to say, the average consumer would not mind at all if any of these things were required to be renewable. These are all things a manufacturer, restaurant, supplier, etc cares about, they are the ones on the hook for solving the problem of making these renewable, they are the ones who are usually impacted by most bans like this.

But plastic straws are something that the average consumer does care about, they stick this into their mouth, it effects the quality of their meal. For people with certain medical conditions, all their meals must be consumed through these things. When you ban plastic straws you push a bunch of neutrals off the fence.

Plastic straw bans don't effect the usual industries, so bans are naturally going to be easier. I'm sure that plastic straw manufactures would be upset, but largely speaking the usual lobbyists for this kind of thing are unlikely to care. This deceives environmentalists into thinking this is a low hanging fruit. So legislation is passed, consumers get pissed, and now the people who care about the environment are less likely to get re-elected.

Was it worth it?
I don’t know. I tend to believe people are innocent unless proven guilty. “Allegedly” kinda stands out here…

Anyway, I can’t believe I’m arguing over basic human rights ingrained in the constitution. Well, I guess all rights go out the window “for the children” so I’m not surprised. Just disgusted.
Leaving aside the technical merits of Golang's error handling, this article is a straw man. The Python example can be rewritten with error handling. And arguably in this example the Python program is fine.

There is no objectively "perfect" approach. I personally prefer getting a stack trace of the point at which the problem occurred. I find that more useful as opposed to getting back an error code which has been propagated and modified through layers of function calls and is often hard to correlate with the original error condition.
It's generally good practice to not just `return err`, but to `return fmt.Errorf("some context: %w", err)`. That's usually enough for you to get what you need, with a much higher signal-to-noise ratio than a stack trace.
Being out the door is usually riskier than being inside a wood-frame SFH. You're exposed to falling trees, branches, power lines, and roof debris, as well as unsecured cars or other loose items. Wood-framed 1-2 story SFHs almost never collapse in an earthquake; the wood can bend to absorb the shock, and there's a lot of redundancy in the studs, and not a whole lot of weight on floors above you.
Wirecard fugitive helped run Russian spy operations across Europe
Archive link: https://archive.is/EhpFR#selection-1545.0-1550.0
Instagram starts offering subscription for not showing ads for EU users
I also found it suspicious, but it seems to be legit - the source of the blogpost can be found on github https://github.com/verygoodsoftwarenotvirus/blog/commit/6a43...
People in my town in southern NH reported feeling it about 20 minutes after it happened
Much more in the camp of exhaustive pattern matching such as in Scala or Elixir. Makes my code much cleaner, and I avoid if statements and loops.
Glad we can agree on something. Cheers!
Yeah, they could just hire some people for minimum wage to do it, but apparently that's too much to ask too, they would rather focus on vanity measures that will make things worse for the environment and more difficult for people to comply with, but will look good in a press release. This is the natural product of environmentalism and bureaucracy.
> Honestly, my social media bubble exposed me to exactly 0.5% of the videos on this site.

Social media is cancer when it comes to delicate political conflicts and nothing exemplifies this more than the Israeli-Palestinian (formerly Israeli-Arab) war, where both "sides" get stuck in echo chambers. The roots of this conflict go back at least to the end of the 19th century (if you leave out the complex histories of the Jewish and Arab peoples before that) and both sides have legitimate grievances as well as their fair share of blame. For every claim that someone's going to make, somebody else can make a counter-claim.
Meta's approach to labeling AI generated content and manipulated media
I'm asking you to prove the statistics of people being hacked in larger numbers because of open handsets, not that theoretically locked down ones seem more secure.
The house going up 20% is its own oddity. My living here doesn't attract more business or residents to the neighborhood, it doesn't really improve the value of the land except for my fractional contribution to keeping a nice grocery store open nearby.

I suspect in many cases home ownership is just subsidized. Might be Director's Law at work. https://en.wikipedia.org/wiki/Director%27s_law
Thanks - I feel I'm still missing a link though, as Andreesseen seems to be all about blockchains and cryptocurrency, and this article is about nefarious uses of generative AI technology by SEO firms. I don't immediately see a common thread.
HAL Open Science: Open and share the knowledge
HAL is an an open access repository and complies with the Open Archives Initiative (OAI-PMH) as well as with the European OpenAIRE project.
> I think it's fallen out of favor, but I always preferred the "Either" monad style of error handling. I think the cool kids call it "railway oriented programming" but I never liked that term. Regardless, it's not radically different than the Go style, just instead of returning back two things and checking for `nil`, it's wrapped up into an algebraic data type.

Is that falling out of style? Sounds like Rust's Result type, but i'm unfamiliar with monads/etc.

If it is similar, i spent ~5 years in Go and have now had about equal time in Rust - i vastly prefer those algebraic types for errors. Notably because it _can_ be as simple as Go's string concat behavior, but it can also be far more expressive. Yes, Go's type can also be more expressive by adding interfaces/etc, but it's difficult to beat a good enum in my experience.

At risk of sounding Rust biased, proper Enums are something that would have made Go more elegant imo. Unlike Generics/etc which are a contentious topic (or used to be, at least), proper enums are just so damn handy and cost so little. My 2c.
Huh. You do hear about animals reacting before earthquakes. My cat did alert before the quake, but didn't really scoot, until the shaking started.

He was sitting on my lap, at the time. I'm glad he didn't extend his claws.

I suspect some kind of subsonics that come before the shaking really gets going. It can take a bit of time to get a rhythm going, so the earthquake may actually be under way for a bit, before we really feel it.
The Market May Have Hit a Real Record, but It Could Be a Problem
Static builds of nightlies and releases are available

https://evermeet.cx/ffmpeg/
I forgot a lot of those as soon as I heard them. Musk comes with a continuous stream of BS that is not to be taken seriously.
Making fun of “woke” is a pretty right-wing-coded behavior in my experience, even (especially?) in the context of April Fools joking.

If they had omitted the word “woke” and, say, simply joked about being more “corporate” perhaps, I think their antics would be perceived as less partisan.
https://casetext.com/case/people-v-bocock

"When one looks at the evidence in this case, no reasonable person could conclude that the defendant did not send e-mails, text messages, and have the phone conversations regarding having sex with a 12-year-old girl."
That's not what I got out of it. It sounded like he instead was making an effort to recognize and categorize some of the problems he's experienced, and thereby create plans to avoid or mitigate them.
Yeah no, unless someone has previously told you what it means there's no way of guessing that, that's just wishful thinking.
I write go.

As every programer does you sometimes need to write throw away code. The one off script, a quick tool to clean something up, a loop and a regex to make it cleaner data, aggregating data from two systems into one handy file.

Go has this handy way of throwing away an error return. If I have to write something that is trash I skip over the errors. I can ignore missing files or json formatting issues. Granted that code would not pass muster of a code review, it would be apparent what I'm doing.

You can cut corners in go, it just reminds you that your doing it.
As Youtube becomes less and less of a stable platform, archivists are in fact starting to do that, but knowing that it's free media provides significantly less incentive for leechers.
> Maybe because my introduction to him was

Would've thought most would view it as dark and melancholy and resigned. You get optimism from those lines?

Do you feel the following is optimistic?

'...

The woods are lovely, dark and deep,

But I have promises to keep,

And miles to go before I sleep,

And miles to go before I sleep.'

In some sense, I guess it can be viewed as optimistic. In the way 'death cures all' can be viewed as optimistic. Just never thought of it that way. Interesting.
I am missing a section on UX best practices and in particular: intuitive and touch friendly solution for multi column sort.

All approaches I’ve seen here have some issues; worst of all being “press shift to sort by multiple columns” (not touch friendly).
Arch has a policy to keep package patching to a minimum. If the newer xz version doesn't have a backdoor, they will probably follow upstream.

Also, Arch doesn't appear to be affected by the vulnerability:

>> openssh does not directly use liblzma. However debian and several other distributions patch openssh to support systemd notification, and libsystemd does depend on lzma.

> Arch does not directly link openssh to liblzma, and thus this attack vector is not possible.
Although I've used Tauri only minimally, I have a lot of experience developing in Qt C++ and QML. I can say that QML is such a wonderful language for GUI development. It's just so obvious that GUI development should have been this way all along. I'm developing a block editor (Notion style)[1] and it's been great so far. One thing to consider is how well does Rust integrate with QML. I'm using a lot of C++ code that connects directly to QML code (via invokale functions, signal/slots, and Q_PROPERTYs, etc). So I would research more into that if I was you. The benefit of having the backend (aka, logic) in a compiled language is great for performance. Also most Qt Quick components and most QML code is compiled to C++[2] nowadays.

Yes, there is a lot to be desired in terms of built-in components that look native but there a 3 ways to look at it:

1. Qt is improving there. For example, Qt Quick now provides native dialogs and file pickers on most operating systems[3] (currently native dialog support is lacking on Windows if I remember right).

2. It's very easy to customize the look and feel of components to achieve the look that you want.

3. Many open source projects are available to take your Qt's project to the next level and make it feel more native. For example - qwindowkit that allows you to create native frameless windows.[4]

I have to go now, but if you have any questions, feel free to ask.

[1] https://www.get-plume.com/

[2] https://doc.qt.io/qt-6/qtqml-qtquick-compiler-tech.html

[3] https://doc.qt.io/qt-6/qtlabsplatform-index.html

[4] https://github.com/stdware/qwindowkit
We've saved 98% in cloud costs by writing our own database
It's been reported some years back that labs reporting higher THC yields will get more business. It's an incentive of the ratings agencies, like Moody's/Fitch/Standard & Poor's during the real estate bubble of 2003-8.
The Parkinson's Law aphorism departs a bit from his original point though both are totally valid. It's pretty amazing how applicable so many of his essays still are. They mostly don't seem dated at all. See bikeshedding.
I really, really hate how many of my problems are toothbrushing problems. I know I just need to get over it and start brushing, but... ugh.

Anyway, can't recommend Adam's writing enough. Subscribed after his second post and have never regretted it. If you liked this, you should also read "You can't reach the brain through the ears", an excellent piece about failing to communicate.

https://www.experimental-history.com/p/you-cant-reach-the-br...
Thank you for your feedback, I appreciate it. Do you have any feature in mind that you would like to be implemented?
Citymeetings.nyc uses AI to make it easy to navigate city council meetings
Autonomous Overhead Powerline Recharging for Uninterrupted Drone Operations
We will find the "evidence" to extract our pound of flesh. It was Curveball then, it happens to be "AI" now.
Welp, time to buy the Volvo/Geely EX30 (a reskinned Zeekr X) I guess.

It was recently released here in the US, and the pricing is comparable if not slightly lower than a Tesla Model 3, and Geely's build quality has been good enough.

> self driving taxis

Interesting. I think they did poach some of the core CV team from Uber a couple years ago, but at this point I don't have high hopes.
That was fun. My folks place is essentially a 5 minute drive from the epicenter. I'm about an hours drive. Our experience was pretty similar.

Looks like reported depth was 5km, making this a very shallow earthquake
I just don't think it makes sense from outside the system.

If the benefits are so great, why can't the benefits be shared and even increased if I live in a condo in a row of condos? Then we have fewer outside walls to insulate, we can all pitch in for a manager to handle exterior maintenance, we can pool parking, maybe get some solar panels using that nice big shared roof space...

I agree the benefits _as the system is set up now_ are obvious. I don't think those benefits _should_ exist because I don't think they make sense or fall out from first principles.

And this isn't a communist thing, I think that single-family homes just look like an inefficiency. As a capitalist, why am I paying to heat and cool extra walls?
I love Fork and use it a lot, though I’d say for any Git GUI you should still build a solid understanding of the fundamentals to use it effectively.

I’m not implying this was the point you’re making at all, but imo a Git GUI should be for aiding visualisation and to avoid needing to type the (sometimes unintuitive) commands rather than to avoid learning Git itself. I think this is what causes many people to get stuck.
There's a low-hanging fruit that I think would make ffmpeg more helpful for regular people.

There's a million terrible websites that offer file conversion services. They're ad-ridden, with god-knows-what privacy/security postures. There's little reason for users to need to upload their files to a third-party when they can do it locally. But getting them to download fiddly technical software is tough - and they're right to mistrust it.

So, there's a WASM version of ffmpeg, already working and hosted at Netlify [1]. It downloads the WASM bundle to your browser and you can run conversions/transformations as you wish, in your browser. Sandboxed and pretty performant too!

If this tool a) was updated regularly b) had a nicer, non-CLI UI for everyday users and c) was available at an easily-Googlable domain name - it would solve all the problems I mentioned above.

[1]: https://ffmpegwasm.netlify.app/
> If the result of AIs harvesting every bit of content on the web and regurgitating it without sending consumers over to the creator's website, then creators will stop putting stuff online.

Which is a thing that is already happening. Not in significant enough numbers to matter at this point, but I expect this trend to get larger with time.
I don't necessarily disagree with the overall point, but I'm sad the article misses the big advantage to the sum-type solution. It is not just about "being able to collapse `res, err := func()` into `res := func()?`". With sum types you literally cannot access the Result's inner value without performing some kind of error handling. Even if you just `.unwrap()`.

from https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-...

> The point is, this function signature makes it impossible for us to access an invalid/uninitialized/null Metadata. With a Go function, if you ignore the returned error, you still get the result - most probably a null pointer.
Sudden lift off oversteer does not only happen with rear engined cars though. I’ve certainly gone sideways on fwd econoboxes mid turn in autox by just closing the throttle.

Seems then that you’re driving a fwd car with a stiff rear suspension and a softer front
Every girl born after 1999 only knows how to be on they phone, eat hot chip and lie
I've been watching USGS since I felt it. It was originally 4.8, then it was 4.7 for a little bit, and they brought it back up to 4.8.
There is a conflict between the concept that children are not mature enough to make their own decisions, and the concept that children should work. When children are involved, the usual practice is that parents must be involved and must approve of their children "working".
Since the prompt doesn't mention error handling explicitly, it does show a difference in the general attitude towards error handling in the Python code vs. the Go code in the corpus
1. KeyPress OSD can be a great typing visual aid, it displays text lines as you type.
2. And it does... text auto-replace, you can use it to expand abbrevations.
3. Mouse keys that work a lot better the mouse keys from Windows 10 or 11... with better behaviour customization options.
4. Multi-clipboard manager.
5. Recall previous typed lines and insert into current app
6. Identify and display which keys are dead keys, when pressed.
7. Key names in different languages.
8. Rename key names.
9. Granular control over the audio-cues when pressing keys.
I extracted out all the err-checks up to where they're handled.

if err != nil {
return nil, err

if err := json.NewDecoder(response.Body).Decode(&data); err != nil {
return nil, err

if err != nil {
return err

if _, err = reader.Read(); err != nil && err.Error() != "EOF" {
return err

if err != nil {
if err.Error() == io.EOF {
break
}
return err

if err != nil {
fmt.Printf("Failed to fetch data from %s: %v\n", url, err)
continue

if err := processCSV(csvFile); err != nil {
fmt.Printf("Error processing CSV: %v\n", err)

Everything just bubbles-up. You've reinvented Exceptions with more boilerplate. Nothing here is 'handled' beyond that.

Although I don't read Go, it looks as if main() returns success to its caller even in the failure case.

So the Python code "which doesn't handle exceptions" exits in failure properly with a good error message and stack trace. The Go code "which handles all aforementioned errors" returns success for a failed operation, printing a less clear error message than the Python.
so are harmonics and chords
hahahah so i thought the same and decided to try and recreate it

model = gpt4

prompt=write a press release for this announcement from cloudflare. Cloudflare acquires PartyKit to allow developers to build real-time multi-user applications

and guess what was halfway through...

"The acquisition of PartyKit by Cloudflare is more than just the merging of two technology companies; it is a significant leap forward in reducing the complexity and barriers to entry for developers aiming to build the next wave of interactive web applications. "

too good to be true

https://chat.openai.com/share/02976d40-f771-42ce-ae1e-738ba9...
What a strange comment - I strongly doubt that schools are teaching that phrase without simultaneously expanding on what the phrase means. Introduce the phrase, explain it at the deeper level, then move forward with using the phrase once the students have been taught its deeper meaning. Why flippantly assume that that's not being done?

I grew up on the west coast and that's exactly how it was taught to us in public schools.
I disagree with the first part (but maybe I'm just too optimistic) but certainly not the second.
Yes, I could have been using THREE.OrthographicCamera(), however, it makes the effect way less cinematic, and most importantly, it makes the depth harder to see (particularly for a scatter plot).
You can't appreciate beauty if your room has no sunlight, the highway noises wake you up, the trapped VOCs from cooking give you respiratory illness and the lack of insulation inflates your power bill eating into what little of your paycheck you have left for groceries.

It's Maslow's hierarchy of needs.

Beauty as an ideal should only be aspired to once the basics have been solved, which is adequate and liveable housing provision.

I view anyone who inverts this order with deep suspicion, and even cynicism. The needs they're catering to certainly aren't those of the people that have to live in these places. Especially in a modern context where an appeal to form is often weaponized by anti-housing activists, and where form is typically more than adequate but function and availability is not.
How I fell out of love with academia
> In the 2022 winter I didn't turn on radiator once during the winter and temperature remained above 22°C.

Most likely the grandmas living around you had their radiators at maximum.

I have a relative who also doesn't turn on their radiator because otherwise it would be simply suffocating in there.
Thank you ! Glad to hear this. <3
To the last 3 words, you should probably add a link, or at least author and year ;)
This sounds really nice. Can you think of languages that implement it this way?
Google having so many private photos in Google Photos must be a goldmine for them.
> Many levels of try/except nesting could

At least to me, this is an anti-pattern in any language that supports try-catch type error handling.

Many levels of try-catch should almost always be eliminated except for a small handful of use cases.

Unless you 1) can recover, 2) can retry, 3) need to log some local context, 4) need to transform the lower level error (including transforming it for display purposes), my heuristic is that it should always be handled at the highest level possible in the stack and just let the exception pass through.
Hi, it’s open source and it also has a cloud option. You can either self-host or use cloud—it’s up to you.

The CLI talks to the Plandex server and the server talks to OpenAI.