skysight-inc/HackerNews huggingface dataset:
Understand the fundamental problems/principles.

Almost all problems and solutions stem from one limitation: only one writer at any given time. Immutable means one writer. Locking means one writer. Splitting a list and processing each half means one writer. The actor model means one writer. All are valid solutions to your problems.

A piece of personal advice: Avoid acquiring more than one lock at the same time if possible. The solutions are usually incredibly messy. The dining philosopher problem is a pretty good example. Every single problem involving multiple "per object" locks requires a hand crafted solution to the problem. Changing the order in which forks are picked up does not generalize well to other problems.

If you have global locks you may get away with always acquiring them in the same order but if you make a single mistake you're opening yourself up to deadlocks.
There doesn't seem to be as much consensus on the case for persistence hunting as there once was.

https://undark.org/2019/10/03/persistent-myth-persistence-hu...
Written book content is so dramatically different than online content.

The single fact that books have to be reviewed, edited, and published takes on a whole new world of quality and information.

Personally, I don't even bother with ebooks due to the lack of creditability in the quality of information and writing.

So, yes they are.
Actually, for the largest fraternities/student unions in Netherland, the board often gets paid by the university. Not the smaller ones, though (and it's the larger ones that cause all of the problems).
> "This page contains set of challenges that you can go through to test your understanding on the topic."

Let me tell you that none of those problems are challenging at all. They're entry level stuff.
Yes - this seems to me to be the same erroneous thinking that lead to the Ariane 5 maiden flight loss, caused by an integer overflow. There again the thinking was "this is effectively the same vehicle as its predecessor, therefore we do not need to test it thoroughly".
15 must-know JavaScript array methods in 2020
They sometimes get some support from universities but generally they need to fund themselves or use donations from alumni.
what i was pointing at was that these theories are evolutions of hundreds of years old assumptions of 'predestination'.
rooting in ideas of a big absolute clockwork, fortune telling, astrology.

they're making promises that they can not prove without breaking the construct to begin with.

it's a paradox, sci-fi, distraction from any type of wholesome outcome, claiming wholesome beginnings, claiming "more", breaking it to get there, because/thus lie.

the concept is much older than that too. 6000 years or more.
it's said that god has a name for every star.
implying that there must be an appropriate singular unique identifier, coming from one truthful system, for every thing (that originated from his will).

the idea, however, that a numerical system is any more appropriate than the alphabet or any other abstract symbolical representation to express law (logic), is ridiculous.

it is obvious that people lie nonetheless, under the covers of 'science', making big promises and the only ones to benefit from them are the ones that sell such ideas, even though unproven.

while i believe that there is 'one law', i believe too that it is broken by many and cause for schizms/conflicts and lies.

no one truth will explain (justify) all lies.
with the exception that they will be identified as a lie from broken origin but can not justify it's shape.

from that perspective, no 'master constant' will predict your lottery numbers, stock markets, death nor life, because of the volatility of increasing utter bullshit.
the only truthful prediction you can make, as time progresses more, is that mankind will undeniably conclude that the liars lie is the root of all evil and many liars made many victims.
But you cannot expect to get unlicensed content, which is what your parent was talking about.
Thanks! I'm still trying to be both master at UI/UX.
Please just let me type the damn date! I know when I was born, which bank statement I'm looking for, when I want to fly; don't make me hunt for it.
How to create a YouTube thumbnail with perfect size and dimensions
Possible ways to reduce your webpack bundle size – JavaScript SECRETS
I can see several problems with this.

1. Japanese subtitles are completely different from what is said in Japanese dub. Subtitles are optimized for readability and use completely different phrasing, or even terms (for example dub says クイーン ("queen"), sub says 女王 ("jo-oh")).

2. Japanese subtitles and English subtitles are also different, because many lines have to be completely rephrased in order to express them in a (very linguistically distant) language.

3. The furigana (pronounciation hints) in these screenshots is not correct. "困った" is "komatta" not "koma ta". "妻は" is "tsuma wa" not "tsuma ha". If only they used ichi.moe's engine... (disclosure: I'm the author of ichi.moe).
It's the same general pattern that whether the change is good or bad: a new leader comes in who starts changing the organizational structure and communication pathways, and who removes/replaces individuals not on board with the new direction. It's just that most of the time the net result is negative.

Fixing problems requires knowing what is actually wrong with the organization. If the problem is that your organization is overcome with bureaucracy, then the solution start with enabling a subdivision sufficient autonomy to pursue objectives without being disrupted by meddlers and busy-bodies.
Go 101, book focusing on Go syntax/semantics and all kinds of details (Go 1.13)
Usually when people have this concern, it's because the page they are looking for does not exist.

I'd like to see examples where you do a search looking for a specific page, either with or without verbatim or double-quotes, and then find it via some other query. Sure, it happens, but it's very rare.
One-sentence summary: Essentially no progress on this problem for the past decade.
The psychology behind the placebo effect just got stranger
Divide and conquer. Achieving small increments will fuel motivation for further work and also makes it easier to start. If your first task is, say, put your headphones on with music and do the build then you are more likely to just do it. And once you are there with your usual setup it's easier to just switch on. Routine helps, and with your morning wake-ups you are already on good tracks!
Consuming information distracts you from producing work. Similar to watching television, reading newspapers, and browsing internet.
If I borrowed money from you, bought a bunch of whskey, and drank it all, you can't take that back, either.

That doesn't mean that credit card debt should be undischargeble through bankruptcy.
So, everything is in swift now.
Tips and Tricks for iOS App Debugging
The price on Amazon is based on what the market will pay. If they could charge more, they would do so.

The only one losing money is Jeff Bezos.
Some organisations partaking in software development, to this day, do not have ANY kind of source control repository. If you want to be horrified by (lack of) a technology impacting organisational culture, spend some time in one of those places where there is no vocabulary, no interest, and even no concept of more than one person seeing a given project's code.
How AppArmor can protect your Linux system
The issue here is not if the user can choose a search engine, but if the user is forced to choose a search engine before they're allowed to use the phone.

Apple does not require that.
A new approach to making airplane parts, minus the infrastructure
“Finally, Rosenberg advised borrowers to understand what kind of loans they had since federal loans are treated differently from private loans.”

The article doesn’t ever say what type of loans were discharged in this case but ends with the above statement. If this case wasn’t about federal loans then that doesn’t help many people because most student debt is federal. Private debt is only ~10% of the market.
Astronomers Aren't Thrilled with Starlink but It Could Reshape the Internet
This worries me a lot. When depressed I would supplement with zinc and magnesium. It helped a bit. Until I learned that one can get it from seafood. It helped a bit.
Learning about anti nutrients and how they block the absorption of nutrients was the biggest thing that turned my life around. ..
Scientists making flour might just copy from nature but what is it they are making?
The problem is that the bill may come due for that rapid change due to how we achieved it.
Harsh code feedback needed on PHP 7.4 OOP example
Xiaomi exec says Redmi K30 5G supports 144Hz ultra-high refresh rate
But the view displayed on the website isn't changing. There's an "east" page displaying an amazing view of South America and a "west" page displaying mostly the Pacific Ocean. Images supposedly update every ten minutes, but those are the only two views you get.
FreeBSD tends to have the latest KDE while OpenBSD tends to have the latest GNOME. AFAIK no BSD has both (which is understandable, considering how complex it is to package software of this size).
There are a lot of smaller open source projects that are using Discord instead of IRC. I am a member of Reshade, C# OpenTK and general programming servers.
I think the comment you're replying to was sarcasm
> This would enshrine the fed with ability to affect fiscal policy without politics.

By what means would you give this third mandate to the Fed? Surely, politicians give this mandate, through the voters. In which case: how can you say it’s “without politics”? Because politicians create the laws that govern central banks, central banks cannot be said to be politically independent.

I guarantee you, if a central bank — any central bank — stopped monetizing its government’s bonds, the currency produced by its member banks would quickly lose its legal tender status and tax privileges.
It's been over six month since i switched on all my devices over DDG and i still miss dearly the Google results/layout/metadata etc... How long is the withdraw syndrome needs to go for?
European laws are far more flexible and open to interpretation. At these high levels, the enforcement of the laws is mostly chosen by the will of the people.

Ask 100 Europeans if they think Google is doing something unfair and should be fined, and more will say yes than the same of Apple. Then the regulators just need to find some basis for said fine the people are asking for.
EU: Call to introduce common charger for all mobile phones
> What is missing is knowledge on the circumstances of the code. You see some piece of code and you're only seeing that, the code itself. But why is it that way? Is this code supposed to be modified/extended/reduced/deleted in a near future? Frequently? Or simply, as a first question: Does this code need to be better?

That's exactly why you should always be very careful refactoring old code that you don't fully understand. It might look like spaghetti code that contains a lot of weird artifacts, when in reality it once was clean code that had to be edited dozens of times to handle edge cases. Not that it can't be refactored, just that it's likely not to look that much cleaner if it's to provide the same functionality. Refactoring old cold just because it looks ugly is often a waste of time and money.
I would have had very little to no interest in having a kid when I was in my twenties, or even early thirties.

I'm delighted to have one now.

Just use birth control.
Here's one that I would consider unclear unless you knew that allocations were 16-byte aligned:

> gcc has a very efficient way to obtain the bucket from the number of bytes, 60 - __builtin_clzll(byte_size);
But that's an allocator to virtual registers that don't try to correspond to (a valid number of) physical CPU registers. Sure it's easy to allocate to a large number of registers. It's harder to do it to a small number, like the project discussed here seems to claim to do.
I didn't know how much he paid back in the fourteen years so I checked out the ruling which says "From April 2005 until April 5, 2015, the loan was in deferment or forbearance.
" So yes your 5% figure seems about right.
> "WASM translated to register-based bytecode. That's awesome!"

If the hardware executing this code is "stack-based" (or, does not offer enough general purpose registers to accomodate the funtion call) - this will need to be converted back to a stack-based function call (either at runtime, or beforehand). Wouldn't this intermediate WASM-to-register-based-bytecode translation be redundant then?
Feedback from Apple: https://ec.europa.eu/info/law/better-regulation/initiatives/...

Roadmap and other feedback: https://ec.europa.eu/info/law/better-regulation/initiatives/...
Perhaps this might help explain their reasoning: https://news.ycombinator.com/item?id=22010590
Lion: "we'd like to practice using this plane so we don't crash it".
Boeing: "no".
Lion: crashes it. Hundreds die.
Boeing: "not our fault, their pilots were untrained".

How is no one is prison again?
Do you know any reason this wouldn't work with zsh? I'm getting

zsh: no matches found: https://www.star.nesdis.noaa.gov/GOES/fulldisk.php?sat=G16
Recommending Upmem's video:

https://youtu.be/KbseqGLveFk?t=166

They produce some RAM with an ARM core inside, in the same silicium. So, instead of fetching some bits to the CPU (650 pJ), they allow some computation to be done locally (150 pJ cost).

Some programming models are at the moment already prepared for that kind of computing: Spark's MapReduce worloads (and other associatively expressed computations); in which the Map portion becomes practically free and instantaneous.

Spark could be configured to have 32 MB partitions, and all workloads expressed with .mapPartitions() can be pushed to the RAM chunks (which are 64MB in size, and let's say we reserve the other 32 MB for storing the results)
you should learn about clojure. not only it provides nice concurrency semantics (not actors though, more granular stuff), it's also functional (in a pragmatic way, like erlang) and immutable to the core.

tutorial: https://www.braveclojure.com/introduction/

on gpu: https://neanderthal.uncomplicate.org/articles/tutorial_openc...
YES with serverless you can really deploy your side projects at scale paying basically nothing if they don't get visited.

The Serverless Framework on AWS Lambda though are more mature to do that.
One of the biggest gotchas is using just one aws lambda function with the entire web server instead of doing one aws lambda for each endpoint.
Dramatic rent increases while someone is living there should be illegal. It's basically leveraging vendor lock-in.
Should every change be talked over? If not which ones?
with bills the quality is secondary, and indexing is more important. I scan using Microsoft Office Lens and email to myself adding a few keywords in the title "Electricity bill for November 2020"
If I understood it the first time, it usually sticks very well. I'm refraining from saying completely and always because it's obviously not an absolute.

What I meant with that last sentence was that even for material I did not understand well (because it seemed to go over my head), I usually still finish reading the material, trying to absorb a very handwavey gist or general structure of the idea, avoiding the need for closure and leaving large chunks unclear. Then, after several days, I often find that I now almost magically understand it because it just clicked without me even being aware of it.
It is easier to read but harder to debug. If you activate all constraints at the same time and something goes wrong you end up with an exception at activateConstraints. Then you would have to figure out which constraint is the cause of the exception. If you activate the constraints one by one then you will get much more helpful exceptions.

The rule that I followed was:

Use activateConstraints if you actually have a performance problem and otherwise activate constraints one by one.

However since this is a framework this rule may not apply because you don't know how it will be used.
In Norway the student loan is from the government, and everyone qualifies.
Because things such as Netflix are "boxed goods". You only get what's written on the box, and not a gram of extra value than that.

To better explain, with Netflix (any modern offering in fact) mentality one can't invent and market LEGO or even the PC or other general purpose toys. They want to capitalize on every bit of value from the product, and as a result, they can only give away "experiences" and not "platforms".

With a platform users generate extra value from which they can draw, with an experience it's just boxed, single-purpose consumer products.
I'm glad you mentioned SSL. Because hey - that broke some scripts in 2.7.9 ;-)

https://www.python.org/dev/peps/pep-0466/

(Can't remember the details, but it may have been something about some extra hoop you'd have to jump through to trust self signed certs that broke our testing infrastructure)
I use markdown-clipper for Firefox, it does an OK job but sometimes requires a bit of fixing up. It does not save images, so I have to do this manually; I use VSCode for Markdown, which has an extension for copy/pasting images to Markdown, it inserts a link and saves the image in a subfolder.

A little friction, but if that's too much, then the article is not worth keeping. But yes, someone with the time on their hands could contribute to markdown-clipper, saving images locally.
Code with duplications isn't less readable. Quite the opposite. Fighting your way through layers of abstractions and generalizations can make it harder to understand for someone new to the code. Especially code that will rarely be touched except for bug fixes, having it as simple as possible can often be worth it.

And in the end, users will also appreciate this. Any time spent refactoring is time not spent on new features or bug fixes. A user doesn't care if your code is cleaner (unless it was buggy before), they'd rather have new features or improved usability.
I had to read a little between the lines to understand your point, which I think is this: Even if you have an object type that requires only lowest-performance memory management (say, editor undo/redo items), you should separate these allocation concerns from all the other allocation concerns in the program, because you might risk contention. It's important to group allocations by lifetime.

To which I'll say, shouldn't we rather optimize and separate the high-bandwidth stuff, so we can keep using malloc-per-object for the unimportant stuff?

The rest of your comment does not apply to a simple undo/redo system:

> In some algorithms, 90-99%+ of runtime can be in allocation and freeing small objects!

> On top of that, accessing a sequential stack (array) is significantly faster. CPUs are built for that type of access patterns.
Just tried the extension, and it seems Pinyin is not supported. There is no "Transliteration" option, like there is for Japanese.
> I watch Netflix on iOS or streaming from iOS to chromecast.

If you streamed to a Chromecast it wouldn't work, as all the cast protocol sends from the iOS device is the URL of the stream and the authentication key. The Chromecast fetches any subs etc itself.
I agree, I've come to appreciate the practical aspects too and feel like I'm now using them synergistically. I'd still say theoretical reading is my primary learning mode.
> call 911 and ask

Calls to 911 usually take 2-5 minutes for anyone to answer in Toronto when there is nothing particular going on (not kidding you, there is a message playing in the meantime like "we'll answer soon, please hold") because the govt is so hellbent on cutting costs that the emergency lines are understaffed. So imagine what happens when everyone does that... No operators for 15 minutes for anyone. Ontario really has become a ridiculous place.
Well then you’re not using malloc() which is kindof my point.

Or are you asking something else?
> You don't go and fail some random component in the system.

I always wondered if they did that, something akin to fuzzing tests in SW. Wouldn't it be useful to detect unexpected situations that'd be catastrophic? Or the benefits from it wouldn't outweigh the cost/time loss?
If you duplicate and don't try to generalize wherever possible, these links won't hit you as hard. Changes to one module are much less likely to cause bad behavior in others compared to code where as much logic as possible is generalized and shared between functions.
Pure, Higher-Order and First-Class Functions, Currying and Partial Application
I've done the relay twice, and hope to do the full race this year (I didn't get a place, but I'm holding out for a drop out).

We beat quite a few horses, many of them see it as a day out rather than a race. What I found was that horses win uphill and on the flat, but humans are vastly better going downhill. I managed to keep up with a group of horses as I could always catch up on the downhill, where the horse is at a big disadvantage.

Good luck this year! It's an awesome event.
Given the absence of any other method of age verification there are a lot of Discord servers that require photo ID to join.
I find it very interesting that the comments here on HN so far are predominated by discussion of "privacy".

The article is about anti-trust regulation.

These are different things.

Regardless of what you might think about the privacy of any particular option today, the point of this change is to make sure more choice is available and visible to users. In the long run, it's worth remembering that such choice might be a prerequisite for more privacy-oriented services to have a chance to grow. This is the case even if you don't regard any of the current options highly.
Top past week and Top last month have the exact same content, guess it's because the content in the site is new?
> Greenland does not support agriculture

Give it a few more decades.
Hilarious post.

"Since we have much faster CPUs now, numerical calculations are done in Python which is much slower than Fortran. So numerical calculations basically take the same amount of time as they did 20 years ago."

I get the humor but it's also not true... if using numpy, you're essentially running C code where speed matters.
Video: Mexico's Most Active Volcano Erupts, Spews Ash Cloud Nearly 20k Feet
> Back here in reality, rolling release is less stable because more bugs in the software get through.

We really live in two different software worlds. Every software I'm using has its number of bugs a purely decreasing function of time, especially in the "main" paths and use cases.
Ok. I’ll add a point why 60 is chosen when I land.
The very fact that you can rationalize the enslavement of a young person by saying "at least we 're allowing them to go where they want" is absolutely fucking horrific.

It should be illegal to agree to give away future earnings in this manner, specifically because morally corrupt people like yourself can rationalize your way into it.
> That means your impact on the world has been very limited. You haven't contributed to the basis of what other coders used. Not that this is illegitimate - but I believe we should strive further.

I don't think many coders can claim that much of their code from decades ago is still alive. And rightly so! The areas where code is used for that long (e.g. core banking systems) are not necessarily the most pleasant to work with.
I think I remember an early phase in the news coverage in which Boeing seemed to actively try painting Lion and Ethiopian as irresponsible in order to divert blame. If this memory isn't completely off then the revelation of Boeing having resisted a push for more training by Lion is an epic karma bite.
Shell is brilliant until you need to keep a filename in a variable. Or, worse, read filenames from the output of a command. Since basically everything except '/' and '\0' is a valid filename character, the potential for mishaps or exploits is huge.

That's where we came in with the need to use "$@" vs the unsafe-by-default bare $@.