skysight-inc/HackerNews huggingface dataset:
A lot of us believe that we spend a much smaller portion of our time looking at or debugging existing code than we really do. If you don't believe it's a time suck then you have very little incentive to keep pushing to get better at it. So the majority of us quickly reach a point where we are satisfied that we 'know how to debug' but leave a lot of room for improvement on the table.

The best description I've heard for master-level debugging is that it's a process of narrowing down the problem space as cheaply as possible. Your brain is telling you that based on everything you 'know' about the code, the right answer should come out. If the wrong answer is coming out, something you 'know' is wrong.

After the most obvious failure mode doesn't reveal the problem, your next check may not be the second most obvious failure. Instead you're multiplying the cost of verifying an assumption times the likelihood it's correct times the 'area' of the problem space it eliminates. Checking things like "is it plugged in?" sounds stupid but brings down the worst-case resolution time by hours.

Long story short, let's say I'm sitting in an interactive debugger looking at a stack frame, expecting that a particular variable has the wrong value, but it's fine. The cheapest thing for me to do next is to look at all of the neighbors of the suspicious value, and those in the caller and on the return. With println, pretty much every subsequent check costs the same amount as the first one. And if there's no short path from starting the app to running the scenario, that cost could be pretty high.

If you believe that you have a high success rate on your first couple of guesses, then println works great for you. But what if you're wrong? Have you ever tracked how many attempts it usually takes you? Or are you too wrapped up in the execution to step back and think about how you could do better next time?

Also, I want to be clear that I'm not telling anybody how to debug, as long as you aren't making that choice for your whole team. Don't choose tools or code conventions that break interactive debugging because "println was fine for grandpa so it's good enough for me!" That's a big ol' case of Chesterton's Fence.
I was using Python debuggers in 2002, courtesy of ActiveState.
I have little sympathy for the TSA as an organization. I also have no idea if the effectiveness is any better or worse, but I feel like the policies and protocols are more consistent between airports or even terminals than they were before they took over. (although, the TSA seemed to struggle with this during the first decade or so of their existence and it's still an ongoing problem...just much smaller). As airport security concerns grew after 9/11 more demands were made of travelers with vary inconsistent application. At least now if I go to most airports I know what the security protocol will be. If I have PreCheck, that is also pretty consistent with how its applied.

Given that, I don't see any reason they can't just be standards or policies that private security would adhere to. I'm sure there's a boondoggle story behind it, but I thought some airports had tried replacing TSA with middling success?
Goodwill - presumably to cover the scenario where the customer didn’t get around to canceling before the end of the month.
cool I didn't realize that
If you go looking, you'll find that there are some people who describe it that way, and that's been the case for many years. No large polity has had a single, unanimous evaluation from all of its citizens, ever in the history of the world.
Treating it as an intentional choice is ignoring all the cases of "parent gets investigated or arrested for allowing child outside".

https://people.com/parents/mom-investigated-dcfs-letting-dau...

https://www.parenting.com/blogs/show-and-tell/hayley-parenti...

https://www.theatlantic.com/national/archive/2014/07/arreste...
Two problems with that: it only searches the official PostgreSQL documentation (not things like StackOverflow), and perhaps more importantly, it doesn't work at all (it doesn't correctly pass your query to the PostgreSQL site).
Not disagreeing, but pointing out that the US does not hold a monopoly on military style police in the airport. I've seen this at most large airports I have been to in Europe and Central America.
I suspect if we had a workable definition finding any evidence it has had any influence would become even harder.
Air gap is a metaphor dealing with system borders - if you have a fully trusted input, you don't have an air gap, even if that input comes in wirelessly.
Sen. Markey wasn't referring to the TSA, at least not primarily. He was much more concerned about air traffic control and safety inspections, as we should all be.
Not open source, used highcharts
For lib.rs in libraries or main.rs in binary only crates this works great. But if you have multiple examples, then each example can use any dev-dependency it wants and any of the normal dependencies. It's super hard to figure out which crates are needed to add to make an example compile locally.

To give a concrete example, please look at this [1] Cargo.toml and this [2] example and try to figure out the crates its using. I've highlighted them in Cargo.toml, to show how irregular the use is [3].

We don't have test-only or binary only dependencies yet. They would make this a bit easier.

I want to focus on the code I'm writing, not onto figuring out which crates I need to include. On the bright side though, the system is still better than what C++ got which is not knowing from which header a particular symbol came from :).

[1]: https://github.com/djc/quinn/blob/e555d11a430b9760d149a27659...

[2]: https://github.com/djc/quinn/blob/e555d11a430b9760d149a27659...

[3]: https://gist.github.com/est31/7cb33e8a6b63c8798381bdb5e91a14...
Yeah, that’s not ideal. The service provider needs to be able to cancel as well.
Swift Community Podcast
Just biohack it back to normal...
The path towards management means less coding, especially the higher you are. VP/CTO/Director shouldn't be coding at all. Your job is managing the people and tech, guiding, mentoring, hiring...

Startups, especially early ones, throw this all out of the water of course. But once you hit 100+ employees the "real world management" starts to come into play.
Good point. Maybe also she watches in order to relate to other kids the next day or so? The kid version of everyone around a watercooler talking about Game of Thrones or whatever. Its plausible that friends follow the same channels.
> we built artificial intelligence to take the screen image and identify common UI elements, patterns and properties so that tracing a design you like is painless and easy.

Looks like it goes from a screenshot to code.

I can't find a demo that works without me signing up for it though.
That is perfectly reasonable, but I think it is also perfectly reasonable to say "parody of X" is the genre most related to but still distinct from genre "X".

In a lot of contexts that is a useful taxonomy to use, because it ends up being more clear.
Automated renewal only works so long as your servers doing said renewal continue working. This is by no means guaranteed.

How long do you think the average company's IT infrastructure would continue working if all employees instantly dropped dead? With no one to respond to any issues that crop up, and nothing that isn't 100% automated happening at all?
Quantum-embedded chips could secure IoT
A friend of mine works for Shipt and she says there's been huge amounts of new signups in the past two weeks.
That pretty horrifying. The physical abuse involved is pretty terrible in of itself, but there must also be widespread hiv / aids.

This is bad news for everyone.
I can't speak to that discrepancy, but I like the expanse as an example of hard sci-fi primarily because it makes very few tech jumps to build its universe. Ignoring the alien tech, the only real innovation that appears outlandish to us now that they gloss over in the series are those fusion starships.

But as with any sci-fi, you have to have some amount of suspension of disbelief when talking about new tech. If the author knew everything about the tech they talk about, they wouldn't be writing science fiction because they would have invented it, and we'd be reading nonfiction instead.
> They're not bulky, but there's something about them which seems to keep them from disappearing from my awareness.

I've had the same impression. Could it be because of the symmetrically rounded edges that makes it look like it stands off your wrist, instead of an asymmetrical bevel to make it seem more like it "melts" into your wrist?

Plus, of course, that the screen winks on or off when it detects the "raise-to-wake" motion, so that 1) it's a much more deliberate gesture when you want to look at it and 2) it's a distraction in your peripheral vision when it's wrong.
Const generics const generics const generics const generics
> I have yet to find a Google query where Google ignores the quotes (it even goes as far as telling me it can't find anything).

Happened again and again to me until late last year or something.

Don't know what happened but I do have an tip that might help (and might be a nice idea for some of you):

time and time again I observed weird behaviour from Google (ignoring quotes, excessive fuzzing of search terms etc).

After living with it for a while I'd report it and be surprised by how fast they'd fix it.

And after thinking about it I realized that no way Google is listening to me.

What I'm pretty sure has happened is that time and time again I've been selected for all sorts of stupid A/B tests and when I report a bug what happens is I her added to a queue that removes me from the latest lame experiment a few hours later.

As others I finally left, but I sometimes do a !g and lately Google has gone back to more honestly reporting 0 hits to me when I search for stuff like "some really long and rkfjjfjfirirjrjfjfjfjfj improbable sentence".

As for why they've stopped experimenting with me I don't know.

But thanks for helping me finally move on :-)

And if Google is acting up, report a bug. Any bug. Most likely Google will magically "fix" it within a few hours.
Given the rumors of a $300 2080-equivalent card, I wouldn't be surprised if the Navi architecture is more similar to Zen 2 where an array of cheap 80-100mm dies is placed around a larger 12nm bus die on the same package.

AMD has clearly placed a lot of R&D research into that approach and it would allow Ryzen 3000 etc to share a package with a Navi GPU die.

It would also explain the mysteriously absent second 7nm die in the Ryzen announcement this past CES.
JetBrain's CLion IDE offers similar niceness for Rust - I imagine it's the same underlying debugger UI.
Two common recommendations are practising Stoicism and / or meditation because these approaches can help you to put things into perspective.

One key insight often promoted through meditation for instance is that you’re not your thoughts.

A Stoicism-related technique that might be particularly useful in your case is Tim Ferriss’ fear-setting: https://tim.blog/2017/05/15/fear-setting/
AGPL treats "networked access" as "distribution", not "linking".

With the GPL, you are required to make your modifications available as GPL if you distribute the modified program. This creates a loophole for ASPs, which can modify GPL’d code, but because they offer it as a service (and don’t distribute the program), they don’t have to share the modifications. AGPL closes this loophole by explicitly saying that network access is considered as “distribution”.

So no, you don't need to make your web application AGPL. Just like you don't make all your applications running on Linux GPL just because they happen to communicate with the kernel over system calls. Copyleft licenses are relevant only if your code is a derivative work of the original.
I don’t know about brand loyalty but I’m not letting nvidia with that stinking binary blob near any of my systems any day regardless of technology. The new open source amdgpu drivers are fully open source and pack a serious punch.
> I see it when people who don't know what calculus is go to enormous efforts to develop workarounds that sort of half-assed work.

cf. https://escapethetower.files.wordpress.com/2010/12/tais-mode...
I have no concrete examples, but even with '+"term"' I've had google return results with "ten" bolded as if it matched, with "term" nowhere on the page.

EDIT: Not those exact terms obviously, but that degree of "That's almost completely different to what I typed!"
The Christmas release cycle of Ruby probably doesn't help either ;)
Quantum Computing, Capabilities and Limits: Interview with Scott Aaronson
For working with MySQL on Mac, I really enjoy Sequel Pro [1]. Full native (and kinda old-skool, if you dig that kinda thing) Mac experience/design. Works fast. Is free.

[1] https://sequelpro.com
Sexual assaults are not that common. Prison these days you just play a lot of cards and work for pennies per hour for the most part. Skinners (rapists) are not welcome in units and have to check in to protective custody if it's discovered they're raping other inmates and there's no way to hide anything, everybody can see you at all times you can't hang sheets or anything anymore like when this used to be common. Most units are now giant dorms even medium security where lot's of gangs end up. The biggest problem for a young man in prison is getting more time added by hanging around gangs not being assaulted by them.
> I find the article presenting "screen time" as if it's a single thing highly problematic.

While the pattern in research may be confusing, I don't know why the usage in the article—which is basically explaining research which suggests that this frequently studied question is almost certainly a nothingburger—is troubling.
Bahrain sandstorm brings low visibility and strong winds
If my experience with Node is any indication, you want to be fashionably late to this party. It takes a while for modules to adapt to such a big change, and the modules you are most interested in may have dependencies on those modules. It takes a bit of time for concurrency changes to percolate up the dependency graph.
A friend of mine bought their kids old Mac's and the kids absolutely love it, and are learning about their computer as well.
This is Microsoft's problem with just about everything they've done consumer-side. Windows 10 Mobile is still a fantastic platform that was well ahead of it's time (Android Q is rumored to add both dark mode and a desktop UI, which W10M has had for years), and was killed just big selling points like Continuum were ramping up. And Universal Windows Platform has been harshly deprioritized in favor of Electron despite the fact that we're still a year from Windows 7 (the primary compelling reason to use Electron over UWP for a PC app) going away. Edge's rendering engine performs better than Chrome, but just as it's starting to reach basic feature parity and stability, Microsoft is axing it in favor of switching to Chromium.

Microsoft also seemed to be leading the foldable device trend both with the Courier several years ago, and more recently, the Surface Andromeda, but then inexplicably decided to kill them both and wait for their competitors to beat them to it. I have a Windows phone that runs Android apps as well as Android does but Microsoft decided to scrap the feature. Watching Microsoft both come up with the best solution to a problem and then brutally murder it before anyone can use it is probably the most painful thing to watch in tech.
THANK YOU. 16 years I've been writing code and I can count on one hand the people I've met who realize this. I get a little emotional about it because I've seen so many exceptional programmers crumble in interviews with trivia questions.

If an interviewer wants to test problem solving skills with a BFS, no problem:

- Draw a tree on the whiteboard (interviewers writing the whiteboard is highly undervalued; it calms the candidate)

- Explain what a BFS is. It's easy to draw out each step in a BFS algorithm.

- Ask the candidate to write some pseudo code that implements it.
AMD doesn't have to win in discrete at all to make a killing. They only have to dominate the lower end, which they already are positioned to do with current APUs - these chips can manage 30hz/720p playability in most new games, which is easily ignored if your requirement is competitive gaming minimums or 4k, but in terms of price/performance, it's near unbeatable.

The Radeon VII is ultimately just a repurposed workstation card given flagship treatment. It's not where AMD's business really is, ever since they went down the route of semi-custom and small dies. While pushing RTX could renew Nvidia's advantages, the only game console they're on these days is the Switch - no raytracing to be seen there. Developers accommodate the Geforce cards for PC releases, but AAA going console-first precludes designing most content around RTX. They've made a lot of moves to try to repurpose high end graphics for other markets, but it looks like it's going to be very rough for Nvidia in the next few years if they can't find a "blue ocean" that needs both speed and programmability.
Oh sorry, this isn't about the blog post but about the experience I had so far with the 2018 edition. The blog post is great. Glad to see dbg!, ? in macros, and be/le/etc. stable. Also looking forward to 1.33 which will stabilize duration_from_milis.
To avoid the privacy issues around MAC addresses, etc, is there any way to simply count the number of "variations" of signal in the area? So rather than having to process any data, you base your count on things like signal strength and other indicators of a "unique" signal?
I prefer ASAN/UBSAN to either debuggers or printf-style debugging in such cases, but it's not always available.

I think a lot of debugger vs printf-style debugging is a matter of preference and familiarity. I'm used to debugging embedded or distributed systems where debugger support is not so great, so I've gotten used to other techniques (including printf-style stuff). But a lot of people love using debuggers, and I find it elitist to tell them they're wrong.
I'm not seeing a lot of sites that actually handle private data for the majority of users.
Introducing the .NET Community Standup Series
> Also, battery life could have been better...

Battery life was provably as good as it could be!

There was one sensor that wasn't fully optimized, working on it could've added maybe 4 or so hours to the battery life (up to 8 if all the best case most optimistic estimates came through), but other than that OS architecture of the Band ensured optimal battery life.

Having that many sensors, and a screen that bright, on a device that small, just sucks up battery.

For what it is worth (nothing!), if the majority of health sensors were turned off, and the Band was only used as for productivity, the battery could easily last over 3 days. That is if memory serves me correct. :) (I'm wearing one right now, but I'm too lazy to turn everything off and come back in a few days to comment!)
https://github.com/caiceA/slack-black-theme

works ok
Consider this angle the next time there is a mass shooting, and the attack is foreshadowed by troubling social media posts by the perpetrator. In those circumstances, there are often cries of "why was nothing done to prevent this?"

I'm not advocating a specific side here, only pointing out that the two positions are fundamentally at odds with each other.
People speculate there may have been a wider variety of DNA coding in the past. But natural selection plus perhaps some reaction energetics versus complexity settled on the current system.

There was probably a simpler two nuclide encoding versus three beforehand. About half of the amino acids only use the first two nuclides and ignore the third.
The Expanse is a low-down and dirty description of near future humanity running headlong into an Outside Context Problem.
The guy rapping after him busted him. He might be a legend, but it's not for his lyrical ability.
>Bindings to Lua (raylib-lua), Go (raylib-go) and more!

Is there a list of other bindings somewhere? I didn't see one in my admittedly cursory look.
I think it has come along really well. I started trying to learn it a few years ago, but going through the official documentation that was recently revised has been a breath of fresh air. Went from one of the most confusing experiences to one of my favorite. Highly recommend starting here

https://doc.rust-lang.org/book/index.html
You really need to let us try it out without having to sign up. Imagine how many users that think "oh, yet another img -> html/css tool, I wonder how questionably it works" and then get discouraged by having to take a chance on something they have no idea how well/if it works.

I'll sign up anyway and give it a shot.
see other sibling comments that argue against this
Product Marketing Lead – Lively  HSA (YC W17)
Typo note:

> literal mactches against literals of any type;
Thanks a lot for everything you did with the Band!

Even if a S sized Band 2 was a bit too big (I wear size 6 gloves) I absolutely loved the Band, and yes I wore it on the underside of the wrist.

I only let it go when it got the tearing disease.
One of my favorite features of HeidiSQL is its "Find text in database", see https://www.heidisql.com/forum.php?t=1006

It'll search through all text fields of all tables of whichever database you specify for a given string, and displays a nice per-table summary for each matching record. I haven't found anything like this in any other DB client.
If you're looking for something simple like jrnl but as a desktop app with a GUI, you might be interested in Mini Diary which I just launched: https://news.ycombinator.com/item?id=18934610. It also allows you to import your jrnl data and export your entries in a variety of formats.
Adobe Premiere doesn't care about the GPU much, even with pretty heavy effects and 8K you wouldn't notice the difference between a 1060 and a 2080ti, but one thing you usually don't want to do is to pair it with an AMD GPU due Adobe's craptastic support.

https://www.pugetsystems.com/labs/articles/Premiere-Pro-CC-2...

And 8GB is more than enough, heck if AMD memory management worked as in dev's would've used it then 4GB is enough for 4K even today, there are plenty of GDC talks about it and how some games on average only accessed 3GB of memory for a given level the biggest ones were from Doom and Witcher 3 iirc.

This is how the Xbox One X can do 4K even if it's at 30fps with only 12GB of RAM shared between the GPU and CPU and how even the PS4 pro can do 4K with 8GB and in all cases when they can't it's not a memory limitation but rather a fill rate / horsepower issue.

I'll take NVIDIA's stellar memory management and compression and tiled rendering over AMD's 1TB of memory bandwidth and 16GB of memory for 4K gaming, and 4K gaming on PCs is well meh, I'm actually regretting getting a 4K monitor and a 1080ti SLI setup something which i will remediate once the 1440P FLAD HDR Gsync monitors come out to the market.
There is safety in numbers; parents will let their kids go out to play when there are other kids around. And depending on where you go in the country, you'll see groups of kids playing or you won't. But it's self feeding, as fewer kids play outside, fewer parents let their kids play outside. My kid has no reason to go outside if there is nobody out there.
They have indeed expanded their set of amino acids. I assume they must have added tRNAs as well but the article didn't go into this detail.
I mean I learned to program and all that but I also sat and played Starcraft/CS/etc for way too many hours. I think I received skills from gaming as well, and it didn't make me a violent/not well rounded/<insert negative here> adult.
Sheepwrecked (2013)
this story doesn't really say anything about an application of the monster group to physics