skysight-inc/HackerNews huggingface dataset:
> You sound like a bot with all those keywords and repeated phrases.

Do you really have to resort to personal attacks and insinuating that I sound like a bot? Given your arrogance and ill manners it is no wonder I cannot make sense of your project. You seem to be using some jargon that you assume everyone in the world is familiar with. And here I am who still cannot figure out what a load shedding calendar is and what are the benefits of such a calendar! Would it have been so much trouble to just explain what it is in the README or in the comment?
Yes, Python is much like a .BAT file that calls .EXE and .COM files.
I'm a dev. I have asked my product and design colleagues to use personas at my last two roles... and they don't. If I had more traction, I'd get the ads and marketing teams involved too so the models in the ads matched the personas we were designing around.

hashtag not all devs

hashtag n=1
Further notes here:

https://www.reddit.com/r/gamedev/comments/cgvqr5/anyone_use_...

https://hacks.mozilla.org/2013/03/webrtc-data-channels-for-g...

http://blog.brkho.com/2017/03/15/dive-into-client-server-web...
Well, I asked a question in another comment and you lazily dismissed it, with a personal attack on me, no less!
Much like your response, but yet you did it anyhow
If you like Vimium, try qutebrowsers or Luakit, where keyboard is a first-class citizen that works everywhere and is not dependent on JS injection. May have a learning curve (took me about 3 days to get functional.)

https://www.qutebrowser.org/

https://luakit.github.io/
>>My example above demonstrates a constraint that cannot be implemented in a constructor.

>It can't but that's not due to the proposed solution for withers.

This has nothing to do with withers. It can't be implemented simply because it is a constraint on a specific transition of state. There's no transition of state in constructor.

>Record are immutable on purpose and you want to add a mutation constraint whish will not play nicely.

The purpose of immutability is not to create constant objects, but to prevent side effects from sharing mutable objects: state modifications are possible, they are simply reflected in a modified copy of object. That also means that my argument stands also for entities modeled as classes with final fields, it has nothing to do with specifics of records.

Indeed, the fact that we have a constructor from which we can build any valid state and that we can deconstruct an immutable object means that we can bypass transition validations, but that will require some extra effort from developer and explicit demonstration of intent compared to simply using `with` block.
Compare this:

var rA = new R(I1, I2, I3, A); // deserialization, e.g. from persistent state

// verbose, explicit intent to create a copy in state C
var rC = new R(rA.i1(), rA.i2(), rA.i3(), C); // error occurs later

this:

// no semantics, no validation
var rC = rA with { state = C; } // error occurs later

and this:

// clear semantics, validation of transition
var rC = rA.onSomethingHappened(C); // exception thrown now
Public healthcare in Austria has declined shockingly fast over the covid times. Many doctors and nurses from hospitals filed official Gefährdungsanzeigen ("endangerment reports") because their overwork and lack of personnel has been starting to endanger human life. Politicians do NOTHING. The only thing we hear from our minister of health is blips about Covid.

Waiting for appointments with publicly funded doctors can now take several months, some doctors refuse adding further people to their wait lists. Many publicly funded positions for doctors stay vacant. Doctors are fleeing into private practices, where they earn significantly more money, have a more pleasant set of patients and less regulations.

I had to wait 2 months for a heart MR at the only institute that does heart MRs in Vienna. Paying privately, I would have gotten it at the day and time of my choice.

We are still getting our brain, heart and lung surgery or organ transplants for free as in 0€, but anything not absolutely necessary is declining, slowing down or starting to cost real money.
I <3 binary3; it achieves the theoretical goal of knowing the value of everything (at least, pace Everett, as approximated by {0,1,∞}) while being blithely unconcerned with the cost of anything.
https://www.fast.ai/
With ML there's the "M", machine, and that machine (and its algorithms btw) is owned by someone. If we back away from general concept of intelligence a bit, that owner is who can be held accountable. Maybe that would get them motivated a bit.

And with the robots.txt approach, I understand, there'll definively be some rogue AI that would parse and process that on purpose :)

As for "doing the same thing", well, kind of, yeah, we're back to the thousands years old copycat problem. But this time art/code creators don't want others having machine that could recreate years of work in a minute with a push of a button. Also, artists usually acknowledge who did they learn from or who's style are they trying to recreate... but that's an ethic thing..
> There’s an implication buried in here that there is some set of problems that only c++ can solve.

Not sure about that. But the c/c++ community is still larger than, e.g. rust hence some worthwhile innovations (most recently e.g. co-routines, also executor interfaces for accelerated compute) show up first in c/c++. Then hopefully the rust folks figure out how to expose them to developers in a safe way.
>> In the next five years, computer programs that can think will read legal documents and give medical advice. In the next decade, they will do assembly-line work and maybe even become companions. And in the decades after that, they will do almost everything, including making new scientific discoveries that will expand our concept of “everything.”

Great, I totally believe that. Well, the document reading and advice bit. But will it be valuable or even good advice? Because every rando on the internet can do just that right now. And COVID showed us the results. If anything, we will get more, and more convincing, spam and scam, proudly powered by AI.

But then, we talk about someone who wanted to use magic orbs to scan poor peoples biometrics on a global scale by promising get-rich-quick crypto.

EDIT: I think a better title would be "Sam Altman's content marketing blog post on how he thinks Moore's law applies to his current start-up".
> and you shouldn't need to pay to have your tweets appear more prominently / higher in timelines.

And more to the point, you shouldn’t be allowed to, because as a mechanic for social networks it just doesn’t work. No-one wants their timeline to be full of stuff from people who are paying for attention; these people are generally not good enough to get attention without paying for it.
I like how the use of nostalgic implied that it was better now.. Hahaha.
SEO has ruined search in my experience. The web is hyper commercialized in certain sectors, when there is money to be made there is an abundance of shallow articles and sales pitches to wade through for your information. This includes React and other pop technology because people are trying to make money off commercializing advice for it.

Search for good mountain bike routes and you will be served not by guides or enthusiasts, but by stores SEO writers and product reviewers affiliate laden posts.

Everything with a fanbase has something to sell now too, searching your favourite TV show doesn't net you fan groups or genuine discussion, it's just going to be merch and products.

I usually blame social media for hoovering up all the people and squashing blogs and forums and other communities, but perhaps people were also fleeing the cesspit of thinly veiled sales articles that the web has become.
> I assume that those 1.5 "million lines" do not contain any unsafe features Rust allows for. Am I correct here?

I would assume that there are a few `unsafe` lines of code in these 1.5 MLoC. Which still makes it easier to trust than 1.5MLoC of C++ in which (by Rust definitions of `unsafe`) every line makes use of `unsafe` features.

(insert usual caveats about tradeoffs, etc.)
4) Paraphrasing Hofstadter's law, 2) remains true even if you account for it, because of how APIs interact.

The example raised elsewhere in the thread is good: in a browser, if you have access to the current URL of any tab in context of which you run, you can start building browsing history. Whatever mitigations one could think of get defeated if the extension is allowed to make network requests, or modify content of web pages. Once an extension can communicate with outside world, it can exfil the data, even if piece by piece - and it can also keep its state outside of the browser.

Same applies to mobile apps.
It doesn't have to come at the federal level. Americans who support public healthcare generally seem to like how it works in Canada, but few seem to be aware that the Canadian system originated with the provinces - one adopted public healthcare, the voters liked it, another province followed suit etc. Eventually the feds noticed and got involved to coordinate matters, but even today, any province could, in theory, leave the federal system entirely and run their own - it's just that anyone proposing that would be committing political suicide.

If Canada could do it that way, why not US?
Ruby for game development? Is this a joke? [video]
It's not as cumbersome as wrapping together an iPhone and a Sony PHA-3 with rubber bands.
> It has not yet been tested in court.

courts don't create new rights, they interpret existing laws.

I can't really see how the existing copyright laws can be interpreted such that a distinction could be made between a machine learning and a human learning.
The <NOML> tag is a nice idea, maybe #noml social networks. But its efficacy depends on the good will of those who create the datasets. Another approach could be a NOML registry for art and code.

But practically what you need to do is to stop crawlers from reading your code/art by robots.txt or captcha. If your works don't get into CommonCrawl and similar datasets they won't be used for model training. I think you can still enable Google Bot while rejecting AI data collectors on your sites.

<rant>
I think copyright refers only to expression, not the ideas themselves. So training on copyrighted code and art should be ok as long as expression is not copied.

In these cases where an AI developer wants to train on the ideas without learning the expression they can re-generate the data using the "variations" method, works both in image and text. This will create substitute data, like anonymising PII.
</>
Researchers at the Fortiguard Labs team have discovered a zero-day attack embedded in three PyPI packages
It is hard to discuss about it, because out of Brazil, they are trying to create a parallel with the US Capitol attacking and then make things fit the rhetoric that Bolsonaro is the Latin version from Trump, which is just wrong in all together, but it doesn't matter now, and internally, everyone fears to be censored, arrested or fined by the Supreme Court which is ruling as Kings and Queens.
> Internet literacy can be taught.

Can it? We've been trying for 20+ years.

Not to mention that while it used to be purely a literacy problem, nowadays various commercial interests benefit from users being tech-illiterate and are incentivised to perpetuate this lack of literacy, all the way towards dumbing down UIs and removing advanced features so that people can no longer become literate even if they wanted to.

Hell, the spread of medical misinformation benefits the platforms on which it happens as it generates plenty of "engagement" so short of regulation with actual teeth (which won't happen due to government incompetence, regulatory capture or lobbying), I don't see why the situation would ever change.
> The right to restrict learning from the literary work is not a right that is granted under copyright.

And yet, it's apparently perfectly legal to put DRM on books and control exactly when and how they are read [1] - by actual humans.

> Whether that learning comes via ML, or a real flesh human brain, i think, makes no distinction.

Strongly disagree here. Sure, ML shops would like that to be the case, but for now it's just muddying the waters by using anthropomorphizing language.

What you call "learning" is so far just scraping the data to adjust model weights using an algorithm in a machine. Contrast that with a human drawing knowledge or inspiration from a work they read before. Those two are different things, unless you want to assume that ML models have a conscious mind and constitute a person - at which point, you'll have much bigger ethical problems than copyright violations.

[1] https://news.ycombinator.com/item?id=34391332
Does Asahi Linux require disabling security features to be installed?
> The current laws were made based on typical human capabilities.

cough what about high-frequency trading?
Code Quality is not subjective. If some improvement really is, then its probably not a code quality improvement.

The ability to reason about it or even measure it might be subjective, in the sense that most developers aren't really good at articulating quality. Also, developers often confuse familiarity and quality, or to be a bit more generous: are unable to accurately assess quality of unfamiliar technology.

Furthermore, there is also a widespread misunderstanding that if you can't 100% prove something beyond a shred of doubt, that any position is as arbitrary as a favorite color and any reasoning a waste of time.

> Doesn't matter what the code looks like, as long as the customers are happy.

Customers being happy or not is exactly the problem of Code Quality. When a system breaks down over time due to a pervasive neglect of quality, the customers won't be happy. In practice this is happening slowly over time. Your lead time increases, there will be more bugs and changes will cause more problems that are increasingly hard to overcome. It can also come as a collapse, for example a huge outage, data loss or security incident. This can kill your business.

Quality is not something done for developers sake, it is about the ability of making customer happy over time rather than just now. That is the ultimate justification, which isn't subjective, and the source of legitimacy of any time spent on refactoring at all.

If it is not ultimately rooted in solving a business problem, then it is not a quality improvement at all. And yes, sometimes developers try to masquerade personal taste as quality (refactor to something I know or like), and in these cases the outcome often isn't an improvement at all. In fact, it is often a regression. But that doesn't mean quality improvements aren't real or beneficial.
Strange how you consider property assignments from C# but only in the very limited scope of `with`.

Why not have all other lessons from C# like `{get; set;}` and object initialisation (among other things) syntax is beyond me.

(Well, "we don't adopt strategies [whatever that means] from less successful languages" is a reason I guess https://news.ycombinator.com/item?id=28985688)
>"Rust ... is pretty much a drop-in replacement for C++"

Performance and "low-levelness" wise it most likely is. From high level point of view it messes with how one must think when writing code and is missing some features / paradigms found in modern C++ (for better or worse, not gonna dwell on it here).

In my opinion it is closer to "drop-in replacement" for C.
>> It is lazy and presumptuous.

> Much like your response, but yet you did it anyhow

Their initial response was not lazy.

And how do you not be presumptuous in response to such a vague two word comment? A Rorschach test is not a good way to communicate.
It's mainly because of tradeoffs and engineering. The Grado's as an example have zero outside noise isolation and the aesthetics of a 1950s ham radio operator.
I ended up on infosec.exchange; it's been fine (thanks, infosec.exchange people!). I'll be on my own address sometime in the next month or so.

This is a dumb question because I've yet to mastodon-on but how does this work? Like, how do the followers of the old id start following the new id?
No, hence the "automatic". You can't make machine to learn for you, or do pushups to train your body instead of you )
I agree with this. Regular computer users are fin and like these UI changes. Most professional users don't, because it hinders them. You want to have all the horsepower available and to be able to work quickly, not prettier.

But I guess we're the minority!
In the Win98/2000 days 32 bit color was already commonplace. 1024x768 was also becoming mainstream.
Why not both innovation and cost cutting? Reproducing LLVM requires some crazy motivation?
what is new about coroutines or executor interfaces?
Given how the passengers squeak with moderate turbulence, imagine how they'll take high-speed veering during takeoff? But of course a roundabout only works because all vehicles approaching are preparing to come to a complete stop if another vehicle will intrude upon their path, which can never be compatible with "accelerate steadily to racing car speed"
Oh that's very nice. I remember that. You might like the BeOS icons too (which Haiku still has)
Thanks for the suggestion! As I understand Hypothesis, it is a social tool for users to annotate any web page; as a website owner, there is nothing I need to do, right? In that case, it doesn't match the original intent of my blog post, but I think I should still mention it.
Talking about impending death and especially anything even close to "euthanasia" is absolutely verboten in many places, contexts, cultures and countries.
Ah, I missed that part. Makes sense.
What do you mean by "the noise cancelling too"? I thought that was a feature of headphones and not MP3 players`.
I've been struggling with knowing how to spend money now that I have it. I don't even have that much, just slightly above a median salary but that's so much more than I've ever had before. I spent all of college wondering if the current semester would be my last and now I can just pay off my loans in a year if I really want to. It's incredible but also really unjust because I know so many people are experiencing what I experienced but here I am with a bunch of money sitting around not helping people with it. I want to make sure I can really justify every purchase and investment because I know how much the same money could mean to someone else. At the same time though, that's a stressful worldview to have and I also need to make sure I'm living a quality of life that my loved ones are comfortable with. It's a hard balance.
> One memory error per 1000 LOC?

From his link:
"Historical vulnerability density is greater than 1/kLOC (1 vulnerability per thousand lines of code) in many of Android’s C/C++ components (e.g. media, Bluetooth, NFC, etc). Based on this historical vulnerability density, it’s likely that using Rust has already prevented hundreds of vulnerabilities from reaching production."
Yes! I have Beats Flex with Apple's H1 chip, and I really really miss Steve Jobs calling in all bluetooth & mac HW and SW teams, showing them the unreliable 5s+ long switch (that 1/3 time ends up with my mac's speakers selected back, and music playing in the office), and threatening to fire them if this is not fixed in a week.
But then again we had 300 baud modems long before TCP was invented.
If you take a look at the airport diagram (https://www.faa.gov/air_traffic/publications/atpubs/aip_html...), it just takes one wrong turn to end up on taxiway J instead of taxiway K. And, also from that diagram, once the American plane took the wrong turn, the controller had very little time to see that and stop it before it crossed the runway.

But still, if pilots internalize via training that "if you are about to cross a line of red lights, you are entering an active runway without having permission to do so, so don't do it", that should be one more layer of safety to prevent situations like this. Of course, none of these layers are 100% foolproof, but taken together...
For context, both C, C++ and Rust have had experimental implementations coroutines for ages.

They're not standardized in C and Rust. And in C++, the only feedback I've seen is https://probablydance.com/2021/10/31/c-coroutines-do-not-spa..., which didn't look very good.
Not so sure. I learned commercial Unix back in the late 1990s on discarded SPARC hardware which was available in skips and Yahoo auctions for virtually no money at all. In fact it was generally cheaper than the boxed Linux distributions you had to spend on because you only had a dialup.

The killer with the commercial Unixes is that the documentation was orders of magnitude better. That is true today still as well. Most Linux knowledge I have to sift through today is obtained from dubious quality manpages, partially incomplete or out of date documentation and random blog posts.
Paracetamol is weird; it's clearly been grandfathered in as you'd never get it approved now. The UK sells it without a prescription, but you're not allowed by the shop (often enforced by the POS software!) to buy too much at once.

Then there's cocodamol, where in an effort to avoid "addiction" issues the relatively safe opiates are cut with relatively low-LD50 paracetamol.

I don't think an informational campaign would have helped with the ivermectin problem. Underlying that was the conspiracist belief that people were lying to them. Why would they believe a safety leaflet?
There is another type of switch even more common in industrial automation: inductive switch, where the trigger mechanism relies on inductive coupling between an external target and a coil in sensor (for all practical purposes the target is ferrous metal- they do usually work against aluminum alloys or stainless steel but at greatly reduced range).

I usually see hall-based switches being used to detect pneumatic cylinder position- the plunger in cylinders has an embedded magnet and there is a rail on the outside of cylinder where you can fix a small sensor.
Your take seems accurate. That is my reading as well
From reading the code [1], both aren't needed; the `SIZEOFUINT64 = (uint64_t) ((uint64_t*) SELFIE_URL + 1) - (uint64_t) SELFIE_URL;` statement is the value that always ends up being used (once the library is initialized). An optimizing compiler would likely optimize the calculation away anyway. My guess is that it's predefined at the top simply for clarity and verbosity's sake (remember that this is built for educational purposes).

[1]: https://github.com/cksystemsteaching/selfie/blob/5de675a0f08...
One of the more annoying things with Windows for me is when when Windows Update fails stating that KBxyz failed to install. It is a nightmare to find the right version of the updater from Microsoft's website. In my case, the particular update didn't have a standalone updater. Instructions like the ones provided at https://www.windowscentral.com/how-download-and-install-wind... are a life saver, but how does an end user work their way through this?

Linux and macOS handle updates more gracefully.