skysight-inc/HackerNews huggingface dataset:
For my server work, I almost exclusively use print(). That’s mainly because I don’t spend much time there, and it’s not worth it for me to spend the time setting up xdebug, or whatever. It’s worked fine. I’ve written some pretty huge systems, that way.

For my client (native Apple) work, I use breakpoints all the time, but they are not always that useful; especially when working in a threaded/time-critical environment. I often add print() statements, to display aggregate and calculation results. Swift has a fairly nice reflection system, that can be used to rabbithole a lot of information.

When running in debug mode, my console spews out all kinds of stuff. It can be a firehose, so it works best, coupled with breakpoints.

Been debugging for over 35 years. I’ve learned use whatever tools are available, but my most useful tool is in my noggin.

Those of us "of a certain age," that have done firmware development, may remember ICEs (In-Circuit Emulators). These would probably be impossible to do, these days, but they were about the best debugging tool you could ever hope to have.
Now THAT'S whipping the llama's ass.
I’ve moved on to another service once I realised that there was no way to remove JRE Podcast from my homepage, despite the fact I hadn’t listened it in months.
You could try SoulSeek, it's the best resource for music nowadays.
I also wondered why the author set it up to echo the existing comments, instead of for example building a bot that asks people for evidence supporting their claims, or tells people they appreciate them, or whatever else one could possibly think of for a bot to do.
I quite like YouTube Music's UI. The suggestions to relisten to songs I've listened to, the autosuggest continue on the same type of music works really well and has helped me discover many new bands i now like.

The search manages to show the album art, title, artist and type ( song or album, and it's grouped by song, album, artist).

And of course there's the added bonus that it comes with a YouTube Premium subscription, so i get good music UI + no YouTube ads + YouTube mobile app downloads.
The problem I see is that the "attention economy"'s end goal is still to be a marketing platform for real, paid products. It won't work in a world where there are no products and everything is an advertising platform - people won't be paying for the "privilege" of seeing ads.

The market has been distorted by VCs and investors who are willing to throw shit tons of money towards anything that "grows" and generates engagement. This pulled the ground out of the model of making products that people pay for - you would make money money (off investors) if you just give away your product than if you make people pay for it. That's how we ended up in the current situation, and there are tons of vested interests (people's entire careers are built on this) in perpetuating the problem even if the system can't ever be sustainable.

The music has to stop at some point though when everything is saturated by advertising. That appears to be now given the current, massive downturn. Investor money is no longer free or easy to come by, so the pendulum will have to swing back to making products funded by its end-customers.
Competing heads-on with Google makes no sense; They already nailed the product on desktop and they are decades ahead in R&D.

At most you can attack it from a niche like voice-activated search, video search, Smart TV searches or car-searches.

The real opportunity to disrupt them was mobile search but they also saw that and went aggressively after it. The next big mainstream opportunity probably is when brain-to-computer links such as neuralink become functional.
Wait, what java runtime has to do with spotify?
> beer will have a pint label on it and we can sell things to the USA in the measures the USA uses

You are likely unaware of it, but the pints and gallons used by the US are entirely different from the pints in Blighty. One of the reason why using customary measures has been discontinued by anyone smart.
The plan is we suck it up because there's absolutely nothing we can do about it. Why? Because China is a nuclear power. And unlike Russia, we are absolutely dependent on Chinese exports to a degree it would cripple us completely to place sweeping sanctions on China.

Yes we have a law saying we will defend Taiwan. No we actually won't. Because we can't.

It is worth noting that it isn't that easy to invade Taiwan. At its closest point, 21 miles separates England from France. On a clear day you can see the white cliffs of Dover from France. Yet that 21 mile gap has meant that the last time England was successfully invaded was almost 1000 years ago (in 1066 to be precise). For almost 5 years the Germans had uncontested control of Western Europe and there was absolutely nothing they could do about it.

From the other side, the D-Day invasion took 2+ years of planning and massive resources to cross the English Channel with sufficient force not to get immediately wiped out.

Chinca could probably do it but the cost would be incredibly high. Airlifting would take a lot and be vulnerable to air defenses. Sea is a much more practical option but vulnerable to many defenses too.
You can try emulators of some physical calculators on the phone. Most of the calculators they are emulating are quite polished to allow you do the kind of advanced math easily.
My personal choice: HP Prime. Emu48 also works nicely.
Perhaps it refers to penetrating into the inland of the victim's territory by way of a vik.
But if podcast art and beautiful-looking UIs aren't the most important things, then what will we do with all the UX people?
Looks neat. Do they have SDK to build desktop players? (Excluding wrapping the web SDK around Electron)
Tankwars.io. Steep curve for newbs but in a full room of players is awesome
Not trying to be a contrarian but I honestly like the first image best. I like the "pillow shading". It's bright and fun.
There's only been a few times in my 15+ year career that the debugger would have gotten me to an answer faster than printing. I tried it, and got good enough at it to understand what it does for me, and I didn't prefer it.

I really dislike these articles that look down on people for doing things their own way when that way isn't actually wrong. There's a lot going on when programming, and there's very rarely a decidedly wrong answer.
I can see regular people struggling with Netflix when I'm at some elses home. I don't have a huge sample size though.

For me is that I just refuse to pay because I know they can just do a regular interface but they want to trick you into some stuff with their UI.

I just don't feel in the mood of paying for being treated as laboratory mice.
> the Microsoft product is likely more secure

This is nonsense, because it patently is security theater. Earlier I was addressing the fact that to look good to a judge or lawyer, you need to do things that are dumb but very strict. That has nothing to do with reality and we shouldn't start pretending it does: The OSS is likely better in every way than what you'll buy (even if it's just because it does the same thing but is much cheaper).

> telemetry that [...] can be inspected

The telemetry cannot be meaningfully inspected, because it may change at any time. You know what it has sent just now, not what it'll send 5 minutes from now.

> telemetry that [...] can be turned off

You cannot know that it was turned off. Historically, MS doesn't respect your choice to turn it off once and will just turn it back on later for whatever reason. Aside from that, you cannot inspect the binary in a meaningful way so you don't know what it will do 5 minutes from now.
HarmonyOS Sans
Yes, I have had this discussion with Google staff. Their opinion is that "thisisunsafe" is not really a bypass even though that's obviously exactly what it is and exactly how it is used.

Historically there have been several phrases used, with changes once every few years, and the weak argument is that people who go to the bother of learning each new phrase, plus the fact the phrase tells you it's a bad idea (one of them literally) would bypass this anyway, but well... would they?

Human psychology doesn't work that way. People get into the habit of typing whatever the magic phrase is and then they're astonished that it was a bad idea even though it just said so. You can't build effective security systems on such foundations.
And with a single giant ear on their back. Don’t forget the giant ear.

(Weirdly, just saw a breathless article talking about how 3D bioprinting obviates the use of rib cartilage that the human-ear-on-a-mouse 25 years ago was also supposed to end).
Seeing as there are so many tools and no one is using them, it makes me think that they are just too hard to maintain separately from the system itself. Keeping a readme up to date is hard enough.

A good tool needs to be automatically generated from code which makes me think it needs to be integrated in a framework. Or the code needs to be written in a way that is easily visualizable in the first place.

Code comments seem to be the only way to add structure while ensuring the diagrams are kept up to date.

I think there is room for future frameworks that are built with visualization and it’s necessary tooling as a first class priority. When have you ever seen a framework claim it is easy to visualize and understand? Existing software is too much of a mess.
I've been working on a chess engine as a side project. Often, using print statements is the best way to chase down certain bugs where using a debugger isn't particularly feasible.

E.g if there's some bug in my search function resulting in weak play, but it only shows up at higher search depths for some reason. The search function is recursive, and the number of nodes visited grows approximately with sqrt(b^d) in the best case with ideal pruning. b is the branching factor(in chess this is ~30) and d is the search depth. That's billions of stack frames to look at. The only way I've found of debugging these is through print statements and grep/awk. As well as programming it to generate some statistics that may or may not be helpful. I've yet to find much use from debuggers.
Neon: The serverless open source alternative to AWS Aurora Postgres
> Permission issues with bind mounts just totally disappear when you go rootless.

I have a problem with mounting a named foo in a container (at /foo) and bindfsing the underlying directory of that volume on ${HOME}/foo with create-for parameters so that when the host user touch files in it they are owned by host 1000:1000 but inside the container it's owned by 33:33.

Volume foo really contains only a unix socket. This unix socket is shared between the host and the container for xdebug communication.

So, this doesn't work, the container process can't write/read the socket even though it can manipulate other files in the mounted volumes /foo and they appear as owned by 1000:1000 on the host and vice versa.

But if I mount the volume directly like that: ${HOME}/foo:/foo then it works and the container can write to the socket and the host and the container can communicate both ways.

Would rootless podman allow me to use a named volume ? Why doesn't it work like I think it should, is it because the unix socket lives in the kernel 'or something' ? Maybe it's a question for SO.
The apple TV app on the mac is utterly horrendous. On my M1 macbook, it lags every time you queue something for download or delete an episode or try to view the details of an episode or series. It's so dumb that a first party app lags on their own line of hardware. Not to mention just how horrible the UX is. None of the clickable elements turn the cursor into a pointer and it takes just a little too long for the hover to trigger which makes it really irritating to use. The player is just as terrible. It automatically opens in full screen and is missing a lot of small quality of life features that other players have had for decades. Even as the cheapest subscription service I just cannot put up with how horrible it is
Honest question, since my days with OSX are far behind: why would I want to do this in Applescript if the only thing this does is start the python http server? In other words, what advantage does it offer over just directly running the command?
> A designer I know advocated that users should be coaxed into using shorter titles

My collection is 99% classical. The problem is especially bad for classical tracks. “Symphony No. 9 in D minor, Op…” What opus, what movement? what tempo marking? Yes I’ll go back and tell Beethoven to change the title to something shorter and catchier. “Joy, Bros!” Is that better?

It’s some kind hubris to think your UI (itself the result of design laziness) is a bigger priority than the integrity of the composer’s intent.
That feels like it's underselling it a bit, since gdb does not have reverse execution, which is a pretty major contribution by rr.
> And don't forget about the Bluetooth profiles on windows for A2DP (better sound quality, no mic) vs HSP/HFP (with mic but much worse quality).

This is a Bluetooth issue - affects all OSes including MacOS and Linux.

Even the famed AirPods have this issue - try playing Spotify in the middle of a Zoom/Meet call. You have to toggle mic off to use the higher quality profile.
Do what you want, of course, but no one is driving you there. You're freely walking towards a luxury good offered for nothing.
It's nice that they do it anyway, but I still don't appreciate it and I don't like it when they do it to more things. I'm not sure why "but they already do it!" should be an argument for liking it (or even tolerating it in novel circumstances). To me that sounds like stockholm syndrome.
And / or saving time and money because the artists need to draw less pixels by hand.
look, isnt the responsibility of preventing coffee maker from accessing your local data on the admin?

>So it's an unlikely threat model for most people, but it is real.

today, what kind of local network service can a person set up that people can intercept and snoop on? its not like i am talking about accessing payment gateways or anything, just local services. if there is something that "needs" security, dont you think the technically inclined would have it on that and leave the rest as is because its a bit more effort for what benefit?
It keeps mentioning that it shares a 90/10 ratio with creators but I'm not entirely sure who the creators are supposed to be.
Can we always blame people for their opinions?

Can we blame the mentally underdeveloped, like children?
That’s how I do it too. I think at some point I had to because of ServiceWorkers.
Good god "deep thinkers" extrapolating ridiculous meaning from art/literature is a huge pet peeve of mine. Not too long ago I heard an art curator pull statements out of thin air about the political atmosphere of the time(400yrs ago) based on the angle the picture was drawn from. Incredible what a waste of time an art degree is.
https://cvcompiler.com/
The article is drenched in ideology. It's explicit:

> The final development, the ‘ethnicisation’ of the word that allows the use of terms such as ‘Viking farms’, ‘Viking towns’ and ‘Viking women and children’, is much more recent and has gradually crept up since the Second World War. This is insidious; by linking military prowess and savagery to an entire ethnic group, it encourages its appropriation by racial supremacists.

The author is attempting to use linguistic pedantry to delegitimize an ethnicity he doesn't like for contemporary ideological reasons.
I think worrying about the impact in civilians who had no part in a crimes by their fellow countrymen but are being punished by the bluntness of a response is perfectly reasonable. In fact, I find the opposite (an utter lack of concern for it) to be unreasonable.

That’s true whether the blunt response is economic sanctions or widespread bombing.

Those actions might still be the best available response overall, but that conclusion should be reached after considering the effects on innocent civilians, not after ignoring them.
Their stated objective is to decrease Russian ability to project force, which they are doing.
That would be cool, but then some of those interfaces (probably the ones with the most ad funding) would be part-owned by one of the streaming services and would push their content the most. Feels like it'd be just one more hull on the Titanic.
If rationality was always used we wouldn't have had Putin making a gigantic, catastrophic geopolitical mistake. A little common sense goes an awful long way, but only if you choose to use it.

MSSQL is destroying its own market by its pricing (and the licensing thicket, jesus christ, I've been looking at them for 2 days now and... shudder)
> The bread is indistinguishable for the most part.

Sorry for the bluntness, but you lost me at this part. I lived in the US for a long time and traveled to Europe often. I could never get bread as good in US, even at the new fancy bakeries that keep popping up. The one-euro baguette (or tradition) from any random boulangerie is way better that any four-dollar baguette I found in the US. Is it the water, the flour, the technique? I think I've seen this question being asked, but not sure there is a good answer.

Anyway, I am now in France and not much has changed. Food (stuff that you find easily in a supermarket or corner shop) is still way better than similar stuff in US. And costwise, compared to the part of the US where we lived (northern NJ) almost everything is cheaper.
Old-school interactive debugging tools like gdb and Visual Studio are pretty bad. But new-school debuggers with record-and-replay and features built on top of that --- e.g. rr-project.org, undo.io, replay.io and (plug) pernos.co --- remove a lot of the downsides of "stop and step" debuggers and add a lot of extremely useful features on top.

E.g. in Pernosco you can capture most of the benefits of logging by querying for the executions of a particular line, filtering on a conditional expression, and rendering the values of chosen expressions at that line: https://pernos.co/about/expressions/
... except that you get those results without having to recompile or even rerun your program. And when you find the event you're looking for, you have instant access to the complete program state with the full power of the debugger. replay.io has something similar.
>while Russian soldiers are raping, murdering and looting left and right

It's disgusting that you translate blatant low-quality propaganda which clearly aims to amplify hatred. Even Zelensky had to fire Denisova who was behind the most outrageous lies about "raping". The Western media liked to re-translate her sexual fantasies, but have you heard any official refutations of those claims?

P.S.: I wonder why this comment was flagged. Is the Denisova's case became too toxic and ruins the demonization narrative?
$1B also seems at least 2x too high for Mittelstand, but I guess that's just inflation these days.
If money was what it took to be correct in medicine, Theranos would be a huge success.
Forgive me if I'm wrong but I suspect this comment is GPT3 generated. Regardless, it was hilariously absurd.
In Hong Kong, memories of China's Tiananmen Square massacre are being erased
Ancient Roman Historian Marcus Velleius Paterculus on Ukraine
The definitive triumph of force is a lesson no one can unlearn. Precedents do not stop where they begin, but – however narrow the path upon which they enter – they create for themselves a highway, wherein they may wander with the utmost latitude. No one thinks a course is base for himself, which has proven profitable for others.”
Google search gives me mostly shit results now.

I have now completely switched to Kagi and code.you.com.

I barely use Google now.
> Hard to find good bread in Germany and some of those northern countries have their interesting breads that are an acquired taste I have yet to acquire.

As others have said that's the most hilarious claim I've read in a long time. Unless you like "toast bread", i.e. white, sliced bread in plastic bags that typically taste like card board, Germany is probably the place with the widest variety of bread types and with the people who feel the most strongly about bread. Also if you search for high quality bread in any other country, you almost always find that the bakery is run by some German immigrant (my experience in NZ, OZ, Sweden).
Yes, it's iOS. There might be a gesture, but those have zero discoverability. Especially when you're left handed, then many of them feels wrong.

I never used Slack on iOS, it might be better than on the desktop. The desktop application doesn't use as many resources as the internet had led me to believe, so that's nice, but the interface as WAAAY too busy to be effective as a communications platform. I still miss HipChat, and while it has its own set of problem, I honestly think I prefer the train wreck that is Google Chat.
Judging from the documentation of custom stores, it would be trivial to integrate Redux

https://svelte.dev/tutorial/custom-stores

In fact, their API is so similar to Redux and RXJS that I think you might not even need to write any glue-code.

https://redux.js.org/api/store/#subscribelistener
https://rxjs.dev/guide/observable#subscribing-to-observables
Amazon's Kindle app is an even bigger offender in this category. It shows your library as a 4 x 4 grid of tiny cover thumbnail on your phone, so there is no hope whatsoever of reading a title.

So you click one, and what does it do? It downloads the whole book then drops you in at whatever page you last read, then hides the book title and author.

Unless you can recognize the cover photo (which changes to match the latest edition), there is really no way to know what you're going to get except to guess.
Ask HN: What are some resources to learn breaking down and prioritise problems?
I assume a lot will say Factorio, but aside of that if you have bumped into good articles or resources that can be applicable outside of software but in general as a meta skill - would really appreciate some pointers!
You can still find webpages that run an HTML version, but they're a bit scuffed. Better would be to use Flashpoint Infinity.
“Joe Rogan Experience”
> Using print is a sign tooling isn't up for the task. Not necessarily inexperience.

This. For application developers, if your users aren't taking advantage of features in your software, it's a sign the features either aren't actually better, or aren't intuitive enough to gain traction. It's a tell that you still have work to do.

I don't see why the same arguments wouldn't also apply to tools for developers like debuggers. Just because your userbase is more technically savvy doesn't mean you shouldn't care about ease of use.
For me regular YT is enough for discovering new stuff, and fan websites are even better.

I feel like i look like a neoludite but honestly, it's just better.
Maybe redundant, but how do you actually join? On their web site I do not see any partner etc. page, so how do they actually share that profit?
I have so many questions:
- how do they share profit? by number of visits? then how to avoid fake sites and those that copycat other ppl content?
...
Depends on how you'd define 'immortality' in your though experiment.

I'd actually disagree with you - under the premise, you'd be able to end your life as you will.

In that case, hell yes, I'm in for that. I'm in my mid 20s and the past years have been filled with burn-out, depression and literal still stand career-/ education- wise. I can now really grasp how short life actually is. It's so easy (I did it!) to actually waste a notable portion of your life span.We're talking more than half a decade. It gives me shivers. I have so many interests and I'm never bored. I can find interesting topics in any domain and if I could, I'd stay in university my whole life. So, to make this short, I'd be the ultimate dream of mine to not have to care about what to fill my life with. It steamrolls me and I get a lot of fear out of it. But not the fear that drives you, the fear that paralyzes.
Foobar2000 was hands down the best time for music in the pc era