skysight-inc/HackerNews huggingface dataset:
By the way it's not "race condition" safety. Race conditions are a completely normal part of our world and so Rust can't magically fix race conditions. Bob's going to shred all "10+ year old" paper records "after lunch" and Hannah needs the paper customer list from 2003 for the 2:30pm meeting? Well that's a race, good luck, Rust can't help. However, (safe) Rust can eliminate data races, a very weird special case caused by the difference between how you imagine the computer works and how it actually works.

A data race goes like this: At least two simultaneous execution contexts (maybe threads for example) are looking at the same object X and at least one of them changes it, but there is no particular order of these events agreed between these contexts.

In your head, even with parallel computing everything seems to happen in some sort of global order. A happens before B, or B happens before A. This is called Sequential Consistency, and it's a lie, the machine doesn't actually work like that, but humans can't really understand non-trivial software without this lie, so, all our high level software (and when I say "High level" I mean like the C Programming Language) pretends sequential consistency is always preserved and goes to some lengths to achieve that.

In Rust you can go about your business. (Safe) Rust promises this is true and it'll make damn sure. But in many languages like C or C++, actually you can very easily inadvertently construct a data race, revealing that it was a lie and if you do so all bets are off. Since you probably can't reason about your program's behaviour anyway, they figure "fuck it" and that's Undefined Behaviour.

Bonus round for languages which do better than most: Go says if you race a trivial object like an integer, you lose Sequential Consistency but this isn't automatically UB. Complex races are UB.

Java says races are never UB, but they do lose Sequential Consistency. Your Java Program is now very, very difficult to understand, but it's not nonsense.

OCaml goes furthest, it says your race isn't UB and it offers very tight constraints on what's wrong. OCaml's work on this is relatively new, so it may be a while before we're confident whether this is a manageable situation normal humans (well OCaml programmers) can handle.
my .bashrc has:

shopt -s histappend
export HISTFILESIZE=1000000
export HISTSIZE=1000000
export HISTTIMEFORMAT="%m/%d/%Y %T "
export HISTIGNORE="exec env*:history*"
export HISTCONTROL="ignoreboth"

It seems my history preceeds "recorded time", because timestamps start in 2016, which is probably when I discovered HISTTIMEFORMAT. 110k commands btw

the "exec env*" is because emacs tramp uses that when remotely logging into a machine and fill the logs with junk.

The fist thing I do on any machine is to set HISTSIZE and HISTFILESIZE to large numbers. It is wonderful to refer back to how you set up a machine from scratch for instance.

How did I set up this. what did I set up. What packages did I install.

I've always kind of wanted to create some sort of "annotated history" program. The idea would be, to ask you what you are doing (maybe in a separate window to the side) so you could properly document something fiddly.
That is what flags are for, it's just that the post was a valid Show HN and accusations like 'doing it for clicks' belong in flags and emails to to moderators and not in the thread.
I was made to do this at work also. The reasoning went something like this.

Yes of course we need to properly escape all strings that we render / use parametised queries to avoid injection attacks, however we also need defense in depth, so all fields need to reject code that looks like sql or html.

It was easier to just add this that push back. Sigh.
I consulted for three different large organisations over the last 14 months. All of them chose to let their workforce know that the management are "looking into using AI". In all three cases one of the first questions during all-hands town halls was "are we getting replaced by AI?" People are freaking out and managers are loving it, because they have shifted people's attention from how little they are getting paid to fearing being replaced by a hallucinating algorithm. So, based on my limited experience, I would argue that AI is a wage rise suppression tool, not a labour replacing tool.
funny how evolution keeps species identical for tens of millions of years
and they throw away a ton of donations too. they have to, people use goodwill as the substitute for a dumpster, nobody wants your grease-stained metallica shirt with a couple 2" holes in it or the 200th set of hummels either.
Given a fixed level of precision for input and output, and a function on this discrete space, we can construct a continuous extension of this function to the reals. Now using the paper we know that there is a neural network with continuous weights that approximates this continuous extension to arbitrary precision. If we imagine rounding the continuous input and output to the fixed precision specified, then because of continuity of the neural network, and the fact there is a finite number of weights, we can choose a tolerance by which we can change each of the weights such that the output does not change by more than the precision of the output value. Thus we can pick a level of precision for the weights where both the weights and inputs and outputs are discrete.
Apple has an opportunity to once again lead and make new things possible. But I think they are also seeing this as App store 2.0, and that's a shortsighted move which is obviously causing a lot of groans. This is disruptive tech, but apple isn't using it to disrupt.
I’d use Go and wasm.

I’d do the multiplayer aspect first, that is the canvas and positions of each user.

Then I’d start adding components to the canvas and tracking those.

And finally I’d add metadata and other features to those components.

I don’t think in theory the base of the project would be that hard. It’s building those features that would be challenging, because there are a lot of small details that are important to designers.

I don’t think you need any libraries beyond whatever for wasm. Go concurrency is simple and straightforward. Could probably be done in a weekend.

I have not done anything with wasm specifically but I have built a real time collaboration tool backend using Go. It took like four days to put together the base functionality and another month to add all the features.

I could be totally wrong in my approach but I hope you figure it out and share it with us! Cheers
I would say of your four contenders, you eliminated Julia too quickly, it's perfect.

For one reason: it's a dynamic language with types. It's good to have types in a first language, they're too important to neglect. But with Julia, you just introduce them later.

Also, 1 based indexing is easier on anyone who hasn't already gotten used to 0 based indexing, and it's the only language in your last paragraph where zero isn't false.

But it depends more on why they want to learn than anything else. If they want to make web apps, for some reason, obviously JavaScript, and if they like games, it should be Lua. Data and numerics stuff, AI? Julia obviously ;)
What We Do to the Moon Will Transform It Forever
AI fact-checkers of the world unite!
Mangle https://github.com/google/mangle is an open-source implementation in golang, it was an explicit goal to make it easy to learn. Meaning: it is easy to recognize the pure datalog part, the syntax is following the good old course material.

It was discussed here: https://news.ycombinator.com/item?id=33756800
I have a gift branded Yeti tumbler from a blue chip legal firm that I detest (way overpriced work) but it's also the nicest tumbler I have, so it gets the most use. One of these days I'll strip off the logo.
Okay, we get it America, you want to drill oil in the arctic..
> For those who want to add Rust to the core of FreeBSD my primary question: is it really necessary? Or is it just because a bunch of Rustaceans want to?

Bfha... the link is a thread by the FreeBSD devs. Stop it with this language evangelist strawman.
Let me guess which co-founder. Yep.
John day! I visit this place almost every summer. Its remote with true dark sky and almost no cell range. You can find some truly gem of places to see around here.

My good memories from 2017 solar eclipse are still etched into my brain:)
Dependency Management Data Case Studies
Technically only people you furnished the binary to, true. If they give it to a friend, redistribution is their problem.

These days you can just post a link to a github repo on your web site
Soooo... you're telling me no Jurassic Park?
I'm guessing this is the root cause of the 2023 Hugo nominations being weaker than I would have expected.
Here are a few jobs that I'm aware of, which are already well on their way out:

- Language translators.

- Video annotation, summary, transcription.

- Voiceover artists.

- Graphic designers.

- Warehouse inventory work.

- Personal tutors.

- Junior software engineers.

There will still be openings for these roles in the future, just as there are still openings for Personal Assistants (secretaries, which were once as abundant as teachers and truck drivers), and maybe even the occasional Draftsman.
Always interesting stuff being worked on at NIST and JILA in Boulder.
As in the "hot chips" conference -- supposed to mean "amazing and a big hit". I mean, would the marketing department promote something negative?
yeah nuclear cargo ships seem fancyful

if there are angel investors here for solving deep sea clean shipping, please email me

pros: global moat, commodity components, price parity at $80/barrel , massive upside

cons: very early, capex heavy, long timelines
Gem adds support for creating state machines for attributes on any Ruby class
It often isn't true, they're showing screenshots of a fan translation or claiming it's official, or showing edits mandated by the Japanese side (for legal reasons etc) and claiming they aren't approved, or they just think anything using an English idiom is an incorrect translation because they have bad writing test or are literally ESL speakers and don't know English.
We know what he means. As popularity increases quality drops as manufacturers scale up to meet demand. As demand increase the economic incentives change and there's pressure to cut costs and thus quality suffers.

The problem's been around since time immemorial.
That would be like calling function overloading generics.
There are various reasons to rule out JS. It's a scripting language for browser engines, it's about as general-purpose as GLSL or ActionScript. Node grabbed it and forced it into a general-purpose suit it wasn't made for, but that's not a good reason to learn it as a first language. It's also simply a poorly designed language.

On the other hand, the reason given for excluding Java is seriously reaching. The JVM isn't "complex" from the student's point of view, and hello world (and other exercises) can be compiled with a simple javac invocation.
I thoroughly enjoy these deep dives into CPU architectures. I forget most of it within seconds after reading it, because I have no practical interest in it. But it is fun to get a look underneath the pavement so to speak.
With neovim it's easy also with:

* Ctrl+Z

* Do something in the shell

* fg
Weird framing she wasn't accused of anything but rather volunteered the fact. I think the controversy is somewhat overblown here; collaboration and collage aren't unusual in Japanese arts. Look at manga, where a lot of backgrounds/props are literally pasted in rather than drawn from scratch.
No, a block would be enough for that. It's to make ; handling natural when the macro is used.
What possible engineering could Biden do, even if he wanted to, to run against Trump? He’s ludicrously popular among the GOP.
Sure.

The statement quoted above, however, is childish.
I call it moral rot specifically because I don't think it's a problem you can solve purely through biblical teaching or faith doctrine alone - you need to confront the mindset and the behavior, because ultimately a person's relationship with the god of their choice is a personal thing and not something we can exert control over. No matter how robust your biblical teaching is a person can still decide "it's between me and God, though" and choose to live in a morally flawed way because the bible gives them enough latitude to interpret it in a supportive way, as many people do.

And in this context I think confronting the mindset is a valuable thing to do even if you are speaking with an atheist. Essentially, questions like:

* If everyone adopted your mindset, what kind of world would we live in?

* Do you think your friends and family would be proud of you if they knew you were acting this way?

* Would you feel good if you knew all your friends and family were acting like you?

* Are you acting in a way you might regret later in life?
I feel like the title of this paper is the nerd version of clickbait.
Supplier sues UNFI in chargeback spat
>Remove K&R function definitions/declarations (with no information about the function arguments)

Not used C for many years, but used it a lot earlier.

And had read both the first and second editions of the k&r c book (ed. 1 pre-ansi, ed. 2 ansi).

based on that, iirc, this:

>Remove K&R function definitions / declarations

should actually be:

function definitions / declarations as in the first edition of the k&R C book.
Super neat. We keep finding such amazing old things.
You don't have to get there, it will eventually come to you. https://youtu.be/eVoh27gJgME?si=ld9M-ZAfK37XdyJL
Can you give another example and explain how "mixture of experts" gets data closer to a CPU?
So absurd I love it.
You're missing the point. I am mainstream. I'm 42, I've had enough of underground but totally understand it since this is where I came from. And this totally normal.

I don't have to stay teenage for the rest of my life.
I would assume you have to be root to do this branch predictor stuff. If you're root, why do you need Spectre? If you're attacking some trusted execution thing, then I assume you wouldn't be able to do the branch predictor stuff.
Nit, there is RD - real death in the altered carbon universe. Happens when an individual's cortical stack is destroyed.
>wages are growing fast

We clearly live in different countries.
I just wonder how many discoveries were just shrugged off or destroyed by people who couldn’t care less or didn’t know.

If I came across something like this in the wild, I wouldn’t think much of it, either.
we need all of the above

deploy existingg tech, work on the remaining problems

if there are angels here for deep sea clean shipping, kindly DM me

pros: global moat, feasible tech, price parity at $80/barrel , massive upside

cons: very early, capex heavy, long timelines
I don't see any downside here. It's just another layer of protection. So what if it's not sufficient?
Researchers often like to use allusions in titles. Search Google Scholar for “There and back again”.
> You buy plenty from both even if you don’t realize it.

You misread. I am not buying from Huawei (and a couple of others, not all Chinese, and not all for the same reasons).

> The food you ate today has a high likelihood of being fertilized with Russian inputs.

Importing raw material is strikingly unlike importing cutting edge telecommunication devices. Thanks for making that point, I thought it was obvious.

> The hardware you typed your comment up on was probably made in China.

Indeed it is. You are very smart.
Couldn’t be further from the truth. VPNs are the main way people are hiding their IPs. Providers like PIA have no caps and are just shy of fully endorsing it.
> We apologize, but your web browser is configured in such a way that it is preventing this site from implementing required components that protect your privacy and allow you to view and change your privacy settings. This functionality is required for privacy legislation in your region.

> We recommend you use a different browser or disable the “EasyList Cookie” filter from your “Content Filtering” settings (found under “Settings” -> “Shields” in the Brave Browser).
Were there students that got a passing grade still?
Really? The Wikipedia article on trigraphs seems to disagree. Why do you think so?
Yeah, it's unfair to women that men get to do all the plumbing, mining, construction, warfare, etc. demand equality!
> Does that mean failure to adhere to the terms of licenses like ASLv2 or MIT would could only be settled in court if the person who wrote the code actually bring suit and that OSS foundations basically become (more) toothless?

Until now, only the authors of code have actually been the ones to bring suit against non-compliers. OSS foundations have been able to choose to provide financial/legal support to authors willing to bring suit, and I don't see why that would change no matter how this court rules.

The only question here is whether end users can bring suit, with third-party beneficiary standing. Until now, no end-user has tried. If the case succeeds, it may open the floodgates to compliance actions from end-users, but if it fails then it should have no bearing on the actions that authors and the organisations that support authors can take, as the court is not being asked to rule on any such question.

However, the result of ruling may be dependent on the intent of the license authors. The GPL, having been written by the FSF, has the explicit goal of empowering end-users, so whether end-users have third-party beneficiary standing to enforce it (and other FSF licenses) seems like a reasonable case. However, if other OSS licenses (like those authored by ASF or CNCF) do not have that as an explicit goal, and instead focus on "creating better software", then even if the ruling in this case goes in the SFC's favor, it may not automatically apply to works covered by those other licenses. Another test case might be needed to see whether end-users of those other works do have standing, and it need not turn out the same way.
Just want to +1 Bella+Canvas. I look for 100% cotton, made in the US (insofar as possible) shirts and there aren't that many options, especially stylish ones, so BC has been a staple for me.
There are non Protestant charismatics.
Terraform Provider Code Generation
What's your point? Is he wrong?
We've gone from a single person being able to buy a house and feed a family, to two salaries in many cases not being sufficient in the past 50 years. While you're right that mass unemployment didn't happen, wage stagnation certainly did.
I realize well how pedantic I am being, but let's say there are two ways to interpret the term "pulp fiction." (1) As a reference to the pulp stories on newsstand racks in the early-mid 20th century; (2) as you note, as a stand-in for low-quality mass-produced fiction.

As such there should be absolutely no issue with somebody saying "modern equivalent of pulp fiction" -- because they're using the first definition. And it so happens that there is a perfect modern equivalent, which is essentially the author in OP's publishing style.
The lawsuit does not ask for source code solely for the kernel, but also for several userspace components under GPLv2 and LGPLv2.1 (at least some of which are at least in large part under "or-later" licensing). They don't recite any noncompliance wrt any *GPLv3 components, perhaps (though I'm just guessing) because Vizio doesn't include any in their TVs.
Or, it was a lot more out in the open there, while other places had batter veneers and PR over it.
That is an example. Correct.
What’s the issue?
You are missing the point. Sensitive customer data never touch e-mail, period. So there is nothing to "send to the cloud".

That's a matter of organizing the work and training your staff, along with appropriate technical measures where required. Not some hypothetical theory or matter of whether someone bothers to classify something or not.

If it is confidential to the degree that it cannot leave company premises then e-mail is automatically taboo and the file never gets transferred anywhere by mail (or any sort of cloud service).

Moreover, access is controlled and only the people who need it get it - along with a strictly worded information that it is under such and such NDA and must not leave the premises or be shared/uploaded outside of the company.

If the company you work for doesn't do it like this, then they either don't deal with so sensitive materials or they don't care - and then they will end up in court or bankrupt (or both) sooner than later.

Having servers in the EU is not about "not getting data exposed" or only a matter of some sort of regulatory compliance (even though that is important too - e.g. whenever GDPR is involved). Without that minimal guarantee that e.g. NSA or Boeing or Ford or some other major US competitor of some of our customers won't get to see their information (happened before, industrial espionage at a state level is a thing) they wouldn't even talk to us about sharing data with us. On top of that data is obviously encrypted too.

Data/IP protection is a process, there is no single magic thing that you do and are set. Leaks, whether intentional or not can and will happen - e.g. it is difficult to 100% prevent a disgruntled employee from walking out of the door with some sensitive files on a USB stick or a phone even if you institute a completely draconian regime at the workplace (which is counterproductive).

It is about having a process in place to mitigate against and minimize both such occurrences and their impact.
Alas that the j-core kind of dried up development. There was a roadmap for this open super-h compatible core up to sh4 then a 64 bit version. Kind of tied to key patents expiring.

There's a j32 & j32smp core now, but I'm not sure where-ish that would slot into the old roadmap, and it seems like development isnt active. https://j-core.org/roadmap.html

Meanwhile support keeps bitrotting. Someone managed to get a Debian port going in 2015, & it sounded semi adventurous to make go. https://lwn.net/Articles/647636/

Chipmaker Renesas - who kind of was super-h for a while - meanwhile seems to be starting down the RISC-V path, alongside a variety of ARM cores & their own (small microcontrollers) RL78 architecture that I don't know much about. https://www.cnx-software.com/news/renesas/
That one time a goldfish lived for more than 200 years:

https://en.wikipedia.org/wiki/Hanako_(fish)
Thank you! Yeah, obviously the UI is a weak part. I'd like to improve it eventually but as a one-person project I don't want it to have as minimal of an interface as AirDrop. With all the ways transfers can go wrong, I want that information to be in the user's face so they can submit issues and I can help debug easily.

And no, it can't detect anything about the other device until they're on a WiFi network together, and that can't happen until it knows the peer's OS because it has to know whether it or the peer should be hosting the hotspot. Windows has precedence, then Linux, then Android. (The iOS version doesn't need to know the peer's OS because iOS and macOS can't stand up a hotspot programmatically anymore, so it always has to join.)
To any extent that a truck driver misses a pickup or fails to report due to alcohol or subsequent effects, yes, that truck that isn’t moving at all is moving slower than one that’s loaded, crewed, and rolling.