skysight-inc/HackerNews huggingface dataset:
Self-documenting code is not a judgment that you can pass on your own code: that's the role of code review.

95% of the code you write day to day should be clear enough that someone who didn't write it can understand it on first read (the reviewer). If they can't, you probably need to rewrite the code so that it is clearer, not comment it. That's what self-documenting code is.

Instances where the code needs comments to be understandable are rare.
It absolutely shouldn't. Advertisers STILL cite that Microsoft incident as the reason they don't support DNT, even though this happened 8 years ago. Just goes to show how dishonest they are.
Ironically they don't ignore DNT - they use it as part of their fingerprinting...

I think if DNT was per Domain, advertisers would let your browser make a bunch of requests to different domains and check for which you have DNT set, which should give a fairly unique fingerprint...
Do you find something ethically wrong with selling your services to someone who would pay for them? Or is it that you don't want anyone telling you what to do? I'm honestly curious about the reasons for becoming freegan.
Thanks! I'll try my best to improve
I guess this will be very easy for some and difficult for others. Given a reasonable food supply, water purification and no dangerous animals etc I'd probably happy with doing this indefinitely and have been since I'm about 15. There aren't too many skills to consider, it's more a case of state of mind / logical thinking. Most of my friends would be OK doing this and maybe it does give them a certain degree of self-reliance.
I recall doing a numerical approximation to something, and it seemed to converge to about 2.5

Enough for me to, in my overconfidence, assume the constant was 2.5. Later, when I found an exact derivation, it turned out the actual constant was pi^2/4 or 2.46740110027. Which was apparently close enough to fool me.
> I really dislike this narrative that facts don't change our minds and we are all irrational.

To mirror simonh's comment, it's rather ironic that you're responding to a claim of fact, with an opinion. Whether it's true or not is a question of science, not wishful thinking, and you've not given a solid reason to reject the findings of this research.

It's like the way the theory of evolution remains true whether or not some nasty elements of the far right try to use it to justify an atrocious ideology like 'social Darwinism'.

> people are using it to discredit democracy

Who does this? I don't see researchers like Dan Ariely [0] lurching to the far right when they make discoveries about our psychology. (It's odd that neither Ariely nor the field of behavioural economics [1] are mentioned in the article.)

Nothing about this research indicates that non-democratic systems of government are the best way to run things after all.

> truth does exert a pull on our beliefs

Broadly speaking mankind seems to get less ignorant over time, but sometimes the pull on our beliefs can act in the opposite direction. [2]

[0] https://en.wikipedia.org/wiki/Dan_Ariely

[1] https://en.wikipedia.org/wiki/Behavioral_economics

[2] https://en.wikipedia.org/wiki/Confirmation_bias#backfire_eff...
Official doctrine is that they're a second strike weapon; if they're used, then that implies that most of the UK's major cities are already smoking craters.
Coldfires are definitely still in production.
At least the new generation SoC that's in the Pi 4 FINALLY FINALLY uses a GIC instead of a Broadcrap custom interrupt controller. Now EDK2 firmware can present it as a reasonable almost-SBSA-ish ACPI system :)

But of course it's still a bit weird. For example, XHCI (due to being attached through a bad PCIe host controller) can only DMA to the lower 3GB of memory. In FreeBSD, we've never had to implement DMA limits for ACPI devices, because no real system had this kind of limitation before, and now I've had to write this: https://reviews.freebsd.org/D25219
I never understood this obsession with PI as a desktop machine, tlits such a poor choice.
A 2013 Intel Atom has more oomph, costs the same, and that's even before we get into potato storage.
Its the Chitty Culture gone mad.
Wow, beautiful work!

Where can I find more, similar projects to this one?

It doesn’t even need to have electronics in it, I just have the itch to try and build something, but literally do not know where to start.
The Feigenbaum Constant
This doesn't work on Yahoo sites which redirect to a different URL for the consent.
Isn't "Xe" the name of the non-integrated, PCIe graphics cards?
There are three buttons with very clear functions in the popup the author used.
Next time you return with no cookies they have no way knowing it's you even if you keep the IP address.

The way to know if someone gave consent if by looking at the cookie.
Show HN: I Built a Remote Job Board on GitHub Issues Page
Not much chance of us seeing an improvements in Fourier transform implementations, then.
There is no copyright problems with this?
To elaborate on another comment: Jewish law is seldom concerned with absolute certainty; it much more often is a question of degrees of doubt. In many cases two disjoint causes for reasonable doubt about facts that would impact the whether a certain action is forbidden are sufficient to render it permitted. When coming from a mindset of mathematical/logical proof, it can seem like "fuzzy logic" or, as you said, innumerate, but in actuality it's typically more like a hypothesis and the body of evidence that supports it (and depending on the specific hypothesis, a higher or lower degree of certainty may be considered sufficient).
And at the end "saving" fails "for technical reasons. Try again later."
Exactly! Man. It's good of you to say so, and it's precisely it.

The standard signals are a shirt and tie, jacket and pocket square with other accessories.

Now we're on a different playing field with other less overt details and our vehicles have become our outerwear.

We've both got each other thinking a little. Fist bump to that!
Incredible! Thank you for writing this up & sharing this! I’ll need to come back and read every word later but wanted to share my thanks. We need more like this on HN and less of the politics
Or expensive phones like iPhones?
All that's really missing to make that possible is a way for websites to mark a cookie as either "essential" or "other". Then you can move the UI for accepting/denying cookies to the browser without forcing the user to throw the baby out with the water. You can also add more cookie categories to enable more informed choices (I might be OK with tracking for UX purposes, but not with tracking for marketing).
The idea is to have a community around Job Posts, where people can comment on job descriptions and share thoughts about the company. Job posts are never deleted, they are just closed, so we keep historical data.

It has ~700 jobs posted right now imported from other sources, but you can also post:

- a job manually there

- purchase a job highlight
I thought xpcb/gschem were decent although admittedly I’ve only ever tried PCB design once.
This is a very naive response. Rarely is anything "trivially implemented". And if it's so trivially implemented, why haven't we seen a browser vendor implement something already? Websites have been circumventing attempts to prevent fingerprinting for a long, long time. To act like this is some simple task is hugely misleading.
There's a filter list for uBlock that removes most of those popups. Can't remember it's name off the top of my head though.
Waiting for the android version too. Maybe make the Android button clickable which opens a popup and asks people to enter email ID so they can get an email when you finally launch it on android.
No that’s not what I’m talking about but interesting info nonetheless!
It will and much sooner than you think. Everything that is making Arm attractive right now is applicable to RISC-V but even more so, since it is so much easier to add custom logic.
This is not "removing", this is "not adding yet"?

Quite likely they'll support eGPUs, and maaaaaybe big MacBook Pros with Apple SoC + AMD GPU could eventually happen??
Mostly ethical. If you care about privacy and not just a software junkie looking for the next shiny new thing, you should care about who is behind its development. Mozilla is not the same thing as another X company building Y browser.
Specifically though, they have a conflict interest. A good starting point to understand their position in the market:

Brave browser (Stage 1) is a Trojan Horse for their actual business which is a blockchain-based advertising platform (Stage 2).

https://twitter.com/aral/status/1013047635253526530
> 3 extra GPU cores

Four extra, eight total. The A12X is the one with a core disabled.
Ah yes: the Monty Challah problem.
> Spectrum BASIC was very slow especially compared to BBC Basic.

Yes. The commercial games were all assembly anyway. The BASIC was just to get the idea what is possible, assembly to achieve the speed.

> a stack based VM for floating point operation

Of course, even Intel 8087 FPU chip and all the FPU operations is x86 before the introduction of SSE2 were done based on the stack based code and operations. Stack based calculations indeed allow amazing code density.
Columbus’s Ultimate Goal: Jerusalem (2006) [pdf]
I have a 6 year old daughter who has been taking lessons with the 3rd graders this past year. I just had a conference with her teachers and they are ok to jump her a grade. They thought two grades would have been too much socially. But they did agree to give her advanced lessons. She is in a Montessori where grades 1-3 are together. I really believe all children have the potential for genius. Its all in how they are raised and what they are taught at a young age. The Pygmalion effect has massive power over young developing minds.
I don’t think an ability to hit the lowest common denominator is necessarily an indicator of artistic value. What is considered “high art” or “refined and complex” is often partially a function of class distinctions and access. The Beatles could’ve been treated like a symphony in a different context, as silly as that may sound.

Video games come to mind. There are some indie games that are, quite frankly, beautiful works of art. Outer Wilds comes to mind, as does Celeste.
God can't be stupid since (by axiom) he is all-knowing, perfect and presumably cares about the laws he sets. Therefore, any loopholes in the laws were put there on purpose and the believer is actually extra virtuous for paying close enough attention to notice the workarounds.
Data Science and Analytics Associations
Probably a bug.
Startup Layoffs Could Be Leveling Off
What Is Data Wrapping and Why Are Companies Vouching for It
He's not tricked, he put the loopholes there on purpose. You can't trick an omniscient being.
> I really dislike this narrative that facts don't change our minds and we are all irrational.

I don't think that is the real "narrative" here, although reading this article may make it seem like that. The "narrative", or rather the modern scientific understanding which this article tries to present to a lay audience, is that real rational thinking is not our default, even though it seems to us that way.

But we can think more rationally. It just takes a lot more work. We can do all of the following...

* Subject our thinking to a rigorous framework such as the scientific method, in which we have to declare what evidence would falsify our argument (hypothesis) as we make it.

* Study cognitive biases to become more aware of their effects on our thinking and hopefully "immunize" our mind against some of their effects.

* Train our capacity for meta-cognition with mindfulness practices to become more aware of why we think what we think as we think it.

As for using the limitations of human rationality as an argument against democracy... I don't think that's a logical conclusion at all since leaders and lawmakers are subject to these limitations no matter how they come into power. But it is an argument that we still need to improve the processes by which policy is decided and that we need to watch out for and guard against those who would abuse the specific ways that humans can be tricked because of these factors (such as the Cambridge Analytica crowd).
Also wood. He used wood and clearly is in deep with the hardwood movement.
> Sure, the chaos monkey could kill haproxy-server-state-management but that wouldn't uncover the bug in question

No it won't. But it would uncover their missing alerts for a critical platform component. Their issue was exacerbated by the fact that state-management kept failing for nearly 12 hours and no one noticed.
My favourite part of Spectrum basic was that everything was an expression.

Go to 23*N
Would this algorithm suit the case of wanting to find neighbors within a set radius of a point? Does anyone know of an approximate method for doing this?
The problem with that its in large part class based - come from a working class background or have learning disabilities you get pigeonholed into the lower tracks - with less resources.

Jumping tracks is hard and before the EU intervened almost impossible.
Miniature Xbox Controller for XCloud
I was wondering how you would detect radiation with brass and wood, but it turns out this was actually talking about how to build a snazzy enclosure and not at all about how to detect radiation : /
Show HN: (Failing to) model Python regular expressions with Z3
> why it was necessary to reference trump in the vaccine portion

because it's the new yorker. Facts are optional, bias is required.
for inspiration .... http://www.lovehulten.com/
Hi, I'm Kili's CTO. We have a free version of our annotation tool: https://kili-technology.com/. It's the most versatile tool on the market (text, image, video, voice), with native python integration, the ability to use ML to speed up annotation, and great support. Let me know if we can help. Edouard
They have been saying the older Video products are deprecated for over a year now, and it’s not like they’ll suddenly stop working either. The nice thing about those cameras is the self-hosting. Nothing changes there, so what’s the problem?
The inventor of N95 masks retired. Now he works 20 hours a day
Most managers I've seen don't do anything to stay up to date. Many don't even have an engineering background. They rely on their trusted tech lead's opinion.
My personal laptop is more powerful than this
Wow man. Nothing to add, this is just gorgeous
Use on of the anti cookie consent banner blocklists with your ad blocker?
As a hackathon project I made a language[0] inspired by LOGO but using Unicode characters for the drawing primitives (presumably children could have some physics buttons or GUI to insert them). It also has support for loops and subroutines but otherwise it's a limited DSL like LOGO.

[0] https://github.com/siraben/vpl
x264 with 2-pass encoding? "Machine learning" doesn't only mean deep neural networks.
> There are companies where algorithms are not commodities

And there is an entire industry! Embedded (but not the Raspberry-pi kind of embedded that is similar to desktop).

Try to do a dead reckoning system, or anything related to real-time gesture/motion analysis. Try reading, processing, mixing and outputting audio in real time. Or any DSP related stuff. What about FPGA, ASICs, etc.?

Why oh why is the embedded industry so easily forgotten? It's not all cloud, food apps, SaaS and Electron, ya know?

Edit to add: all the above with the limited resources of embedded, that forces you to improve your algorithms.
Commodities are fully fungible goods and services.

Different implementations of a single algorithm should have the same basic formal properties, by definition.

That is, they should be roughly fungible. Else you aren't dealing with correct implementations of the same algorithm.

If anything, the thesis "algorithms are now commodities" is less true now than ever before.

As the complexity of software deliverables increases, the use of complex, proprietary algorithms in software should likely increase in turn.
The material reality you're ignoring is that China is a massive authoritarian state which owns the data captured by tiktok

Choose, US companies taking your data applying the philosophy of the Constitution or Chinese companies perpetrating genocide.

Stay holier than thou all you want, the material reality is real.
Article should thank as well free and open source software like the Linux kernel and Operating Systems distribution like Debian/Openwrt that made posible to many people years ago start playing with same known software in multiple CPUs types usually without hassle.
“[video]” 10 Mistakes Most Young People Make and Regret Later in Life
Just when Linux kernel drivers for AMD GPU are actually becoming good. I know I won't purchase Mac the moment they becomes ARM-only.
That sounds great! Will definitely give it a try!
This is such cancer. I didn't expect that trade wars and centralized app stores would lead to this, but here we are.

Think back to 1999-- could you imagine if China had made Napster, the USA would block your access to download and use it? We would all just laugh at how easy it would be to get around it
Yep, also on jewish holidays.

I respect them for that.
Makes me wonder if there are a lot of people who start cheating once they get a child. What exactly is that algorithm trained on?
Oh yeah the other day I saw a website that was showing ads in the fsking GDPR popup (when I tried to "customize" the experience).

Great job guys
I disagree somewhat. For example in my freshman year of college I took a numerical analysis class that covered Newton-Raphson, Brent’s method, advanced quadrature, Runge-Kutta, preconditioning, all sorts of matrix linsolve, LU, rotation matrix, inversion stuff, floating point byte structure, and various topics in parallel computing like Amdahl’s law.

It was intense and very detailed, with a lot of discussion of how these issues arise in and how to write these algorithms in the C language and also in Python (like, in C extension modules of CPython).

My first job out of college was in a defense research lab that had projects running on tons of simulation systems, radar systems, hardware and embedded systems for vehicles used in the military.

What I learned later when I went back to grad school and worked more mainstream tech product jobs is that in those “hardcore numerical computing” situations, there is often a complete absence of architecture or design, no framing the problem in terms of the customer or success criteria, too much willingness to reinvent wheels, constant belief that build it is always better than buy it.

From a technical point of view, there was also a gaping absence of statistics, especially statistical optimization techniques like with Markov chains and simulated annealing.

There was a certain chip on people’s shoulder that hard core graph algorithms or hard core data structure based search was “real programming” when you could solve the same problem with simulated annealing in 1/100 the amount of code, as long as you didn’t parochially think your numerics experience was superior and force a solution that way.

Even though my peers were really experienced, it felt like there was an inverse relationship between numerical algorithm thinking and creative problem solving thinking. Hard core algorithms just sucked all the air out of the room, without making projects more successful.
GDPR doesn't actually require consent to process personal data. It requires that the processing be lawful. Consent is one basis for lawfulness, but it is not the only one. There are 5 others.

One of these is that the processing is necessary for the performance of a task carried out in the public interest.

You could probably make a colorable argument that research for publication into the effectiveness of GDPR implementation approaches is in the public interest.
Yeah, maybe I misstated; 'normal people' are more likely to read English 'or' contextually (in this case, for instance, clearly it's not meant to mean that Jews aren't people), while programmers are more likely to treat it as 'must mean exclusive or' (maybe precisely because explicit inclusive or is introduced with reference to it).
It's New Yorker facts!
I love them, they're so open and honest!
I've noticed on most sites even if you click deny you still get tracking cookies. Enforcement is nonexistent.
There's a Germany-based competitor to myfitnesspal called Yazio that has a good privacy policy. Don't know if their database of nutritional information is as good in your location though.
Nothing is required for any religion. This is pretty well demonstrated by the major religions of the world, where for almost every element of their belief systems you can find a sect that either ignores that part altogether and/or takes it to the extreme.
There's probably a big non-overlap of users between the two sites
I mean, you can say it doesn't work all you like, but the reality is that it does, and there is concrete (well, asphalt) evidence right outside my window and all over the rest of the city and country that it works and works well. It just requires the will to design things properly.

Separated paths improve safety, they don't cause issues at intersections that I've noticed (and I've been biking through them every days for years), probably because things were designed well to account for this. It's one of those situations where good design becomes mostly invisible so it's hard to spot.
FWIW, that time AWS had a massive massive failure it was actually really convenient being on AWS as so much of the Internet was down at the same time that pretty much no one was upset at me for my one service also being offline.
Show HN: CookieCalmer, an iOS content blocker for cookie consent banners
Placeholdifier: Turn any website into a live wireframe
>> how many online businesses will simply not get created

How many online businesses [that aim to quietly collect PII for their own monetary gain] will simply not get created?

Hopefully none of those actors will get created.
I'm reminded of Tetlock and Gardner's excellent book 'Superforecasting', which was essentially a study of people who consistently score at the top of prediction markets. One key thing that these 'superforecasters' had in common was that any new information caused them to update their model of the world, but none caused them to update it very much - typical people making predictions either didn't update their model or updated it too much in response to new facts.

I think it makes a lot of sense, when one is trying to identify patterns in information, that it's easy to over- or undervalue novel information. We don't necessarily know what a new fact means, so ignoring it is one common error while paying too much attention to it is another.
What politicians know that the authors of this study don't seem to realize, is that if we are told the same story repeatedly for long enough, no matter how absurd, we'll start believing it. If you throw in some scary outcome if we don't believe the story, we'll come around sooner. It seems that fear will cause us to re-examine our beliefs and values.
> Tests are very brittle, breaking due to entirely innocuous changes in the code because they inadvertently embed very specific implementation dependencies. Test for a race condition? Actually a test of the scheduler's round robin algorithm.

This matches my professional experience with writing and maintaining unit tests. They are often coded to the impl and are basically worthless IMO. I think you generally can get more bang for your buck with higher level functional tests, i.e., does this change preserve the functionality of the critical paths in an e2e flow?
is this a real possibility? can you file a complaint online?