skysight-inc/HackerNews huggingface dataset:
Bit-Banging the Raspberry Pi Pico’s GPIO Registers
That seems odd. An O2 sensor problem will normally illuminate the amber "check engine" lamp, but the car remains perfectly drivable. No need to tow it anywhere. The shop technician can read the stored trouble codes and easily determine it's the O2 sensor, should take maybe 5 minutes do diagnose.

I think someone was getting scammed here. Since it was a warranty repair, maybe the dealer was scamming the factory warranty program somehow.
On my phone, I use an obscure keyboard with a custom theme -- good luck faking that. Doesn't help your average user, though.
He needs to read about that 'antifragile' thing, someone sends him the book.
Another great example of computer literacy in the world of journalism.
Exactly, it could just show a real keyboard, tell you it’s got a new discount partnership with Pornhub premium and catch you trying to log in.
Maybe we need to dedicate lots where self-policing groups of homeless people can put their temporary shelters, provide them with a porta potty, somewhere near a bus stop so they can get to work. This would be such a boon for so many struggling people.
Want to Resist? Delete Your Facebook Account
> This issues goes way back: imagine if after executing a program on CLI instead of closing it gave you a fake shell, where you eventually went about your day until you had to type your password into sudo..

As a fun fact, even worse might be a program maliciously aliasing sudo in ~/.profile
Print debugging always works, but also: it lets the programmer customize their view of the program’s (very, very large) hidden state in any way imaginable. Step debuggers are the “no-code” equivalent: extremely useful for the purposes for which they were designed—and often the better choice there—but inherently limited.

Geoff’s not wrong in invoking Bret Victor’s Learnable Programming argument that being able to track state over time is critical to debugging, and Geoff’s right that print debugging makes this easier than almost any existing step-debugger.

Bret’s deeper point, though, is that a major challenge in debugging is hidden state in general, and that variable state changing over time is just one example.

Not only is there a ton of hidden state in the execution of a program—the full execution trace PLUS state of every variable at each point in that trace—but there is also a ton of interpretation of that state that the programmer needs to do while debugging: “what does this sequence of events imply?” - “why is this pointer pointing here?” - etc.

Doing that interpretation is much easier when the programmer gets to selectively view that (again, HUGE amount of) hidden state. Print debugging gives the programmer complete control over what state is shown. No other debugger does that: they all show a ton of data and context (often useful!) and make certain operations easy (inspecting single variables! viewing call stack snapshot!), and these are often just the right things.

But sometimes they’re not. And often, when you start debugging, you don’t know if the fancy debuggers will be too much or not enough.

Print debugging gives you the power to write code to selectively view the (again, HUGE!) hidden state of your program, and this scales from the smallest code-tracing bug to the largest distributed systems.

Step debuggers, on the other hand, are essentially “no-code” debuggers — extremely useful for the purpose for which they are designed, still useful for adjacent purposes, and a great place to start if you know the tool well, but ultimately not as powerful if your needs exceed their capacities.

A good programmer will know how to use all these tools for what they’re best at!
I think people need another 100 years to forget about it. It's just a toy in the hands of politicians. And now they choose to use it against Turkey. Some day this whole thing will be forgotten.

Nobody living today are responsible or should be responsible for it.
How about a site that says it will help you log into your bank and secure your bank credentials?
> Zoning says you must have a minimum of 1000+ square feet

Minimum lot and habitable space rules vary by state and locality, not only is 1,000 sq. ft. usually above the minimum for habitable space, its often above the minimim for lot size by a wide margin.
They had the death penalty for using the royalty's name in vein until the 90s or so, jailing someone because he was drunk and made a "death threat" (with zero likelihood of it being real) on Facebook, arresting someone for camping alone without a mask, CCTV everywhere, being illegal to raise the middle finger, etc. And yes, then once tech is involved it is accordingly used as stupidly. The UK somehow has a whole different brand of legal stupidity than America.
I get censoring calls for violence and insurgency...

Like at the capitol... Though to be honest idiots at the capitol were stupid many posting their crimes and social media leading to their arrest.

Social media needs decentralized with community based censoring let govts police their citizens if they want but leave the content up with disclaimers and such.

I think it's more damaging for shady politicians, criminals, etc if their tweets were permanent and there were no delete button...

You could add revisions/retractions but can't pretend it was never said by erasing.
if you like the look 'stuff happening on a chalkboard', you might like cy twombly's paintings from around 1968-70, e.g. http://telnet.asia/synopsis_of_a_battle.jpg
I myself am not a Trump supporter (I’m a libertarian) but my wife’s family are all Vietnamese and they are diehard Trump / Republicans. I feel like the media is ignoring a huge story which is minorities who despise democrats. The family is extensive and some are quite poor, but every single one of them (no joke) completely hate democrats and left wing politics. One issue that keeps coming up is how universities discriminate against Asians, as well as various religious issues.

Some people reading this might think I am exaggerating, but if you hear my father in law rant about democrats you would be shocked.
> Currency is simply the means of transfer for wealth but not all wealth needs to nor can be represented by currency.

My definition was very naive, I realize it now. So cryptocurrency can not call itself currency, correct?

People can trade crypto and NFT all they want, or they can exchange crypto or NFT's for pizza or the other way around. However, calling it a currency and making it convertible to fiat money creates an illusion that crypto is another currency just a bit too volatile (and a lot of people believe that it will pass as cryptos will eventually stabilize, which is likely wrong).

I think we should just stop calling it currency and thus put an end to a lot of confusion and unhealthy speculation.
Just when you think it can't get any more ridiculous, somebody pays for literal shit. Guess back in the day someone really needed to "spend some hard earned money on some shit and get a receipt for it" ehh...
T-Mobile used or uses UK MoD space also for NAT.
I think in this case they simply mean it's the highest number of defendents who have succeeded in having their convictions overturned.
I know of a 10 room mansion in Tuscany, Italy that could house a group of future of coding researchers for a year, starting in September. It would work out to €500/month for room and board.

But would anyone be up for it?
Will be even worse when the black-box in question is a deep neural network that can't show its workings out
Never underestimate the lack of technical knowledge of judge, jury, Senate or Congress (I'm American, I can't speak to the British system - but it seems similar).
Yes, this is what I was referring to. The Three Pashas were all military men who very much influenced the Turkish independence movement and modern Turkey itself.

The genocide wasn't just limited to the World War though. A lot of significant damage happened between 1919-1923, when the Turkish were fighting for independence. And by 1918, Ataturk was already a general in the Ottoman Army.
Your algorithm is for creating programs or adding new features. Not reslly for debugging already broken stuff.

I would agree that hoing from less to more complexity is a great heuristic for making those guesses on what to check.
“While nearly all such publi- cations detail their system’s impressive scalability, few directly evaluate their absolute performance against reasonable benchmarks. To what degree are these systems truly improving performance, as opposed to parallelizing overheads that they themselves introduce?”

That’s one of the things that stuck with me after haven taken a class in high performance computing. What matters is the absolute performance, less the speed up one achieves by parallelisation.
It doesn’t work that way though, Turkey took over debts of Ottoman Empire for a reason, this is the same.
Lex Arcana – An Empire Without End RPG
Agreed. I'm glad that people and companies are trying different solutions for our energy challenges, but I see so many examples where the basic physics make these solutions impossible to scale, that it seems like these are primarily just schemes to suck government money.

Gravity solutions like these will never be feasible, because as you point out, gravity is just plain too weak of a force. I mean, it looks like pumped hydro will be viable, but when you think of the sheer mass of water that can be pumped behind the Hoover damn you realize stacking a bunch of bricks is ridiculous in comparison.

There was another recent article on HN about a giant tidal generator, and I was glad to see the top comment pointing out that basically over 50 years all these tidal projects have been failures (at least when it comes to ever being able to provide decent power in a fashion that shows it can scale).

It's time we start calling out these schemes for what they are, because they take funding away from solutions that we now we'll need now to fight climate change.
It's a tradeoff. If you have an explicit finite state machine in which your model can only ever be in one state, then obviously an enum has its benefits.

In order to avoid impossible states, I'll rely on something like hooks or triggers to make sure that setting one value also updates all dependent values.

In other words, setting processed to true will trigger something which always sets in_progress and pending to false.

It's not at all uncommon that I will have chosen an enum for a situation in which I thought I was dealing with a finite state machine, only to unearth new domain contingencies that made me realize that I actually need a more nuanced and flexible model. This is why I prefer booleans, particularly the computed/derived booleans when possible (as I mentioned in my original comment). I'd rather have a model capable of capturing the actual complexity of the state than trying to force a finite state machine that might result in a loss of information, even if that means that I'm forced to rely on declarative hooks/triggers to ensure data integrity.
World leaders start discussing their childhood pets in person, in order to have good online authentication questions. And inadvertently create a new era of world peace through better understanding and appreciating one another.
Apple has no need to complicate its CPU line like that because it doesn't sell CPUs. It sells the whole banana.
I think it is a currency as long as there's single authority that regulates the amount of dollars in circulation.
What Facebook and Gutenberg have in common is that money controls the flow of information. But that's where the comparison ends.

If Gutenberg had built his printing press to only print information that would fit within one's existing preferences, then it would have been a lot like Facebook. But the reason we know about Gutenberg is because it did the opposite.
Yeah, but taxation stops at the national border level.
Firefox 3D View
On the Mac, you can switch desktops even while YouTube is full screen. In that case, YT just shows up as an additional desktop in the switcher. I wonder if this YT "feature" would react against doing that.

It doesn't if you have dual monitors and are typing on the other, which I do rather often.

I'm not particularly inclined to reconfigure to see if that's still the case when switching desktops on a single-monitor setup, since OSX mangles the desktop layouts if you unplug a monitor and reboot.
I personally wouldn't trust a SharkBite fitting for a permanent repair. I guess they are code approved though, and they are great (if expensive) for quick fixes.
Most of the osses arw pretty non adaptive, I really wouldn't count on it, unless you are willing to do quite a bit of work
If you've chased heap corruption printf doesn't really help you much but a data breakpoint is a godsend.

Same thing with watch windows, memory views and the like. There are classes of problems that do well with printf but calling them "no-code" is vastly underselling them.
I applaud your globalist approach, but nobody's really applying it. When push comes to shove, we're barely able to stand in solidarity at a national level.
"Bad software" is only part of the story.

From what has been reported in the media, the Post Office and the contractor knew that the software had issues but chose to cover it up and to go after innocent individuals instead. In some instances people were also made to sign settlements preventing them from criticising the software.

This is why this is such a big scandal in the UK. The software was buggy but people lied and sent innocent people to jail to cover it up.
why is that sensible?
> You're talking about data integrity, this is not the same as redundancy.

To be clear, you're talking about mitigating the risk of data corruption (eg. bits will flip randomly due to cosmic rays or what have you) over time, vs. the risk of outright data loss, yes?

Isn't there some some overlap between the solutions?
Natural Language Processing Library for Lua
Should Google give the Mail a pass for having a shit website because their content is controversial?
If you liked this, the article reminded me of a paper I read, "Chalk: Materials and concepts in mathematical research", by M.J. Barany and D. MacKenzie. It talks about various practices in math research.
Lomi: Turn Waste to Compost with a Single Button
Yeah, I have a copy.
I think this paper just shows that Amdhal's Law[1] is just as relevant when discussing distributed systems as it is when talking about multi-core single machines.

1. https://en.wikipedia.org/wiki/Amdahl%27s_law
I honestly don't care if it's cheaper. I just don't want to keep running gas and coal plants, and continuing to let the planet warm up. The cost when we've burned this planet up will be much higher.

We have a solution to end coal, oil and gas fired power plants, and end a tremendous amount of pollution. But it's somewhat more expensive to run a nuke plant... Is money the only thing we are looking at here?

We keep fiddling around with solar and wind, and while it's great, we're still running goddamn fossil-fuel based plants for a huge percentage of our power. If solar and wind are cheaper, and price is what dictates this market, then we should have much more transitioned away by now. Solar and wind will get better and better, but we need to dump all this carbon-based power right now. We should be building nukes right now to replace the fossil-fuel based plants and then phase them out once wind and solar, and other, better tech gets developed.

We have a huge problem solved right now. It's nothing but politics and bullshit getting in the way.
It's one of those things that is acquired with experience and from more and more peers one has had. I think I've learned a bit from all my peers, almost everyone had something interesting or an interesting way to tackle a problem. Once a lot of time is spent in the industry one starts seeing patterns as a new cycle starts.

As far as teaching debugging, it is one thing to show some examples and another one is to run into a bug yourself and get from having no idea how to debug to actually fixing it. That whole experience is hard to replicate in unnatural ways.. When I was in school they told me not to worry too much about debugging and that I'd run into issues in the real world and figure out ways to debug depending on the system and that turned out to be quite correct.
I didn't say whether they knew what it's like to be homeless, but no, living outside is not the defining feature. I said that even people who complain that the government is making it too attractive don't follow through to do it by choice, because they're wrong and they don't believe their own arguments.
Correct, it is basic data model design in that it is only for handling basic data models. When you are dealing with complicated data models with many contingencies, you aren't always able to have a data model incapable of representing invalid states. Sometimes it's necessary to rely on application logic/stored procedures/index constraints, etc, in order to enforce valid state.
Is that common or an exception, particularly in cities where the jobs are?

And does that change the point I was making, that zoning is a bigger impediment to more/cheaper housing than codes? It isn't safety codes that says I can't put six locked insulated sheds in my back yard for six homeless people to sleep in and a port potty, it's zoning, right?
Wow, what a great video, very cool how they combined the original photos, mission audio and 3D models of the lunar surface. Thanks for the link!
I agree with the grandparent. Externalities should be born by the company making the profits.

Example: imagine an oil company that can pump toxic fluids into the ground in order to cheaply extract lots of oil. Those toxic fluids render miles of ground as wasteland far into the future. The owners of the company should not be allowed to take the profits now, then allow the company to go bankrupt so they don't have to pay back and repair the damage they did.

The limited liability company should be eliminated as it encourages terrible behaviors.
Alibaba for example use DoD address ranges for their management servers running Alicloud services. They assumed since nothing in their cloud platform would connect to those addresses they can use these them to alleviate IPv4 shortage. In Alicloud, the customer have the right to use any RFC1918 addresses, so they had to be creative since they didn’t have sufficient IPv4 addresses.
Does anybody know of good introductory resources on error recovery techniques when writing a parser & interpreter? Bonus points if they use combinators instead of a hand-written parser.
Given the sheer number of things I've seen Dan space out, I strongly suspect you're dead wrong about this one.

I don't know how many years ago this was, but he's been a man of independent means for longer ago than whenever this happened.

I think you intended this as a sharing of a cool moment you had with the recently deceased, but you thoroughly missed the mark.
As a software dev in one of the Ex soviet block countries, I’ve heard several tales of accounting software projects being canceled because they would reveal inconvenient truths.

A good friend of mine once worked for a small software shop that was building some accounting software for power plants. When the project was almost done, the mafia guys in charge were reviewing it. The realized that if it was actually used, it would be waaay to revealing. The project got canceled immediately. With a clause to “stay quiet or else”...

And a couple of years back the government was trying to “crack down” on the gray economy. They released an app, that you could scan a receipt (from grocery shops, restaurants, everywhere really) and verify that the establishment has indeed paid its tax and has registered the transaction with the tax office.

However people “in the know” got access to a special api. When the verification is taking place there is actually a web hook being sent, which you can register for. And pay your tax “on demand” only when someone actually wants to verify it.

As far as I am aware this system is still in place today... Though its too esoteric to explain to the public so nobody really cares it seams. The public is like “sure government is crooked, like what else is new” :(
The original article:
https://www.theverge.com/2021/4/21/22385859/apple-app-store-...
> without much rational sense just to beat the other side

Assumes that just beating the other side was not a sufficient rational motive. Which, given that the threat both sides faced was "you and your way of life will be utterly obliterated", is a pretty irrational criticism.

What's the point of <X>, if <something we only learned by doing X>? There's tremendous hindsight bias in criticising even the Shuttle program on the basis of what we know now, while disregarding the value of everything we learned from doing it.

Even copying another country's technology on the basis of speculative military applications may not be irrational, unless you're somehow privy to all the knowledge that was available at the time when those decisions were made.

The remarkable MAD doctrine itself can be criticised as inhumane or insane, but hardly irrational. It's a triumph of rationality and a counter-intuitive application of game theory, the iron laws of mathematics elevated to places where we really would rather see common sense and humanity prevail.
>PowerQuery doesn’t really support things like subtotals easily,

Subtotals? I was used to using GROUPING SETS with Oracle SQL, and found I could roll my own in Power Query. It's a good example of exactly why I like it.

Also, Power Query doesn't prevent you from using the regular table total feature or a pivot table based off of the Power Query output.

That is, even if Power Query doesn't provide all the subtotaling features you'd like in the way you'd like, it doesn't restrict you from anything, does it?

> or doing scratch-calculations, or building quick financial models

I do use it to do all sorts of ad hoc calculations - for instance, it can ingest PDF files or HTML with tables.

It sounds as if you're saying it's too complicated for really trivial calculations?
Hello Charlie, I'm a huge fan!
(Yes, I know are not the real Charles)

Could you recommend me other good subreddits for a graham / fisher / warren / charlie style of valuing securities and investment?
> The accelerated terrestrial water storage decline resulting from glacial ice melting is thus the main driver of the rapid polar drift toward the east after the 1990s. This new finding indicates that a close relationship existed between polar motion and climate change in the past.

I remain unconvinced.
Good thing that Android allows side-loading apps
Debuggers are next to useless when dealing with today's distributed systems, all operating asynchronously in parallel. For the kind of bugs (race conditions, corner cases) that aren't easily caught by compilers, linters, unit tests or code review (in other words, the "Heisenbugs" that can stop a release in its tracks), aggressive logging is the only tool I've ever seen that is useful in-the-wild.

I would put forward that proficiency with this style of debugging (closely related to useful performance profiling) is a major factor separating mediocre programmers from the quasi-mythical 10X rockstars.
In one word, search. You can search the output over time.
Thank you. I was not aware of this.