skysight-inc/HackerNews huggingface dataset:
Yes indeed, friend! This one is a classic: https://cstack.github.io/db_tutorial/

It's a sqlite clone from scratch.
Apple has abused their position as a market leader for years. I'll burn karma if it bears repeating, but their unrivaled hostility has kinda destroyed the technology sector.
To me it seems the spread of misinformation probably is a self-fixing problem. The users have no choice but to develop critical thinking about what they read/watch so they probably will and this is good. I actually was glad deepfakes emerged as this can make the fact you can't just believe everything you see more vivid and obvious even to those who were ignorant.
what?!?!

static doesn't imply the value can be known, only in some cases where its not modified in that compilation unit (which is trivial to detect with SSA)

const is something else.
See my other comment here regarding const.
Writing a SQLite clone from scratch in C (2017)
Exactly this. If you meditate to recover it’ll help, I don’t think people meditate to escape, that’s more in line with tv
Learn by Doing Websites?
What are you favorite sites that teach by making you work real world examples of problems; for example: http://www.vimgolf.com/ teaches you how to really use vim through a series of challenges that get more difficult as the problems progress, or https://projecteuler.net/ is a great site for learning any new programming language by trying it against increasing difficult math type problems. Both sites also lock the solutions until you are able to submit a valid solution to the problem, at which time you see all the different ways people have solved the problem and learn how to do things better.

The question is, what other sites like these are out there, and not just for computer related topics (learning music for example).

* site that has a list of problems
* each problem has a discussion on how to solve the problem, and a list of all the different ways people have solved it.
Stimulant-Free Preworkout/Nootropic?
I broke away from regular caffeine consumption six years ago (https://enki.org/2017/08/13/quitting-caffeine/). Since then, I have experimented with various ways to boost my energy in the morning. I have tried various supplements (L-carnitine, electrolytes, ketones) and stimulant-free preworkout drinks.

I am interested in what others are using that has an effect on energy or mental clarity. What works for you?
There was an interesting controversy surrounding the Algol-60 report. It seems many members of the committee wanted to be able to create implementations of the language that used only static allocations for activation records, but in the "Amsterdam plot," they sneaked into the report the possibility for recursive procedure definitions which require dynamically allocated activation records (not all machines had efficient stacks!). I don't remember where I first learned about this, it might have been this https://vanemden.wordpress.com/2014/06/18/how-recursion-got-...
That's debatable, you don't have any more control as a user on apps downloaded from the appstore compared to a sideloaded app. They are running in the exact same security sandbox and the lack of insights on what the app is doing is there in both cases.

For me the most secure medium right now is the web (much more than any appstore) and it's designed to run code on demand.
With one company I worked for, that was completely impractical. The company thought they were doing the right thing by asking me to declare whatever outside works I might be producing, and they would be 100% fine with that so long as it didn't compete with the company's products.

In practice, that meant every time I was reading some mailing list and would like to reply to something with a small patch, I would first need to contact my company, add that mailing list's project to the set of outside works, write a bit about the project and get approval. It would turn a 10 minute action into a multi-day administrative action involving managers - completely impractical.

The company just didn't have a way to model someone whose idea of outside works was to contribute to countless random projects in small ways every evening, without knowing in advance what those would be.

I tried to talk with the company about this problem, and they weren't interested enough to solve it, and didn't see it as a real problem. They thought I was making waves about something unimportant, and perhaps I was misjudging its importance. Perhaps it would all be fine. But I didn't want to accidentally produce things that the company later decided it had a claim on.

This was a significant factor in my relief when I was made redundant, as I felt free to finally pursue my interests instead of holding back. I didn't know how much it meant to me until then, but the relief made it obvious that this one issue had been seriously weighing me down throughout the employment, and that I should be more mindful of it in future.

If the company had found a good solution to this problem early on, I expect I would have been very much happier working there. Clarity is all that was needed, really.

That was before GitHub. I'm guessing companies are a lot more used to their employees doing small outside contributions like that now. I am still wary of doing so without a clear line. Fortunately, all my recent engagements have contracts that limit what the company is interested in, and exist in a context which recognises and even encourages that outside works will take place.
That was previous try, which was abandoned due to critics.

But now its goes further.
I expected the worst when reading the headline but this is great news. If the EU forces Apple to allow side-loading apps I might actually buy an Apple smartphone.
Care to elaborate? I hope you're not referring to DNA homology.
It does not assume P=NP as far as I can tell, unless you understand something I've missed? I'd be very interested in an explanation for how a market assumes P=NP, if I got one I'd basically be done with the concept of markets because I do not believe P=NP.

A market economy is a distributed network, a self healing network and a self organizing network that optimizes itself for resource distribution, an emergent property of human populations with asymmetric distribution. The network itself runs algorithms much more efficiently than a centrally planned economy which does not have these traits. A sufficiently powerful AI could perform as well as a market economy, but it would be redundant and have other effects, such as taking agency from the benefactors of the economy. I don't know that it could outperform a market economy, it's possible that it could but so far I'm not sure.
Piggybacking on this, the first thing I wanted to look at was what data do they exactly collect. Well, they do not explicitly list it (not sure if that would be considered legal in countries with strict privacy laws). I quote from the offcial announcement -

> Personal Data we collect

> Data necessary for law enforcement, litigation and authorities’ requests (if any)

This, and this alone is enough for me to neither use this piece of software, nor recommend its usage.

There's more however. Not only do you not know what information they leech off of your machine, it may be sold to a third party for a price.

> Who does Audacity share your Personal Data with?

> to a potential buyer (and its agents and advisers) in connection with any proposed purchase, merger or acquisition of any part of our business, provided that we inform the buyer it must use your Personal Data only for the purposes disclosed in this Notice;

This is absolutely despicable.
> According to himself, at the time of his deposition, Storman’s only source of income was "unemployment and food stamps."

> It would take Storman 3,525 years to pay off his $2.115 million debt at the $50 per month rate the Court has mandated.

> Nintendo’s lawyers argue that because he hasn’t made the first $50 payment towards his $2.1 million debt, the threat of further financial consequences might not disincentivize further copyright infringements

At least the copyright was protected.
Eleven Arrested in Armed Roadside Standoff in Massachusetts
As someone who doesn’t program in C or C++ regularly, aren’t bugs from format strings caused by passing the user string as the “format string”? For example,

printf(userInput) // WRONG
printf("%s", userInput) // OK

Don’t compilers warn about these potential bugs?
I would support reterming persuasive design as coercive design, because to me that’s really what it is

Or perhaps addictive design?
Apple should obviously inform users of the possible hazards when sideloading (like Android already does), but that's still no justification to withhold functionality from the user.
It takes less energy to transport a mole of hydrogen gas by pipeline than a mole of water? I haven’t heard of that before - do you happen to have a reference handy?

Isn’t the moles/sec of hydrogen versus water much lower for a given sized pipe? Is the wall thickness of a conventional gas pipeline adequate for this use?
You realize that 1) the website is critical to the NSO group, and 2) you can have more than one separate/independent browser session on your computer to browser stuff on your computer?
If you’re just discovering that race is a social construct and all of our political bickering is better characterized as tribalism.. well.. that’s not news. But reading this article it does appear that there is distinction between some African lineage and essentially everybody else. So maybe there is or was something innately genetic between those two groups? I think the article makes the assertion that modern humans are all the same species.
Awesome, go postmarketOS :D
Duff's device.

https://en.wikipedia.org/wiki/Duff%27s_device

Please excuse me while I go barf.
>It is quite remarkable that from 2015 to 2021, the cost of compute barely changed.

Quoting myself [1]

>Basically for Server Intel has been stuck on 14nm for far too long. The first 14nm Broadwell Xeon was released in 2015, and as of mid 2021 Intel barely started rolling out 10nm Xeon Part based on IceLake.

Core Count may have increased as per the article suggested, but price per core hasn't changed much at all.

Basically the industry, including DRAM and NAND hasn't seen any unit cost reduction for years.

AMD EPYC, and ARM Core on Server is only just getting started. I am expecting some competition to drive cost down. Google has already announced [2] its Tau instances based on EPYC Milan where its vCPU is finally a full CPU core instead of the current industry standard which is a single thread on x86. It has a 42% cost / performance increase over AWS Graviton 2.

Unfortunately by far the most expensive on AWS or any HyperScaler are their bandwidth cost. And that doesn't seems to be changing or reducing any time soon.

[1] https://news.ycombinator.com/item?id=27722764

[2] https://www.anandtech.com/show/16765/google-announces-amd-mi...
So where can I go if I want a device that does not allow sideloading? I want a device that has a single trusted root that takes a hard stance on all apps to make sure they’re not abusing privileges, and signs the apps that are validated. Is that going to be gone now? Should I just go to a feature phone?
I hear more about the American hatred of redemption in that speech than the harmability of oneself from overwork.

A person that has truly amended his relationships seems to have stronger ones than one who always had ‘fine’ ones, in many cases.

Scrooge may not have become as beloved and loving a person without his repentance journey.
The hierarchy of professional diligence, from highest to lowest, would be:

* avionics/aeronautics
* chemical/electrical/mechanical
* civil engineering
* automobile industry
* movie stunts and pyrotechnics
* art installations
* software [!]

[!] To be honest, this is the exception in this list, because there is no accountability.
Omura can't share his opinions on HN? Why not?
Data on Working from Home: Expectations vs Reality One Year Later
If I had to make an argument for Github I'd suggest that Copilot is just an advanced search feature. It can be seen as simplifying the workflow of using Github's search and then copying the results

Not sure if this simplification crosses some threshold
The headline is editorialized, which isn't surprising considering the biased news source. You can see in the body of the article, Apple is _stifling_ competition, which is what the antitrust is about. The headline reduces it to "stave off" to make it appear harmless.

I'm glad this is being pointed out, as Apple has long subverted (and done damage to, IMO) the privacy conversation by telling users that privacy can be obtained by giving up their privacy. The main aim has not been privacy, it has always been to lock users into their ecosystem with carefully controlled images, misleading advertising campaigns, PR spins, and their analogues/equivalents to "think of the children".

Realistically, I do not have any hope of anything being done as there is far too much support for, and normalization of, the current jail. This isn't the same landscape that punished MS many years ago - who have been relatively harmless when compared to FB, Apple and Google - these three companies have been playing a slightly more clever game with their EU ties and I fully expect them to get away with little more than a slap on the wrist, while relaxing in their tax haven.
Any source about Tesla actually using CATL's prismatic? IIRC, there was only rumors.
Protestors were gassed and shot with bean bags. Woke capitalism does not mean that the state won’t violently crush actual revolutionary activism and I don’t expect right wing free speech absolutists to actually come defend me from my jail cell.
This is awesome advice.
Pretty much, it is like "OpenBionics" where everything is closed sourced.
That seems ridiculously slow. How is machine learning supposed to scale like this?
I think slowly you can pull the string and unravel the trouble. Do not be to hard on yourself. You are probably super talented and is difficult explaining others why you are right.
Good comunnication can ease the edges.
I think with time you will get more confident and it will not bother you anymore.
Anything to do with mindfulness can help you with this.
Is fine to be upset, is just expensive;p
Best of luck!
RT is state propaganda. Not an accurate equivalence at all.
Blockchains are fork-tolerant whereas append-only SCT logs are not, intentionally so.
This is absolutely true. I worked at a large engineering organisation, I was a manager so I could literally list the salary boundaries for different experience levels. Now I work doing the exact same job but in a finance related company. I earn ~6x what I earned in the traditional engineering org. It's insane. Also, the quality of the engineers is no higher, and in some cases comically lower.

The exception to this are companies that pride themselves on their silicon valley culture (Google etc) although some of those still choose to take advantage of the cheap local market.
>There is no connection between biology and politics save for what meanings currently active politically actors attempt to assert.

This is outlandishly untrue! Think about the politics (not "Politics") within your own family. Now extend that out a bit and you have a "tribe" ... and of course that is going to have "political" and "Political" ramifications. And on it goes ...

As soon as you get more than one person in a group politics of some sort will emerge. And "natural" groupings have historically been biological.
Friends and family bounce back as well. As you get more free time you go out and get new friends, or you contact your family or old friends again. The only problem is health, you don't really get that back easily.

Of course it is harder to get them back than the keep them constant, but the same applies to jobs as well, the longer you have been without a job the harder it is to get back, but it is still not that hard.
You’re assuming that App Stores have no influence. Not enough people make choices based on privacy to offset the profits from violating people’s privacy, however gatekeeping App stores have real leverage. What they use that leverage for is a real question.

We have plenty of examples where opening things up caused issues. For example the minimum quality of NES games massively declined after Nintendo opened the floodgates.
Why bother when, aside from the Posse Comitatus Act[0], there are already extremely advanced optical and synthetic aperture satellites that can discern a license plate on the Earth's surface flying around the globe?

Or solar powered, regular-assed Ring doorbells (once they get that heat problem fixed). As a side effect, then CBP will be subsequently able to find their lost car keys out there.

[0] - https://en.wikipedia.org/wiki/Posse_Comitatus_Act
I won't downvote, but you need to clarify. Are you talking only about iPhone?
Yes, it might.

My comment assumed that GPL meant the GNU Public License, where you are allowed to use the code, but are restricted to distribute binaries.

AGPL is a different license, and it's probably not legal that code with that license should have been used in their training set.
Yes, there are some users that are really helpful. I also thought that my users are great at reporting bugs. But when I added an automatic crash reporter, I was shocked how many crashes happened that nobody bothered to report.

Maybe 1 in 10 crashing bugs was reported at all. A serious bug that made the app all but unusable was reported by 2 or 3 people (out of at least 100 people who were affected before I pulled the broken update).
I was told that GPT-3 was too much power for mere mortals (without a paid subscription!) so what terror is this going to bring upon us?
> So the idempotency key protects against faults on the network between the client and stripe's idempotency layer, but not against stripe-internal faults between the idempotency layer and the application. Is that the case?

Yes, in practice this is the case — the idempotency key insertion could succeed and then subsequent queries fail. Practically though, it doesn't happen very often — if a request gets as far as the idempotency layer successfully, the rest of it tends to work too.

Where it doesn't, Stripe pays a lot of attention to 500s, especially where those pertain to charges, and a lot of time and energy is spent cleaning up state that might have resulted in an invalid transaction.

> Why is the idempotency not achieved by using an idempotent database transaction or atomic operation?

The most honest answer is that Stripe wasn't built on a data store where transactions are supported, so it wasn't even a possibility until quite recently, and by then the system was already well established in its current form.

Beyond that though, once your requests are making their own requests to modify state in foreign systems (which is happening at Stripe in the form of banks, partners, internal systems, etc.), a single transaction isn't enough to keep things entirely in order anymore because it can't roll back that remote state. It is still possible to build a very robust system that is transaction-based, but it becomes a much more complex problem than a simple `BEGIN`/`COMMIT`.
I think this is beyond simply making the variable static/constant. It is the specific value of the constant that is allowing the division to be substituted with bitwise AND, which then makes it so much faster. I wonder how much the speedup would be if some other near-random value is there for the constant (which is likely beyond the purpose at hand).
I can agree that having the appstore does maintain some quality standards, however it does not guarantee any security, that's not really a good argument considering that their security model still needs to catch up to reach something as good as the web which is completely opened.
Yes, I know what you mean now. (Perhaps they could add primitives to the modifiers for a similar workflow.)

You can setup parametric primitives other ways though, https://www.youtube.com/watch?v=vaHL7jRo6mM
Or putting a screw modifier on a curve... ( torus, sphere, any lathed object...)

Or there's likely a number of different ways using geometry nodes. Granted it's not currently simple and intuitive though.
If I ever have to fix bugs I'll go and look at the commit history to see where it likely started. Especially if it was code that belonged to me but someone inadvertently commited something that broke it, that's why I like a nice commit history.
Conceivably you could also fix this by having all verifiets special case this one certificate in their verification software to substitute the correct hash?

Obviously that's a huge pain but in theory it would work?
> As best as I can tell, you would need to construct some sort of super-APL where "a single character" had significantly more information content than any Unicode glyph, to exceed any de minimis standard applied to a programming language.

This used to be something cartographers did: https://en.wikipedia.org/wiki/Trap_street

Even if you didn't have the street's name, if you copied the road on the map (no words, just the shape) they would know you stole their IP. I do not think there is literally a character that would satisfy this condition. The point of what I was saying was the "size" of the copying does not matter at all.

The Substantial Similarity is explicitly about this phenomenon. For something to be substantially similar, from a software perspective, you could hypothetically see the modules and data structures contain roughly the same data types and that the flow of logic is the same. You could also point to a function and say "these are the same variable names". Substantial similarity is not the only component of a legal analysis of a copyright claim. Another important component of copyright is if someone had access to the material. If I had code on my laptop that I showed to no one, uploaded nowhere, and at some point I find another developer who is doing some code that is character for character identical to my work, I likely cannot do anything.

The law is complex here, I am not a lawyer, but I think the important component here: The length of copying is not a factor at all. If for some reason your algorithm requires `magic_code.seed(20154)` and your code does this by doing `magic_code.seed(ord('人'))` and you find someone else doing the same thing you'd definitely want to investigate what's going on there.

The entire copyright doctrine is created to help protect the creativity of an author. If there is something creative in your code that is copied, you likely have a copyright claim you could argue.
What voteflux proposes is not simply direct democracy where opinion of the people who don't care enough to not go to ballot box is simply discarded. Votes still can be delegated, by setting your vote to follow vote of the person you trust, changes require significant majority, not simply 50%+1, people can trade their votes on different issues to reach consensus, major changes can't be accepted in a week if there is significant opposition, and most importantly different regions will be able to choose different laws.

Now issues like abortion/immigration/drugs are used like carrot by politicians to herd voters one way or the other, and politician elected to as a result of support of one issue ends up voting on lots of other issues in a way that absolute majority of voters do not like.

Voteflux being a marketplace of votes, can allow people with different beliefs to find compromises with each other, will allow politicians to understand what people actually want instead of guessing based on number of angry letters/tweets, and will allow people to organize in a way to have different laws in different places allowing society to experiment with different things instead of fighting life and death battle each election.