skysight-inc/HackerNews huggingface dataset:
That's exactly when a GOOD debugger becomes useful, if you can get an hint at what's wrong you can often (if needed and the fault wasn't caught by the debugger) put in a good conditional expression for the breakpoint and only break once it fails, yet if every input looks fine and your code isn't a mutating mess you can set a previous line as the next statement and re-step what happened to create the error condition for the particular object.

Adding traces (probably over several iterations to narrow down things), rebuilding, rerunning and inspecting those traces would've probably taken multiples of the time to build and run everything up to the point of failure.
Humble is not be a good word to describe a service which behaves like this.
I read somewhere they are among their top 10 advertisers. So this is not a good look for YouTube.

Hope someone from Google chimes in because this is a PR disaster in the making
> Plenty of people go into politics with good intentions, and some even stay that way after some time there

Politics is a highly competitive game. Those who do not optimize for maximizing their power and carrier advances are operating at a disadvantage.
There's no need for any scientific argument, really. Australia is a sovereign country that controls under what conditions they allow people to come in, and is perfectly free to ask people to stand on their head for 5 minutes as an entry condition, if they want to. Look into your own country's visa terms, it's by no means trivial to get in somewhere, and it often requires satisfying some requirements that are not at all scientific. Eg:

https://travel.state.gov/content/dam/visas/PDF-other/DS-160-...

Interesting questions start on page 33.
It's funny how the cargo cult hides groupthink. Particularly the psychology of impostor syndrome. It's not just insecurity, it's got an underlying cause. The person affected realizes a truth: that there's a body of knowledge they lack, or they aren't accomplishing much but are still getting approval from their boss. Thats not some kind of "false impostor feeling", that's literally becoming aware of a truth about oneself, followed by fear of consequence.

When peers say "that's just impostor syndrome, don't worry about it!" they're reinforcing a groupthink that we should ignore the truth. The truth is that we often do excel despite our own shortcomings - but those shortcomings are real. We shouldn't hand-wave them away just to feel better, we should be focusing on improving ourselves.
Using generic printf/format like function for localization is a bad idea anyway. Proper localization libraries have features like handling of plurals. Nothing prevents a localization library from creating it's own formatting function, which it would have to do it anyway since the formatting syntax for each of commonly used localization file formats (po,xlif,ts, ...) likely differs from format function in the programming language X.
> A lot of times, these can be solved with a debugger and a few WTFs or with a week of trying to understand every line of code, it's states and the transition between those states.

In my experience the vast majority of those cases can be solved with quick search of the Github issue tracker to find someone else who has already debugged the issue, followed by an upgrade of the library to a newer version that's already been released to fix the issue, or if you're unlucky manually applying a patch.

Of course, that person's probably used a debugger to solve the issue. And sometimes you need to be that person. But IMO if you're using libraries that regular require you to pull out a debugger, then maybe you ought to be using better libraries.
These "unusual activity" detecting algos are a menace. If I use a VPN to access my account, blocked.

Had this issue with Paypal & Digitalocean. Reddit shadowbans accounts made with VPN.
How do you find unsafe on a binary library?

Also that is besides the point, unsafe only deals with a very specific cause of errors that plague C code bases (and those of languages copy-paste compatible with it).

Rust's unsafe wouldn't have done anything to protect against an hypotetical log4r.
If they don't like that their service is used for poker activities they are free to dump the customer.

What they are not free to do is to freeze his account and just keep his money.
On Firefox, Tridactyl[0] does this too.

Which link it follows as is based on the rel=next (or prev if you used [[) attributes (i.e. the actually correct way that web pages all too often do not use) and then falling back to heuristics like the button/link text.

[0]: https://github.com/tridactyl/tridactyl
The article says they have been "charged".
Another one: https://beta.shodan.io/host/88.102.110.5

Ransomware has become really massive.
the best way to write code is: write code that you can delete without any effects on the rest of the program. and keep all related code as close as possible together in the source code.
Also keep mutations as far up the call stack as possible. use pure functions whereever possible.
Saying "please" over the phone is easier than gaining access to their database.

In addition, a human might know that a regular client only uses half of the time slot and that your case is quick one. Patch it up and go. And many places have a buffer for important cases. A human might place you there. Or maybe, by pure coincidence, the person you seek an appointment with feels like working a little longer and will take you on outside of the normal schedule.

It's fascinating how flexible human interactions are, when you're spending a lot of time with rigid computers.

A human can also just say no because they don't like your name. Goes both ways.
Well that sucks. Guess I'll be looking into how to bulk download my library this month, and no point in keeping my subscription after this if it no longer supports my platform.
> Yes, but most power is in fact following the Poynting vector along the wires.

Only in the steady state does the Poynting vector follow the wires all around the loop (a point made in the original video.) In the period of interest - well before the EM waves launched by closing the switch have reached the far ends of the transmission lines - it does not, yet during this period, the load is passing a non-trivial current (and therefore dissipating power) that is determined by the voltage of the battery, the resistance of the load, and the characteristic impedances of the two transmission lines. For example, for 24 awg superconducting wire (~0.5mm in diameter) the characteristic impedance for each of the transmission lines would be a little less than 1 kΩ, so with a 12 volt battery, a 2kΩ load would be passing about 3mA and dissipating about 18mW (that is fully 50% of the current it will pass in the steady state.)

During this period, there is no energy-transferring chain of physical cause-and-effect that goes all around the wire loop, and it would, of course, upend physics if there were! In fact, during this period, it makes no difference whether the far ends of the transmission lines are open- or closed-circuit.
You've made my point - the overall outcome post-Covid is comparable to a handful of other singular events in our history. I strongly believe that the ramifications of what we have done will take years to play out, but I accept that is just my opinion.

My kids are not having too much screen time. My complaint is that Covid restrictions have made the already-tough job of being an accountable, responsible parent almost impossible. Screen time is just the tip of the iceberg. You talk about sleeping in bomb shelters - how many kids have been told they now carry a disease that could kill if they get too close to someone, and what will that do to their mental and social development? How many parents now believe this justifies what would previously be called child abuse? Many of the ones I know, that's for sure.

At one time, it was considered brave to hug a HIV-positive person (and when the risks were unknown). Now, we selfishly impose social restrictions on those closest to us, to reduce an already-tiny level of personal risk.
Rich men throwing their weight behind renewable power to make money. Good.

Public infra wise, it would be great if the government spends money in several directions

1. Setting up solar farms in the deserts of North west - Gujurat, Rajasthan where the land is obviously not being used for agriculture or industrial buildings. The industrial footprint of Gujurat will no doubt be thankful for the renewable power during the operational hours of the day coinciding with solar power generation.

2. Set up solar panels atop irrigation canals which not only generate power for agriculture, but also reduce fresh water evaporation.

3. Strengthen the power grid in populated areas to handle power generation from roof tops and let people make money by sending solar power into their grid. The Indian entrepreneurial public will find creative ways to generate power and make some money for themselves.

4. Add buffers that can absorb bursts in power production that can be used for later(or would have used peak power unnecessarily). Example - run drinking water pumping and filtration systems, sewage treatment systems, seawater desalination plants etc during peak solar production times of the day.

Easier said than done I know. But that’s what leadership should look like. Not triggering political divisions and trying to exploit emotions to stay in power.
That's Kindergarten
Merchant accounts have a feature called auto leveling to automatically move money to a bank account that can be enabled with a phone call.
#shodansafari
I don't know about revolutionizing the Linux desktop, but i can assure you rust made me a better programmer (even when i write C or python) despite being a very bad programmer to start with.

I also know that Linux desktops are often victims of memory bugs, and that a higher-level language for extensions is something people appreciate, that's why there's JS in GNOME.
> This has resolved to a lot of frustrating modeling and unfalsifiable theories. P-hacking, replication crisis & such.

It's entirely possible we haven't found such models because of the p-hacking, poor replication and publications with low signal to noise ratios, and not vice versa. Psychology's replication rate was in the mid 30% range. It would be hard to see any general trends with such unreliable data.
> Figuring out how you got there isn't necessarily any easier with a debugger than with generous logging. If anything, it can be much harder.

Put a breakpoint early on startup, once hit put a data breakpoint on the part of the state which messed up, reproduce the bug, and there's very high chance debugger will take you to the code which broke the state.

This will even happen if the code which breaks the state is a memory corruption bug in different thread, in the code written in another language, from a third-party DLL.

> debuggers are nice for simple, borderline trivial programs where everything fits on a screen and there's a handful of variables to keep track of

It's funny I think it's the opposite. When there's only a few variables, one can print/log the complete state pretty often. When the state takes a gigabyte of memory and changes often, similar amount of logging going to produce too many terabytes of logs to be useful. Debugging is interactive, you can inspect the complete state and find the most relevant pieces to watch.
Securely Access Your AWS Resources from GitHub Actions
Hi, kindly let me know if you encouter issues with Apache APISIX and its documentation, see https://apisix.apache.org/docs/apisix/getting-started

You could leave issues to GitHub apache/apisix repo :)
Actually it was similar in Germany with BTX. But also during the time where it was reasonably usable (~'96) it was way faster and cheaper than going on the Internet. BTX was shut down in 2007 though
Bringing Include_dir into the Modern Era
They scan and report what the servers advertise, so normally you’d see a list of services and it’d list versions which have known CVEs (obviously, this doesn’t say it’s actually vulnerable if e.g. a Linux distribution patched it without changing the advertised major version).

The “compromised” tag is only added after some confirmation of known malicious activity. I’m not sure what all that includes but I believe that can be things like 200 responses to known malware paths or a database reporting names used by common malware.
Rust's unsafe wouldn't have done anything to protect against an hypotetical log4r.

As for the memory fuckups you are right, pity that they are using a C GUI library.

Even if the binding has been deemed safe upon validation, if only remains a valid certification until the next Gtk version update, even minor ones might break the assumptions validated on the unsafe code block.
I'm learning of this with two weeks notice through the present post and probably have on the order of 400 games to download/backup/update, plus assets such as soundtracks, plus assorted book-like media. And I'm not even in very high numbers. It happens easily with the bundle based purchase model over a few years.
All to be downloaded as individual files, in a script dependent homepage which will only expose the links after clicking the entry for a specific work and usually selecting the odd tab or dropdown menu in addition to that.

The way this is being handled, for people who weren't buying for the Windows version, I find it hard to see as anything but unilateral confiscation of all purchases to date, with extremely questionable notice.
JS is super straightforward until you're transpiling from a newer version of JS or from TypeScript and debugging is supported via source maps (which tends to be most JavaScript codebases). At that point, the debugging experience is pretty hit and miss. When it works it's fantastic, but it doesn't always work.
I can appreciate the teaspoon/shovel metaphor, which I've gotten a lot of mileage from myself—not necessarily always related to programming—but "a bug in a if statement that would've been obvious at a first glance with a debugger" does not reflect how debuggers actually work.

Signed,

Someone who actually likes debuggers but doesn't see you making a solid case for them at all.
What was the upside of lying here? Seems like getting hacked is pretty common these days and I'm not surprised at all if some product I'm using tells me that they leaked my PII.

Why not just reveal the breach? Why risk going to jail just to avoid looking bad in your job? I don't think they would have even let him go because of this.
By that standard no binary that links against glibc, whether originally written in rust or go, is in fact rust or go.
You are right despite what other HNers think. MS is first and foremost an auto-immune disease. It is not that surprising that infections that provoke a large immune response can trigger an autoimmune condition. When we understand the immune system better, especially around the early stages of response to a potential pathogen, we'll understand how auto-immune disease starts and is maintained. EBV has long been a putative risk factor for MS, but given 95% of the population will have EBV, it clearly only goes some way to explaining how MS comes about.
Being willing and able to lie for the owner is the ultimate test of ownership.
Yes Ukraine is a sovereign nation but NATO is not. The US and Russia have an agreement that NATO will not encroach onto Russias border which allowing Ukraine to join (a US decision) would be a violation of.

It's akin to arguing that Cuba joining a Russian military alliance and re-installing ICBMs on their territory is totally fine because Cuba is a sovereign nation and can do whatever they want.
They also killed their android app, which as much as it was awful, having an app was very good for Android security because you could whitelist it in the OS as a source while still blocking apps from the browser.

Half the time when you download an Android app from their site, it doesn't even come down as an APK but a zip instead and you have to rename it to APK.
I also only have a 1080p projector, no TV... 2 GB rips (not 20 GB) at 1080p are totally fine (and way, way, way better than any streaming service).
To get tinnitus?

The last time we tried (again), the sound was overdriven (again) to the point we had all go to the toilet and muffle our ears with toilet paper.

Except for small, independent cinemas it has been the same crappy experience for me: expensive, bad sound quality
> Maybe you can answer a question I've had about ASN.1. Long time ago, Marshall Rose had harsh things to say about the ASN.1 macro facility like "buried semantics"[1]. Do you know what he meant?

My guess is that his complaint is that MACRO semantics are not well defined and are challenging to parse with conventional compilers. I've always wondered if they were inspired in some part by LISP, since you could in principle translate them fairly readily. ROSE and SNMP are still relatively commonly-used specifications that embed macro definitions, and most of the work I've seen done with them involves actually hard-coding the output (rather than actually parsing the MACROs).
Just look up the pronunciation in a dictionary.
Because they prioritize preventing the damage to society over their own personal gain. The point is that the decision to commit a crime boils down to putting the individual benefits over the harm being inflicted on others, which is why it is naive to say this kind of theft only happens because people’s needs aren’t met. Not only does this imply that all poor people are committing crimes (how could they not, when their needs aren’t met!), but it also implies that crimes aren’t committed among the non-impoverished population, both of which are clearly false.
I don't understand their approach either but it hasn't helped them one bit that the market for 'subscription-like games for PC' became much more competitive and a lot of the competition is either a far better deal or 'free' - Microsoft's Game Pass, Amazon Prime Gaming, the Epic Store giveaways, etc.
tl;dr - /r/ in Portuguese apparently has a wide variety of allophones
yeah, the animations gave me a headache. Stopped reading the article
Isn't this move by Intel almost a counter attack on this drm situation. Essentially bricking all drm software.
Starting to think quantamagazine writes headlines this vague as a conscious clickbait strategy by now because these pull the biggest audience.
I’ve found corporate software environments anathema to learning. The daily standup will not reward “yesterday I learned how to use a debugger” or “yesterday I spent time reading documentation” but it does reward “yesterday I spent hours grinding out the root cause of a bug”. There are other reasons, of course - but fundamentally the messaging is to get it done with as little learning as possible. You should know it all already! Learning, it should also be said, is very very hard when you are burnt out. And most of the learning capacity is used up learning non-transferable knowledge about internal-only APIs and systems you will never use again.

The solution is probably employer-funded sabbaticals but since those are rare people just settle for quitting and poking around at their own projects for a while.

Now that I’m more of what you’d call a “senior” developer I realize the absolute importance of taking time to set up your development environment so compiling, debugging, unit tests, prototyping etc. are as seamless as possible - the benefits to productivity and general happiness are manifold! But having the clout to invest more “non-productive” time upfront so your overall productivity is much higher is not usually afforded to devs fresh out of school who tend to just grind it out.
Could Rust Be the Future of JavaScript Infrastructure?
No?

Most people don't watch TV or movies on their computers. They watch them on big-screen TVs with streaming built-in (or attached to streaming devices like Rokus, Fire Sticks, or Apple TVs) in their living rooms, or on mobile devices like tablets and phones.

My guess is that the movie industry is purposefully killing off PC viewing. Bluray players and TVs are much easier to assure content control on. I'd also guess that in general they don't care about bluray, period. They want everyone to stream, where there's no "ownership."
At the request of USA, Russian FSB runs operation against REvil. Now.
Yeah, it was a bad decision.

While using C++, adding something like gsl to the toolbox is worth gold, and also enabling bounds checking even in release (really, most of the time it hardly matters to the application users).
To put things into perspective: this is about one month of net income (profit) for Meta.
8 days' worth of green hydrogen to feed gas turbines would fit in a few relatively small gas storage facilities.
How about "N95-grade" respirator? https://www.fastcompany.com/90706115/this-high-tech-mask-wen...

"Razer points out that the system has been independently certified with a Bacterial Filtration Efficiency of over 99%, like an N95."

https://www.ign.com/articles/razer-project-hazel-rgb-n95-mas...

"Razer claims that Project Hazel is the world's smartest mask. It is a reusable N95 respirator"

https://www.theverge.com/2021/8/6/22613139/razer-zephyr-n95-...

"Razer announced today that its lit-like-a-gaming-PC N95 mask"

https://arstechnica.com/gadgets/2021/11/review-i-wore-razers...

"I wore Razer’s Zephyr N95 mask"

until

https://mashable.com/article/razer-zephyr-n95-mask-claim-rem...

https://www.gamesradar.com/razer-admits-its-masks-arent-n95-...

https://mothership.sg/2022/01/razer-n95-zephyr-mask/
I sign up to Facebook, which costs them money (storage costs, network traffic, CPU, etc) and in exchange they make money off me by showing me ads. How is that unfair? It would be like saying it is unfair that meat I buy in the supermarket costs the supermarket less than they charge me.
I feel the same way, I think f-strings and s-strings are going a bit too far for the sake of convenience.
That breaks as soon as the perfect code in your head has to interact with code someone else (typically and hopefully colleagues you can talk to) wrote.
More salary is fine, but stock trading is an entirely different question.
It showed an IP cam in Vietnam of what looked like an hospital room ... with a patient in the bed ... Scary
It's same reason you don't see DVD-A or SACD discs around. Who would buy such things when you need an expensive standalone player, especially in the age of streaming? They didn't learn.
At least the 'unusual activity' should block the transaction not ban the account and you get notified on the spot.
I think this is overlooking the main argument - having someone waste time by getting their own food/shelter isn't really any better than having them waste time doing a job to get money for food/shelter. We would likely be better off not wasting people's time and just giving them food/shelter so they are free to figure out how to best use that time
I see where you are coming from but I disagree with your conclusions.

I think the number of developers who would not have insecurely built a SQL string from user input but for the language adding format strings is approximately zero.

By analogy, to me this argument seems like saying, "If a standard library contains a StringBuilder class that minimizes unnecessary allocations when constructing a String, it encourages developers to construct SQL strings manually and therefore makes them more likely to fall victim to SQL injection attacks, therefore we must not provide StringBuilder classes."

I don't imagine there are very many developers who are properly using parameterized queries only because it is inconvenient to concatenate strings.