skysight-inc/HackerNews huggingface dataset:
Of course you could implement a language like Erlang in Rust, but I think the point is that you would have to do exactly that in order to do in Rust what Erlang does at the language level.
OS threads would defeat the purpose though. You can run millions of BEAM processes. Threads are a lot more expensive and still run the risk of taking over your system with an infinite loop.
Or, maybe all those Macs were actually stolen..
I find recursive code far easier to read (>90% of the time) ... but it's often not the most optimal solution

The classic, literally "textbook", example is solving the Fibonacci sequence

Where F(N) = F(N-1) + F(N-2)

AND F(0) = 1

AND F(1) = 1

You have a pair of base cases / definitions

But then the rest of the solution is trivial to implement (even most-obviously, to some people) implemented in its recursive form :)
It runs as a privileged daemon and has a history of grave security problems.
South Korea: 'Protesting for 20 years and still no equal rights'
The zero ground potential is just a reference point of common agreement, it is zero in the context of electrical circuits, in comparison with known and controlled voltages of electrical components. But the ground itself is not zero: if you put the 2 voltmeter probes in the ground, you can observe rare random voltage fluctuations.

The Earth can be thought of as an anode, and the Sun - as a cathode. But the Earth as an electron source is obviously different than a van de Graaff generator, hence possible differences in current it produces.

You won't be able "to run around charged for weeks", because as soon as you contact a conductive surface or +charge careers, you drain the accumulated surface electrons.
Host a private Git server in your homelab with Gitea and Kubernetes
Strangely it works this way though. It doesn’t make sense. In my current job I refused company equipment, and insisted on using my own. I pay for my own software too.

Safer that way.
But you don't know that you are entering the password to release all your passwords into cleartext, all you wanted to do is check wether your farmville cows still exist.
I did a lot of shit in excell using vb. Even spreadsheets connected to SAP using COM+ dlls.

But still sucks having to do requests in VB.
> if you're allowed to look inside the process, which would be for similar reasons to why you're allowed to look inside a configuration file belonging to the user

On recent Linux distros, by default you can't ptrace (or read memory via /proc/x/mem etc) of non-child processes https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama....
> The application programmer writes sequential code, all concurrency is hidden away in the behaviour;

Yeah, until the business problem itself involves inherent concurrency, which usually happens much faster than people think. Or until I, as the non-expert, want to dig in to make changes or debug a problem.

This distinction into "expert" and "lowlife (SCNR) using the expert abstractions" is really one that doesn't hold in practice most of the time.

I think it's much better to embrace that concurrency is a cross-cutting-concern and reality is that it can happen on any level, so the language should better support reality.
Sorry, this is typical denial discourse up there. "Oh but we are not perfect, we can't be sure".
The fact that there a greater margin of impredictability should make us even more wary of potential disastrous consequences.
Plus, scientists working on the question do acknowledge that there is a big room of impredicatability. Which is why they make best-case and worst case scenarii that vary wildly.

There's however a consensus on the fact that it's going to be bad. What don't know is how bad. Which is IMHO frightening enough
If you explicitly included a contract that stated how the pen was to be used and the ramifications before my acceptance of your pen then yes.

Companies do include policies about how their equipment is to be used and for what and they do include how they think about ownership usually in your employment agreement or principles of employment policies. To write those off because “hey it’s only a generic piece of equipment” is perilous.

I suspect how you think about the analogy changes if you write the story on company letterhead or if you used the company car for your catering side hustle on the weekends.
Mono is just a side project of Microsoft. A commoditized alternative to Microsoft's toolchain.

Miguel was conned into believing that it'll be completely independent like OpenJDK, but it didn't turn out like that.

IOW, C# is as open as VSCode.
You can however react to changes in circumstances when you get new inform. I got my first dose in Sept 2021. Surely people getting vaccines was the signal that things might start reverting a bit. How many employees did these companies add over 2022? Why didn’t they slow down? Because no one else was slowing down?
I’m all for more funding for OpenBSD. I doubt we would be able to really tackle the usability hindrance of security first though.
Intel Kills Tofino
>> I mean, more generally, what is Erlang implemented in?

Pure magic, that can't be recreated in any regular language :)
I'm guessing privacy issues. After it was revealed how much data TikTok collects even after an Apple review, all apps should be treated with some level of personal scrutiny
2023 MacBook Pro SSD has performance drop similar to M2 MacBook Air
In my experience, they’re not hard to cancel as long as you cancel in the way that it outlined in the contract.
Artificial intelligence pioneers back $550M fund for AI startups
I get that this is probably written for people familiar with Erlang, but a quick suggestion if I may:

In the Behaviors section you talk about behaviors being similar to interfaces in Go and give a Go example. But then you switch examples for Erlang. Maybe show the Joe/Mike example written in Erlang and then say, here's a more complicated example (the key-value example) that really describes behaviors better.
> why don't you just skip the hassle and put your passwords in a csv?

What threats did you think keepass was defending against exactly?
Most modern async runtimes let you do that.

A (worker) thread dying isn't an issue in Rust, Go, C# and etc. Sure, each goes about error handling in a slightly different way either opt-in or opt-out or enforced (when unwrapping Error<T, E>) but other than that the advantages of Erlang/Elixir have faded over time because the industry has caught up.

p.s.: C# has not one but two re-entrancy syntax options - 'async/await' and 'IEnumerable<T>/yield return'. You can use latter to conveniently implement state machines.
The second half of your argument here appears to be saying something that the commenter never mentioned.
Another example of if you already have user-level access:

Attach a debugger to the browser, intercept password field input events.

Or KeePass doesn't have browser integration by default so just listen to clipboard events at an OS level.
You're absolutely correct that relatively small differences at the margin can have fairly large knock-on effects.

That said, I'm pretty sure the overall picture is that things didn't change as much post-pandemic as many predicted. Travel is pretty much back to normal. Dining out is somewhat back to normal--though you need to factor in inflation effects as well. If I drive into the nearest major city, traffic sure seems back to normal--especially mid-week. The shift to remote seen in tech is something of an outlier.
In the slide 9, they show the frequency of each 16-bit value. In a compressed code, the frequency of each value should be almost equal.

10 or 20 years ago, when reverse engineering any unknown file it was a good to assume it was no compressed and you could get some insight looking at the hex editor and hopping the best. Now many are compressed, so a good first step is to change the extension to .zip and try WinRar (or look for a header if you are not lazy).

I assume that with compressed code you can use the same strategy. Try to assume it's using a well known compression algorithm, and crossing your fingers.
I think I’m more in favor of over hiring than under hiring.

Getting money and experience in the hands of the workforce doesn’t seem like a bad thing.

Being laid off sucks, been there, but I was glad to have had the work, compensation and experience while it lasted.
> I mean, more generally, what is Erlang implemented in?

"Any sufficiently complicated concurrent program in another language contains an ad hoc informally-specified bug-ridden slow implementation of half of Erlang." - Virding's Law ;)

So first you have to implement all those things. And then use them.
selling something for parts (which implies it will be used to repair other devices) does not sound ewaste-y so me
I just feel that eventually Linux will have to move to the sandboxed model for apps like Android and, recently, Windows.
Is the site decompilation.info down? Cannot access it.
The only FOSS thing I've done that I think is really worth telling people about is KaithemAutomation, a home automation server in pure Python with a bit easier setup than Home Assistant, and some features aimed at commercial installs like room escape control, and some pretty decent network video recorder features.

https://github.com/EternityForest/KaithemAutomation

I put 6 years or so into it, and have used it on plenty of contract projects, but so far I don't think anyone else is interested.

Possibly because it's largely UI and CRUD over existing functionality, and there's not much particularly exciting to the hacker community, few interesting algorithms, it's not minimalist at all, etc.

Plus it has a lot of dependencies that might or might not exist outside of Debian, I've never looked into how it would run on the more DIY distros since I've never used them.
Farmers will keep generate revenue with their lands 10, 20 years later.
But Microsoft won't generate revenue with Office 2003.. This is whole different.
Are there small tech giants?
Accessible hamburger buttons without JavaScript
Learn how to create an accessible hamburger button with pure HTML and CSS and why that is important.
I have two hypotheses that came to mind when I read your question:

1. It’s a hard problem to quantify effects on cognitive functioning provided by nootropic supplements. We still have so much to learn about brain function;

2. Nootropics offer patent holders opportunities to make obscene amounts of money. As long as those supplements are (generally) safe to consume. That level of review requires R&D spending, but too much investigation may inadvertently reveal that these money-making “miracle” products are far less effective than the manufacturers claim.
Outside maybe [classic] BASIC ... what languages don't support recursion?
Canceling Larrabee was such a stupid looking decision in hindsight, given CUDA and ARC.
The same country that was hacked in 2021, which breached the biometrics database containing face pictures of every resident
I strongly agree that spiritual-sounding platitudes can be a dangerous stand-in for actual mental health assistance. I grew up in conservative evangelical Christianity and saw that happen far too often.

I don't see how the OP describing his own experience is telling other people they should do that.

He offered spirituality as an option, and said it was the only one he'd found helpful.

I think that's an unusual experience, and I understand your concerns about it potentially misleading others into thinking it's the only legitimate path, but I don't think saying "Stop sharing your personal experience!" is actually going to help anyone.

Explaining your concerns, like you did for me above, seems much more likely to. Thanks for doing that.
Chinese researchers: RSA is breakable. Others: Do not panic
Chinese researchers claim that there is an existing algorithm that, even with today's quantum computers, makes it possible to break the RSA algorithm. At the same time, there are doubts about the reliability of the publication. However, even if these doubts are confirmed, it does not change the fact that quantum computers pose security threat now.
If you lose half of your customers but the remaining half pays 15x - worth ?
Yes, this is nothing but purest anti Java FUD.
Quite a few security experts in here that think being able to update a text file, one that this often shared across systems (rightly or wrongly), is of equivalent difficulty to stealth updating binaries or reading process memory.

It ludicrous that the relevant bits of this XML file are not protected by the master key.
They can afford to lose 14 clients if they can retain one that pays the increase.
This is very interesting in that many journals/blogs/news sites have made strong pushes to unionize in recent years. Technology is now giving them another shot with new AI tech. How will these powerful unions respond?
ChatGPT has flaws and is underwhelming
There are many flaws in ChatGPT and hope someone could shed some light on positives about ChatGPT. In my opinion, it seems like a combination of a worse version of Google, a somewhat cool software debugging tool, and a worse version of Amazon Alexa or Apple Siri. Here are some issues:
• ChatGPT doesn't know itself vs Amazon Alexa / Apple Siri do.
• ChatGPT doesn't recognize that there are infinitely many numbers between zero and one. Easy quick Google search with "14,870,000,000 results (0.76 seconds)."
• ChatGPT believes the van der Waals forces are chemical forces when actually they're physical interactions. Then can’t answer the how part. Again super fast easy google search or wikipedia lookup.
• ChatGPT can be convinced that 10 + 5 = 17.
I'm posting this because I want to be positive on new developments on AI, but seems a lot of work needs to be done to actually make this an advanced technology.
This is all eventually going to lead to a flight to quality - might be time to start a blog (again!)
Your stated point was acid rain. And the amounts are too low to cause that, making your point invalid.
OsmAnd 4.3 for Android devices
There is also still this:

explorer shell:AppsFolder\c5e2524a-ea46-4f67-841f-6a9465d9d515_cw5n1h2txyewy!App

Don't remember for which system this was going to replace the explorer, but it would be a vastly inferior version.

I don't want to criticise it before release, but the focus on touch, cloud integration and recommendations sound rather horrible.

I won't use Windows with a Microsoft account, so these functions would be dead weight from the start. At least an option to completely remove onedrive integration would be nice.
I once wrote a detector of 38 known machine languages.

Akin to an expansion of the UNIX file command.

It would listed known machine code(s) encountered at least within 4 bytes (in probability order).

Good times, good times.

(oh, sadly, not open source, but proprietary; I still do wish I could release this gem.)
Ordering Numbers, How Hard Can It Be?
In C. You don’t operate on thread level directly, threads are just executors of processes managed by VM, usually the same amount as vCPU cores.
I'm unsure under which thread I should post, so here is a new one.

Most responses look at one installation of keepass and that you already need to have access to a user. On the other hand in an enterprise environment it is most likely way easier to modify a configuration file than changing anything (without being monitored/alarmed) in the context of the user.

An possible attack scenario might be to change the default startup-script to generate (or manipulate) the xml and after a few minutes try to upload the exported file to a remote location. Sounds like a promising way to get passwords from many users without the need to do anything on a per user basis.

I'm not saying that with the same rights you might also have the right to do stuff as the user, but it might be less prone to detection this way.
Thanks for including Brazil.

When most people think "gaucho" they think Argentina, and sometimes Uruguay.

What they don't realise is that the pampas, the grasslands where the gaucho is a native of, also span a large area of southern Brazil. In fact, the gentilic of the people of Rio Grande do Sul (the southernmost state in the country) is "gaúcho(a)".

Renato Borghetti is gaúcho, and he is indeed a good starting point. There are so many cultural similarities between these 3 regions that in other parts of Brazil a lot of people have this idea that gaúchos are in fact closer to those neighbours than they are to Brazil (whatever that might mean). In some ways they are probably right.

Gaúchos say "tchê" (the Portuguese spelling of "che"), drink chimarrão (AKA mate ), play a stronger style of football, incorporate many words and expressions from the neighbours and make the best barbecues.
same could be said for a webserver. CNN has been using AI awhile and they're not becoming worthless.
So today it's the Erlang or Rust or Hasekll or F# paradox?
The thing is, there are simply too many variables.

Using your example of lecithin, there are numerous studies that show it is effective in improving/reversing fatty liver disease.

https://www.bcm.edu/news/lecithin-component-may-reduce-fatty...

There have been other studies that establish a link between liver health and alzheimers, even that protein from the liver can cause Alzheimer's disease in the brain.

https://www.sciencedaily.com/releases/2021/09/210914152531.h...

That study aims to prove that high fat content in the liver could cause Azlheimer's. So indirectly, taking lecithin may help the brain, even though it doesn't cross the blood brain barrier!

Too many variables.
Factorization (DCQF) of a 48-bit integer using 10 trapped-ion qubits
We factorize a 48-bit integer using 10 trapped-ion qubits on a Quantinuum’s quantum computer. This result
outperforms the recent achievement by B. Yan et al., arXiv:2212.12372 (2022), increasing the success probability by a factor of 6 with a non-hybrid digitized-counterdiabatic quantum factorization (DCQF) algorithm. We
expect better results with hybrid DCQF methods on our path to factoring RSA-64, RSA-128, and RSA-2048 in
this NISQ era, where the latter case may need digital-analog quantum computing (DAQC) encoding.
Does this create a loophole where you have a shell company with 1 person in charge of “running” your Java applications. You can obviously still do development on OpenJDK or whatever.

I mean, too much of a PITA to do when there are reasonable alternatives, but interesting to think about.

I remember when oracle bought sun and it really felt like java was likely to die because of its new owner. It is amazing how successful it has continued to be in spite of that.
Here I thought you were going to talk about Critical Race Theory ... and I was all set to get up in arms (whether you're pro or con) because scifi should be about the science!

Good on ya!
> Which is a pretty bad program, reusing is always better than recycling. Apple will just scrap it into basic elements: metals, maybe lithium.

They have a refurbished program so they definitely don't just scrap devices you trade in. Maybe they even scrap some devices for parts. In the server space this is normal. HP would regularly send us refurbished replacement parts for repairs (this is also one of the reason why they want the replaced parts back).
For those who have written commercial code for tree like traversal, did you use recursion or iterative approach?
Zoom is an Electron app, meaning it effectively bundles Google Chrome, meaning it should work in any modern browser.

My commom thought when I have to use such apps is: why can't I just use this in the browser?

In some cases it's somewhat reasonable, perhaps you need global hotkeys for some reason.

In other cases the rationale it not clear. Worse, some inexplicably remove features from the web app that are available in the bundled Electron app.

I'd much rather leave these apps in my browser sandbox, than give them greater access to my system than they truly need.
Dispute resolution is not where the 2-3% go (as evidenced by disputes also existing on US debit cards, where it's 0.05%, and EU credit and debit cards, where it's 0.3% and 0.2% respectively).

Some of it is spent by the issuer on fraud expenses that they are assigned liability for, but given the same reasoning as above, if that was more than 0.05%, there wouldn't be any profitable debit issuers left in the US (and similarly for the EU, although the regulator is changing the fraud calculus there significantly by enforcing strong cardholder authentication, so it's not an apples to apples comparison).

In other words, if there was political will to get rid of credit card points in the US, we could have all of this for much cheaper. (We might need to look into scheme fees too while we're at it, e.g. by finding a market solution that creates actual competition there.)
it could become higher engaged and converting as it will follow cialdini principles even stricter producing better quality content. Unless our minds start acting differently suddenly.
It may. Or it may not be. The default assumption that it's stolen causes a lot of needless waste. And frankly, even if it is stolen, is it really in the best interests of society to effectively destroy such a large investment of time and raw materials as a Macbook? One cannot but help noticing that this policy, like many of Apple's "for your own good" policies, are awfully convenient for Apple's bottom line.

There are so many ways this could be resolved without destroying working equipment. Apple presumably knows who the registered owner is - they could be contacted. They could be unlocked at Apple stores, with various details taken to facilitate any potential theft investigation.
Nobody is going over a contract with legsl just because they removed the ‘we own everything you make’ clause. That’s an irrelevant part of the contract.
In 20 years, I've never seen a company that was willing to negotiate over the employment contract of an employee. As a freelance consultant, I had free range to negotiate, but as an employee, the contract was always presented as "take it or leave."
If 'someone' (an attacker), introduced themselves physically in your house or workplace (thus obtaining a high level of access) to place hidden cameras and to record you typing your master passwords. And if that someone later retrieved the footage and a copy of your password manager database... Would you blame your password manager for being insecure?
Ah, as if raked into the sand. Brilliant.
sounds like the [possibly-apocryphal] store of the invention of red-black trees

during the space race, the Americans threw more computing power at the problem

the Soviets didn't have the computers to use, so they threw math at it

sometimes simplest is bestest!
You can publish in journals. You can attend conferences. You can bring data. That's where the debate happens.
IMO, Rust isn't going to scale well

* horrible syntax

* crates.io is a graveyard of typo-squatting and lacks quality control, and no vendors / namespaces

* slow compilation

* standard library doesn't have HTTP, requires third-party libraries that are still immature / suck.

* widespread & prevalent abuse of .unwrap()

* error handling sucks because rust lacks set-theoretic types

* rust's async doesn't mesh with structured concurrency

* rust's async requires third-party libraries like tokio

highlights of rust

* pattern matching + ADTs

* move by default

* affine types

* concurrency & parallelism are easy

* serde crate

* kube crate

* rayon crate