skysight-inc/HackerNews huggingface dataset:
I posted an app idea for this a few months ago to the subreddit "Startup_Ideas" and reading over the text now, it's definitely not perfect yet:

https://www.reddit.com/r/Startup_Ideas/comments/wxokww/mobil...

But surely there is some "QR City" app that could help make these talks with new people, easier, more frequent, socially normalized, and gamified! I'm kind of shocked still in 2022 when trying to get someone's contact info we do that dance of speaking digits, typing them in and txt'ing or calling to transfer our number vs. a QR scan.

"Picture a world where strangers are not as scary. People are not as isolated and alone. Instead of asking for someone's phone number, you just hold open your IRL Present app. It has a distinctive branding border around the QR so people know what it is when someone puts their phone out with that showing. Even shy people can just open their app and show a QR without saying a word."
Ask HN: Any “scientific” approaches to teaching programming, but not for kids?
Anybody knows any good resources about "pedagogy" oriented to Programming/Engineering?

I've found a few resources, but they're all geared towards children.

My gut feeling tells me (and I think everybody agrees) that a good combination of theory (programming concepts and fundamentals), coupled with a lot of practice is the way to go (build your own projects, build your own games, build your own compiler, etc). But is there any research around it?

Thanks!

EDIT: the objective would be to maximize the student's efficiency in learning, reduce student attrition, and just provide a more engaging/delightful experience to students while ensuring the "creation" of well qualified engineers in the most efficient span of time.
It used its monopoly on user attention to keep the investor money pouring in.
I've been using c++20 in prod for a few years with concepts and coroutines and consteval from the things I have off my head, and things work fine in msvc/GCC/clang, what even are you talking about?
I'm not sure about your terminology, and I'm probably not about to do much better, but yes the first coupling must bear the load of the full train, how could it be otherwise? In fact it's worse that that, the first cross section of atoms in the first coupling must bear the full load, but some atoms are pretty good at that sort of thing.
Glad you did. This would’ve been super helpful when I was building glancy[0] and I would’ve gladly paid for a few months of access at a time.

[0] https://glancy.io
Nice. The embedded querying is neat.

I see the query language goes: `select ... from`

One thing I like about query languages that start with the "from" class is that then it's easier in REPLs to provide suggestions for what can be selected.

You type, say, `from people` and you can get a suggestion for `name`.
C99 also defines it:

>5.1.2.2.3 Program termination [...] reaching the } that terminates the main function returns a value of 0.
Why Is This Company Building a Music Based 3G Feature Phone in 2022?
This looks very nice!

However, I'm worried that a big part of these AI tools built around SD are being posted on GitHub, marketed as open source, accept contributions, but don't have any license.
>I spent most of my teens 20s and 30s being active against US imperialism.

This isn't an issue of your personal credence, it's an issue of the arguments used to justify our current course of action by the decision-makers and their enablers.

>and I for one am glad to see consequences enforced against Putin's regime. Similar limits should also exist for US actions.

The problem is that no one defines exactly what "consequences" are and where the lines are. These discussions never go well so let's just skip to the end: is it your opinion that the U.S. should ensure Russia fully retreats from Ukraine, up to and including a nuclear exchange?

(when the reply button isn't active you can click on the comment's timestamp and reply there)
They can be used to start an exploit chain on a phone. I’ve seen 0-days personally that root a phone by triggering a drive by download. The other issue is they are unauditable. You have to almost go to the link to discover what is there. This is a problem, for example, when shell code can own the camera itself.
In the above example, that's where Docker networking would come in (load balancing, health checks, transparent encryption of traffic) for many of those concerns.

Not all of them, unless you'd want to run a web server sidecar for your apps, which would be very much like a slightly simplified implementation of a service mesh anyways!

Then again, in my eyes the "sweet spot" of simple architecture is something like: [users] <==> [ingress] <==> [service] <==> [database/message queue/key-value store] with maybe some middleware. If you have a lot of traffic between the internal services, then maybe your architecture mandates a more fully fledged solution.
Yeah you can’t really turn this quote around like that because it drastically changes the meaning. Well-behaved means with respect to an establishment and not accepting one’s place as imposed by it. Being a dick makes you not well-behaved in the way you would describe a toddler.
Health. And it's increasingly harder and harder.
But if they use that additional quota, doesn't that break compatibility with older devices?
Different suppliers? Igor is EU and Gamers Nexus is American so perhaps different adapters for different regions?
Twitter doesn't depend nearly as much on NSFW content as Tumblr did. The majority of people use twitter and never or rarely come across NSFW content.
Today this will be an app, probably much better in many aspects. But some magic is lost by not being an specific object designed for a single purpose.
Very little character development. In great literature characters are changed by their circumstances.

TBH I do think his books are classics, but your high school English teacher would disagree.
It's a shame because the product really is excellent and engineers in general are particularly allergic to such scammy hard-sell sales tactics
Show HN: Big tech stories in quick bites
Anecdotally, I've never heard of anyone having a problem getting the charges refunded on a card that's been used fraudulently, regardless of the state of the law. If people were actually losing a lot of money to this type of fraud, I am sure the culture would change, but right now it doesn't seem to be a major problem.
> The agnostic ruling class (including the Guild) for whom religion was a kind of puppet show to amuse the populace and keep it docile, and who believed essentially that all phenomena - even religious phenomena - could be reduced to mechanical explanations.

Sound a bit like Gibbon on Roman religion:

"The policy of the emperors and the senate, as far as it concerned religion, was happily seconded by the reflections of the enlightened, and by the habits of the superstitious, part of their subjects. The various modes of worship, which prevailed in the Roman world, were all considered by the people, as equally true; by the philosophers, as equally false; and by the magistrate, as equally useful. And thus toleration produced not only mutual indulgence, but even religious concord."
Big difference between consistency* and rhythm. Teams should play jazz with other teams.

* “A foolish consistency is the hobgoblin of little minds, adored by little statesmen..." — Emerson
> There are plenty of "bred to be violent" dogs that will go their entire lives without doing so.

Most dogs spend almost their entire lives docile. Those bread to be violent are ones that have high odds of a moment or two of uncontrollable violence.

(And if you look, it's almost always because they have a chihuahua or pinscher ancestor.)
Stable Diffusion Multiplayer
Yes, it has been a while since i've been in her car.. i think you actually need to put it in park to "unlock" it, not just be stopped.

This is why I said the system is very stupid.. one would think that a passenger can access the navigation system given they are not driving.

The lesson I took away from this is: Never buy a car with a built-in GPS system.

Android auto/carplay are a much better - They are not likely to hold your car "ransom" for map updates or such, and don't have stupid rules like must be in park.
>and then somehow proves it

lol, somehow so true.

I remember helping an older relative. They said they needed my help ASAP because Dish network was coming because they deleted their account. Couldn't get any details. Eventually saw they simply deleted an email about their bill.

Only sorta related but I wonder why it seems so hard for some to adjust while others do just fine. It seems like it would make sense that "email is just like real mail, its just on a screen." Maybe the "infinite options" scare them a bit?
I've seen a few projects across different organizations where an old dev was bad at copying and pasting code and ignored DRY principles. The projects had almost no refactoring, and the primary goal of a new dev was cleaning up the redundancy to better map things out for better organization of the codebase.
Where’s my drone mobile streetlamp + surveillance livestream cam + flechette platform?

ETA: Ah, already here, just not widely distributed.

https://www.directline.com/fleetlights
Self rule is never "given" it is taken. If it was European powers that had bestowed them independence I dare say it would not be independence at all.

And look at Saudi Arabia today: they are standing up to Biden. Things worked out for them quite well.
Not every country in the world has the same problems as the US.
> "GP's answer is essentially "sure, but what stops me from not doing that instead?":"

Nothing of course -- and this is always true, every second of every day.

> "I have to say, I agree. Why stay around for the circus when you can leave and make an honest living as a respected professional instead of playing post-acquisition hunger games as a pawn in a rich boy's ego trip gone awry? "

If you see it that way then it seems in everyone's best interest that you leave the company, which means the system worked exactly as intended.

As to the question of whether this makes sense, it would seem we all agree that it does, then.
> "I argue that the boost to corporate profits from lower interest and tax expenses is unlikely to continue, indicating notably lower profit growth, and thus stock returns, in the future."

Given the author's CV this argument feels at least 10 years too late.

https://www.federalreserve.gov/econres/michael-smolyansky.ht...

That is, aren't the organizations (e.g., The Fed) accountable for considering the impact of their decisions, as well as the broader context? That is, aren't they responsible for anticipating?

This sounds like too little too late. More CYA than sincere insights. And while from early Sept, appropriately timed for early November impact.
By using them!

I'm not worried about availability beyond being able to personally use them.

I do have a couple of statping instances but it's not that useful
Apologies, I wasn't drawing enough of a distinction between lobbying, legalized campaign contributions by corporations, and other forms of influence peddling.
Curious about this as well. I could understand being a little peeved as a shareholder if this is purely coming out of Tesla's pockets, but I realize a lot of people have bought into Tesla and think of Elon Musk's distractions as part of the bad that comes with the good.
There are a class of women who have made their politics their image and men want no part in it. Their dating is usually reserved for people of their percieved ingroup, of which men can constitute a vanishingly small part. Unwilling to date outside that group is the biggest issue, with their ingroup signalling to other groups being a secondary hurdle. Hence the recent rise of neo-trad signalling by otherwise non traditional persons (for dating). Its not a new problem, but its current incarnation sure looks weird.
Actually some of hitlers suicide orders went through. Germany relief on plundering Europe until the late stages of war. Then they converted all fertilizer fabrication to ammonition. Even if Germany had won 1945,they would have starved, because actually there were no measures taken for life to continue. Still got better of then the rest of Europe they laid to waste for insanity.
Marketing spam is a fact of life. Just unsubscribe, delete, and/or ignore because nothing is going to change. There are entire industries (CRM, Marketing Automation, commercial data brokers, etc.) built on this.
Would love to see some of the things you've drawn using this tool!
I’ve been doing this for a couple years as directed by Fluent Forever[1] (highly recommended if this article vibes with you), and the results have been really good to say the least.

Some great additional content here, I wouldn’t have thought of the stable diffusion trick— very clever!

[1] https://www.amazon.com/Fluent-Forever-Learn-Language-Forget/...
Fifteen years ago we were using flot to plot data updated in real time. It seems strange to me if the newer frameworks wouldn't be able to handle that on newer hardware. Are svg/css just less performant than canvas?
It's not. But at the margin it is. If you already have a touch screen display then adding a button costs next to nothing on a per car basis.

And there are a ton of solenoids in cars so they can probably reuse one and save the cost of the manual latch.

Not to mention the Apple-esque design ideals that eradicated headphone jacks. You now have a cleaner looking passenger side of the dashboard.

None for me, thanks.
This is an obvious ad to sell a book, but I wish more publishers would let you read one of the chapters without buying it first. Stroustrup has a lot of books and I have read some of them so he is a known entity, but I see ads like this all the time from authors I know nothing about. The preface and table of contents are good information, but they don't give you a good sense of the author's writing style.
The boxes may be green but just two weeks ago I had to report two msvc bugs, one against if constexpr and one against requires-expression, which breaks very simple language examples. In practice it's much buggier than GCC (second least buggier) and Clang (by far the least buggy, I think I only ever reported a couple of core bugs to clang versus maybe 30+ for MSVC even though Clang is my main compiler and I use MSVC only for testing)
Could the ADA itself be the cause of at least some of this hesitation by some doctors to want to deal with disabled patients?

With a disabled patient, there's a larger chance that something about your medical practice (the parking lot, the hallway, the stairs and ramps, the chairs in the waiting room, the equipment in your office, etc) aren't going to satisfy somebody and you're faced with a dumb legal headache even though you might have been genuinely trying to satisfy everybody and would be willing to provide reasonable accommodation.
On the flipside, that seems enormously generous to smaller organizations, who could use 1 license, with the ability to dynamically reallocate in hit-by-bus scenarios. And affords them maximum organizational flexibility vs locking into a per-machine / per-login model.

Would be nice to see more companies offer licensing like this on the lower-end.

"Does what it says on the tin" + "Pay us some amount of money roughly corresponding to your usage" = "Make it easy for a user to pay you money for your product"
Likely the article is referring to the picture superiority effect: https://en.m.wikipedia.org/wiki/Picture_superiority_effect
> What about form follows function?

Often designers privilege form over function.

Examples: lots of silly architecture, and the fact that my kitchen countertops are tiled.
Not easy but possible: you export a copy of the issue thread content (via the issues API, which I have a bunch of experience with). Then you host those copies as flat HTML somewhere, such that anyone who needs to find issue 56 can hit some-url/56.html

Then you could either rewrite the commit history to add links to this new location to each commit, or I'm investigating using the "git notes" mechanism to add those updated issue links to existing commits without needing to rewrite commit messages (and hence rewrite the hashes).
Downvoters and negative comments here completely misunderstand this comment. It does not defend Russia at all. It is just raising the interesting question of why the US is openly showing operations that are usually kept secret until long after a war.
Are different character sets allowed in urls? Because that too sounds like a massive mistake inviting these sort of scams. Sorry, but stick to ascii.
I'll bite. Neither. Both. Depending on system.

When the "state" is large, or changes often, obviously you can't send full state every time - that would be too much for end-nodes to process on every event. Both cpu - deserialization, and bandwidth. Delta is the answer.

Delta though is hard, since there always is an inherent race between getting the first full snapshot, and subscribing to updates.

On the other hand doing delta is hard. Therefore, for simple small updated not-often things, fat events carrying all state might be okay.

There is a linear tradeoff on the "data delivery" component:

- worse latency saves cpu and bandwidth (think: batching updates)

- better latency burns more cpu and bandwidth

Finally, the receiver system always requires some domain specific API. In some cases passing delta to application is fine, in some cases passing a full object is better. For example, sometimes you can save a re-draw by just updating some value, in other cases the receiver will need to redraw everything so changing the full object is totally fine.

I would like to see a pub/sub messaging system that solves these issues. That you can "publish" and object, select latency goal, and "subscribe" to the event on the receiver and allow the system to choose the correct delivery method. For example, the system might choose pull vs push, or appropriate delta algorithm. As a programmer, I really just want to get access to the "synchronized" object on multiple systems.
That's the framework Russia, and OC, chose: outrage that NATO was helping Ukraine.

If you want to use microeconomics, sure, go for it but… NATO, Ukraine and Allies vs. Russia on a pure realpolitik plan doesn’t seem to lead to better outcomes for any Russian decision maker.
Works better when the hanging '/' is removed.

https://www.edutopia.org/textbook-publishing-controversy
Right, by this point English is more or less the language we have today (the idioms are sometimes unfamiliar but we understand what's basically going on in Shakespeare's plays, which were written at about the turn of the century) and the Enlightenment is well under way.

It's not obvious to me that there could not have been link boys in say, 15th century London, which really was still a medieval period - they just need a torch or maybe even a candle - but I didn't find records of such a thing. It's possible that wealthy people in 15th century London just would not venture out alone at night in numbers to justify this trade.
Russia invaded Ukraine 2 times and committed hundreds of war crimes. They already murdered thousands of people and are murdering more as we speak. There's no reason not to "brag" about stopping them, just like nobody was hiding their participation in stopping Hitler or Mussolini.

I know you're either a paid russian troll or idiot brainwashed by their propaganda, so I don't expect to change your mind, but on the off chance you can be reasoned with - don't you see how self-contradictory russian propaganda is about this whole war?

At first it was about saving Ukrainians (who are "really Russians") from the nazi junta supposedly preventing them from joining the big brother. And Ukrainians were supposed to welcome russian army with flowers. After these supposedly ruled-against-their-will Ukrainians defend for 8 months against Russia - somehow it's still true they are ruled by nazi junta AND Russia needs to destroy their civilian infrastructure to force them to surrender AND it's really NATO army fighting Russia and Ukrainians have nothing to say in that matter.

How can all 3 of these things be true at once? If it's nazi junta then Ukrainians wouldn't be defending for so long, and destroying civilian infrastructure would just be a pointless war crime (dictator won't surrender cause some poor guy has no energy). Same if it's a NATO army fighting there against Ukraine's will. So why are Russians supporting the destruction of civilian infrastructure? The answer is obvious - nobody really believes that bullshit in Russia. Russians just want their empire back and Ukraine is in the way.

The funniest thing is - some idiots in the west actually buy this all this bullshit.
This could benefit from a Runpod template. Anything that makes access to high powered GPU’s easier is a win.
I've seen the other responses already contain ready solutions, however in general, if you're in need of custom/non-standard graphs, then D3.js is a great library for constructing them, providing many common building blocks and a declarative API.
Exposure therapy.

It’s a tool to treat general anxiety disorders too.

You become gradually desensitized to what used to give you anxiety by deliberately putting yourself in anxiety causing situations.
Russia tries to impose switch to Linux from Windows
I've been using Chartist for the last couple of years for line charts. The ability to style with CSS has been a useful benefit. For example, I have dark/light mode just by setting a class on the body element of the page and this flows throughout the site including the graphs with no extra effort.
Let’s see which one of us gets there first!
Several commenters have pointed out these defects in the regexes reported in the article, and you’ve replied by telling us that, in addition to all its other faults, it misrepresents the code it’s supposedly describing; in my case going as far as to tell me that I’m wrong. This whole thing is wasting the time of anyone who makes the mistake of thinking it might be interesting.
Author here; yes, the sole focus here is on the ISA-relevant parts. Obviously disk formats are out of scope.

It's correct that IBM originally used custom IBM disk drives with 520-byte sectors. I believe 528 byte sectors were also seen where both tags and parity (for some RAID-like technology, I don't recall the details) were desired. On devices with a 4096 byte sector size, this leads to equivalent sector sizes of 4160 or 4224 bytes respectively.

Nowadays you can also run IBM i on virtualised disks provided by IBM's Virtual I/O System (VIOS) under PowerVM. VIOS is AIUI basically a customised AIX install which runs as a VM under PowerVM and provides I/O functionality similar to that provided by a Xen dom0. In this case things are virtualised on top of normal hard drives with 512 byte sectors, so it's possible for these weird sector sizes to be emulated nowadays.

I believe you can still pass a hard drive directly to an IBM i VM, though, and that IBM still offers hard drives with these special sector sizes for this purpose. Of course IBM doesn't make drives nowadays, so these are obviously an IBM rebrand of some other manufacturer's hard drives.

What's really interesting though is that if you read the manuals for modern hard drives (yes, hard drives have manuals, who knew?), many of them advertise a selectable sector size, where you can reformat the drive to a new sector size. For example, see this manual, which says you can select a sector size of 512, 520, or 528 bytes (or 4096, 4160 or 4224 bytes): https://www.seagate.com/www-content/product-content/enterpri...

So theoretically most modern hard drives can be reformatted to support IBM i. I believe this functionality is also maintained to support modern hardware RAID systems, though.
Tell HN: Building a universal electron app for Mac is a complete nightmare
Everytime I have to release a new version of my electron app, I spend more time fixing the release process than working on the app. It's alway some thing else broken.