skysight-inc/HackerNews huggingface dataset:
Yes, only a fraction of the work is “good” work in that sense. The fast workers get many more opportunities to get it. It’s like the fast worker buying ten lottery tickets and the slow worker buying one. She who buys ten tickets has ten times the chance of winning, even if she buys nine losers.
The the first thing to do if you want to improve that is to ensure you track code reviews. Meaning, you can see what changes each person reviewed and not just submitted, and then you can use that data to talk about performance etc. If one person does all the reviews then he should get a ton of credit since that is hard important work. Typically lead programmers do more reviews and juniors writes more changes, so a person doing a lot of reviews is associated with seniority and something to strive for rather than avoid. Also I bet your manager would be interested in that information as well, so maybe you just need to suggest it to them.
Not sure they think of it in exactly those terms (hurray for the Poldermodel); but I'm sure that's a consideration.
> Axie Infinity is a trading and battling game that allows players to collect, breed, raise, battle, and trade creatures known as "axies" (characters based on axolotl), which are digitized as NFTs.

That just sounds like CryptoKittens

> Axie Infinity uses NFTs for the rights to each pet that is purchased. To grow these pets, you purchase or farm SLPs, or small-love potions. You can sell these pets or SLPs for cryptocurrency, then swap into your respective currency.

I don't see what's novel here, the game was intentionally designed to store inventory/assets with NFTs. It sounds like these people are farming in-game items and selling them to other players (whales). It's literally just gold farming in wow except allowed by the developers. Any other game that lets users trade their inventory for crypto (to prevent charge backs if you were using paypal etc) could also do this without NFTs.

I wouldn't want to play a game that allows gold farming, because then the metric of your progress isn't how much time you've spent playing, but just how much money you've spent on it.
The vast majority of questions like that are quite obvious.

Now what you might miss is that in some country where special circumstances led to an unusual high use of a certain feature.

But this is not that case.

More importantly, even with telemetry. Is the JavaScript adding something or is it solely used for tracking? Is it appreciated by the users?

Maybe 80% of input validation is so broken that they only serve to block legitimate input and waste cpu-cycles.

More than telemetry you need common sense. It is not apparent how the telemetry influenced this in any way.
"Header only" might be a bad name, in my perception what it really means is "you can drop the code files into your project; we won't annoy you with our own over-engineered build system".

Slow-compiling APIs can be made in any form, whether "header only" or not. C++ template APIs cannot be compiled separately and can cause long compile times for all transitively dependent translation units.

For example, stb_image.h is a single file that is 1 copy+paste from github away. It compiles quite quickly, and often you will need it alongside only a single .c file in your project, but anyway it's extremely easy to compile it separately. All you have to do is cut+paste the implementation part to a separate .c file.
3.5mm jack and at least one USB that isn't C
> Love to see more adoption of Nix and NixOS.

I don't want a 'journey' to use my OS. I don't want to learn a whole new language and set of overengineered abstractions to solve what I see as, at most, 5% more of application installation problems that are already 75% solved by package managers[0]. If the Nix community wants more people using Nix, they'll have to make it more attractive for those of us who do not want to waste so much time needlessly learning new stuff to do the same things we're already doing.

[0] which are already an overengineered and under-delivering solution in my opinion.
or just move to a 100% land value tax instead.
Similar here. I've been spoiled by Lenovo, although it's not perfect. It's mostly a coding machine for me too.

0. Linux compatibility: minimal driver problems, hibernation can fail less than 1% of the time.
1. Touchpad with mouse buttons (ideally 3) is not negotiable.
2. A decent keyboard with all keys from the home/end/... block. Full sized arrows would be nice, half-sized are a no.
3. Not bigger than a sheet of A4 paper.
4. A non-glare, wide angle display.
5. Good WiFi sensitivity and performance.
6. A hard drive activity light is quite useful.
7. When it inevitable gets thermally throttled, it should still be useful for web browsing.
8. Mute/mic mute buttons are nice. So are volume buttons.
9. Open firmware: WiFi, coreboot, libreboot. I'm a hacker, and don't like fences.

Same thoughts about the Framework laptop. I hope it becomes an option in the future.
You can disable it.

I really would like to see benchmarks versus proper use of binary libraries.
I'm glad this is helping some people, and I'm always in favor of treatments that help people who are "lost causes" (people with chronic illness and every treatment they tried so far has failed), but this stuff really creeps me out. There's that story of the Navy SEAL that developed mania and psychosis from excessive use of rTMS that was making the rounds a few years ago (https://rewired.inewsource.org/ucsd-kevin-murphy-prtms-navy-...). It just seems like an example of scientists playing around with a complex system they have a very incomplete understanding of, with potentially risky outcomes. The brain isn't a heart, it's not just a matter of getting it "beating" at the right pace. With the Navy SEAL who went insane, the main problem seems to have been excessive treatment (rTMS worked at first, but the effects kept going away without more stimulation, so even though he was supposed to be "cured" after a few months and require no further treatment, he had essentially become "addicted" to brain stimulation). Brain stimulation implants seem too similar: meant to stimulate certain emotions in perpetuity, with nothing really addressing the underlying causes. Psychotropics are already suboptimal in that same sense (addressing symptoms, not root causes) but it seems like a safe bet that this will have more unintended effects than drugs. I don't want to discourage anyone here from getting treatment (as a sidenote, what worked for me for depression was internal family systems therapy, which is also pretty "out there" and cutting edge) but I'm wary that with more focus and funding for rTMS, there'll be less attention on finding more "root cause" solutions.
I just look for an Apple logo. The newer one that's not backlit.
Clean and simple API, clever implementation. Very nicely done.

Saying as someone who worked on a cli framework for network devices in the past and quite enjoyed it. It was in C though, so it wasn't as terse.
> 71 percent of the vaccinated trust hospitals and doctors “a lot,” for example, while only 39 percent of the unvaccinated do

And finally here is the key: ~70% of the vaccinated is trusting, while ~40% of the unvaccinated is - and 40% of individuals stating that trust is already a surprisingly high number, massive badges of systemic "success" probably only valid for regions of high professional selection.

So, the important part of the solution is: remember that empowered error that claimed days ago "The hacker will be prosecuted" about a reporter who noticed an institutional website sent around sensitive information in the webpages markup? Those errors are to be removed from active society. People will trust when the empowered will be trustworthy. Otherwise, societal costs will remain massive. The very first step to achieve such hard goal is to call those "errors", empowered inadequate, unacceptable.
No longer maintaind, but I did make django-project that automatically generated a pack from a set of images. As the kids and I loved playing a snap like game.

It rotated, random-sized etc all the images.

https://barwap.com/projects/splendid-snap/
https://github.com/bmsleight/SplendidSnap

The python script works standalone form the command-line
https://github.com/bmsleight/SplendidSnap/blob/master/libspe...
> I will admit that when I first read about constexpr my first thought was 'why can't the compiler figure this out automatically?'.

I would argue that the main value proposition of constexpr is not what the compiler can figure out automatically but allowing the developer to express where he wants constexpr and afterwards allow the compiler to verify if that's possible.

It's the difference between a soft "nice-to-have" requirements and a hard "must-have" requirement.
Every Time Zone
Sometimes I wonder if this is how Michael Burry and others felt before the housing crash.

Right before the housing crash, most the in-industry folks were fully aware it was unsustainable, but they felt it would continue long term. Same goes for tether, majority of those involved in crypto know what they are doing, and the pump-up effect it's had to crypto.
> 1. S3 Standby/suspend support.

Intel diasabled S3 in Tiger Lake
It might suck for you but does it suck as a revenue source for Canonical? Successful business doesn't always mean having fun.
Things my dog taught me about software development
> It is simple and fast to install. People make NixOS feels like black magic. NixOS is easier to install than Arch linux. Just do 3 things. Partition your disk, create the nix configuration file and finally run the command "nixos-install" command.

Step 2 is doing a lot of work here. It's pretty 'draw the rest of the fucking owl'.
Crypto-currencies are selling you a service: linearizing database transactions. This is like arguing that Apple could arbitrarily go to zero because the world would find a different phone to use, and while that's true it seems to miss the point that Apple is unlikely to go to zero until after someone makes a better phone or makes phones obsolete. The world of decentralized database transactions--particularly the turing complete ones you get from systems like Ethereum--isn't some random speculative asset like artwork or baseball cards.
Templates can be instanted for common types and consumed via binary libraries.

Also modules support templates just fine.

Indeed, header only libs are just doing PHP like programming.
Check out bforartists, it's pretty much what you're describing.

https://www.bforartists.de/
The only comment that you think is worthy making after looking at OP's project is about adding a blank line in front of a prompt, in an example? Show some rudimentary respect towards the work of others by not nitpicking on trivialities.
"Part of the difficulty was conceptual -- programmers were not used to having to write code that used the same number of calls to random within the simulation (yes, the random numbers were seeded and synchronized as well)."

What do they mean, "same number of calls to random within the simulation", didn't get it
Most don't even.
Yes, but the locking inherently has to be global so it would have to be effectively the actual GIL if needed. The interpreter would therefore have to have a gil/nogil mode, maybe switched by a command-line parameter (you wouldn't want gil mode to be implicitly enabled interpreter-wide just because you imported a particular module). That's certainly possible, but I doubt it would be popular.
Some other commenters here seem to think this article is (or should have been?) an introduction to systems thinking, or an argument for using it.

The article is explicitly framed as some advice, based in experience, on avoiding common pitfalls with using explicit models in systems thinking. As such I think it is a nice read. It is also full of links to other interesting work by the author, not least of which is a tool to assist in system modeling (https://github.com/lethain/systems), and links to other similar tools I was unfamiliar with (https://insightmaker.com), which will make for some fine weekend reading and tinkering.
The real problem is an application distribution paradigm that relies on unpaid third party maintainers just to get up to date software.
“Starting wage for unskilled labor” is what they changed. Because we’re lazy, the reporter called it minimum wage.

In the small Arkansas town I grew up in, when the Tyson plant changed what we called the “starting wage” it was a big deal. Back in 97-98 it went up to $6.05, which got me to apply there and get a job. That was almost a dollar more than the US minimum wage.

I didn’t last very long. That wasn’t for me. I instead went to a mcse boot camp and got a job offered to me by the place that ran the camp. They had a service side that hired me at $11.25/hr. I was billed out to clients at $125/hr. The rest is history.

When I returned to see some high school friends around 2000, the starting rate at the Tyson plant was up to $7/hr.
The Framework laptop came out around the same time I spilled juice on my Lenovo and fried the keyboard. Now durability user repairability are my top priorities. Hopefully Framework sticks around and makes a Ryzen option soon.
> Well, you can slowly turn C in to C++... or you can just use a subset of C++.

Those two are not the same.

It requires far more expertise and experience to be able to strong-arm C++ into generating lean C-like code than just writing C and getting what you want right out of the box.
Show HN: Rekowl – notes app with spaced repetition
Yes, because at the time there were only four or five main junctions for cross-country internet peering locations. Seattle was not on that list and if you are not going to be local then why go to CA and compete for space, data-center engineers, and peering with every other late-90s dot-com on the planet when you could go to an area with equivalent infrastructure and less competition for the resources. The reason so much telecom infrastructure terminated in that region was due to proximity to the government center of gravity, but also due to simple geography and the tendency of new telecom infra to be built out in parallel to existing telecom infra.

Oh, you were trying to make some sort of sinister innuendo based upon your complete lack of understanding of the telecom industry in the original dot-com era and the existing long-haul infrastructure at the time? Ok.
Not sure where I found it, but I have it coded like this:

scope :ranked, -> { select('posts.*, ((posts.upvotes_count + 1) / POWER(EXTRACT(EPOCH FROM (NOW() - posts.published_at)), 1.8)) AS rank').order('rank DESC') }
How to Find a Manufacturer in China
1. For many functions ANNs will never converge to an approximation of that function given only (input, output) tuples, even if the function is simple enough that the ANN could represent it. Chaotic functions rarely have a useful gradient the NN can follow.

2. To break a PRF it'd need to learn its inverse. For many of them it's unlikely that a small circuit computing the inverse even exists, so a non-iterated NN couldn't even represent the desired function, let alone converge to it.
An Introduction to the /Opt Directory – HedgeDoc
> * They should add `pure` function attribute instead, also maybe the ownership.*

The C standard committee only adds suggestions that have been presented. If you feel strongly about those features, feel free to put together a proposal like the one that sparked this discussion.
Recurring Payment Shutdown, Blow to Small Businesses
That's absolutely fair, I don't think either the parent or the NixOS devs implied in any way that it should be the right fit for everyone or 100% of the Linux distro market share is the end goal.

For me, the benefits outweigh the quirks of the language. As my alternatives to manage multiple machines consist of: wonky Bash scripts, similar tooling but bolted-on on top of the distro and with no built-in rollbacks (Ansible, Puppet, etc.), or trying to get everything right manually, Nix does not seem like the worst out of this bunch.
I am curious about ANC as well. I used to wear headphones with ANC 8h+ a day and started to hear noise in my ear.
Acne Guide
Gen 9; did not get a model with additional SIM support, though.
I don't think that there is any meaningful gaming community, same way as there is no overarching communities for movie watchers or music listeners. At this point it's just a type of content we consume, art we appreciate, etc. But despising Neil Druckmann and his storytelling is a cultural touchstone and something people can connect and form community around.
You don't expect to have to check for "silent mode" as a "feature" on a checklist. It generally tends to be a bit of a given.

I also have one of their newer feature phones and still find it woefully anaemic compared to a S40 or S60 phone. No copy paste. No backup abilities. No firmware upgrade that I can find. Very limited SMS memory.
I’ve been using Macs for over five years now and before that I was all Linux. From reading this it looks like Windows has actually reverted to where Linux was over five years ago: having to fiddle with the machine to get sleep to work. That’s just sad.
You don't need full blown unions to have some pretty basic employee protections and rights. They'd help fight for, and protect abuses of said rights, but aren't necessary.
> It's harmful to constantly hear sound, [...]

Hmm I'm not so sure about that; do you have any source for that? My intuition says that it's nigh impossible to find completely quiet places in daily life; there's always some noise, though it could be imperceptably quiet.

If constant sound is harmful, I'd imagine we'd all have lost our hearing by now. I reckon any harm woulc come from volume, not just simple presence.
> But if that existed, the Runescape and Warcraft developers would not have to coordinate at all

At a minimum, there would need to be a known (to the asset developers) stable asset description format to target, covering both the cosmetics and in-game mechanics of the items, for every game the asset would target.

For it to work, game developers need an incentive to open their multiplayer games to third-party assets and asset developers need an incentive to target games they don't own with assets.
I was curious so performed a brief search. What are your thoughts on this study, which suggests that cytochrome c oxidase is not involved in the effect?: https://doi.org/10.1016/j.jphotobiol.2019.03.015
What I find ironic, is the police are doing a copyright infringement (unauthorized public performance of these songs) in order to infringe on citizens' rights. Why are record companies not more pissed about this?
I know! What i meant, was, that crypto was made because the gold baking was gone. (one of the reasons and anonymity etc) now, we have tether beeing printed out of thin air and no one gives a shit :)
Remote Work Guides
That might be OK in an IDE driven language such as Java, but I doubt the neckbeards writing C in a plain text editor would go for that level of implicitness. In C++ it might be more acceptable since you practically need an IDE since C++11 to resolve all the auto type inference.
When building a proposal to C-suite or stakeholders bring it to a level they will understand. Don't focus on technology, stacks, interfaces. Focus on efficiency, improved operations, reduced costs, bigger bottom line. This is the language that is hard to argue.
For some PRNGs it is intended that the output values must be unpredictable, e.g. for using in cryptographic applications.

For such PRNGs, you can either view them as having a known state and an unknown output function or you can view them as having a known output function and a state composed of a known part and of an unknown, secret, part.

The second point of view is more general, as the first case can always be reduced to the second, because the unknown output function must be derived using known functions from a secret key, so you can consider the secret key as the part of the state that is unknown.

(There is a third possible structure for a PRNG, with known state, known output function and unknown transition function, but this is obsolete for making unpredictable PRNGs, as it has inferior properties).

So yes, a pseudo RNG that has a part of its state that remains unknown may produce an output sequence from which it is computationally infeasible to determine its complete state.

Nonetheless, an unpredictable PRNG remains a PRNG, not a true RNG. You can reproduce any time its output sequence if you know the secret part of the state, e.g. when you are the recipient of an encrypted message.

If a ML method would be able to recover the secret part of the state when given the output sequence, obviously that PRNG would be considered broken.

Many PRNGs are designed for high-speed in non-cryptographic applications, e.g. simulations, and for those PRNGs it is usually very easy to determine the internal state from the output sequence, without the need of any ML.
Video presentation:
https://www.youtube.com/watch?v=WJRyu1JUtVw
The random number generator needs to give the same outcomes on both ends so that you don’t need to transfer results. To this end, you have to use the same deterministic generator code, seed and ensure you call it the same number of times on each system. This last point is because queries to a random number generator also change its state. If system A and B start with some seed, but system A calls it 30 times and system B 29 times, the next call will yield a different result on each system.
One word: repairability.
If you call a pseudo-random number generator, you get the next random number in a strictly defined sequence of numbers derived from the seed. So the generator has state, and needs to be called exactly the same number of times in the same order on all clients to make sure that the random events happen the same on all clients.
I suspect it pertains to the fact that’s most RNGs tend to be pseudo-random number generators that maintain an internal state. Each call of the RNG mutates the internal state. If you have two processes, one calls the RNG 2 times and the other calls it 5 times, the process states will have diverged and the simulation is no longer consistent between them. This is true even if the simulation ends up using 1 value out of those RNG calls, because the RNG state itself is implicitly part of the simulation.
I switched to NixOS half a year ago. The reason? I fell in love with literate programming (I use [1]); being able to write (and read) your whole OS configuration is the dream!

There are few bad sides to NixOS though.

The community consists mostly of programmers, which means I am missing some creative tools (mockups, mindmaps, ..). In the future I will be able to provide/build them myself, but it is not a smooth transition from my previous arch setup.

Also the whole documentation sucks: There are three (!) official manuals + the home-manager manual + Nix pills + YT + random blogs where I have to piece everything together.

Still I find NixOS superior to every other OS (windows, linux) I have tried so far. I just feel free and am not afraid to fuck up anything [2], as I can just go to a previous generation when it doesn't boot.

Lastly, I can save my whole config in git and am free to try new tools -- If I don't like them, I just remove their line in my config. No more chasing after random install folders! (Except in home..)

[1]: https://github.com/driusan/lmt
[2]: All the "hacker" stuff: kernel modules, network hardening, ...
Pizzatime: Throw a pizza party for your remote team
Are they not able to just use phase shifts and beamforming on the transducer array instead of the odd keep-moving-your-bracelet design?