skysight-inc/HackerNews huggingface dataset:
I've used Datadog but if you need per query tracing from the database logs, I think the only way is to embed a trace ID in a SQL comment (or in an no-op column) like the grandparent showed.

Datadog is tracing the request from the application akin to something like

openTrace("Query Name", queryStr)
db.Query(queryStr)
closeTrace()

The gap with that style of application-level tracing is that the database logs give no indication of where a query came from, hence the need for embedding a comment in the query with the trace ID.

I would love for a better mechanism than SQL comments for distributed tracing all the way to the database.
I'm planning on adding the ability to toggle columns, but the whole goal of Datasette is that you can point it at ANY data - including some crazy government data CSV file with a hundred columns in it - and start exploring it without having to do any customization first.
Of course, I've re-read it at least 5 times ;)

20+ books does seem like a big commitment but once you're hooked you just want more...
WRT #1, we've used a shadow and users seem to like it.

https://www.livecoinwatch.com
I never use GNOME but I decided to try it to test pop shell awhile back. This was shortly before 1.0 of pop shell so it could have changed. Not trying to disparage it, just sharing my experience as an i3 user. It feels so so slow because of animations.

I googled how to get rid of animations because it wasn't in the GUI settings. Animations were removed, but a delay remained with any tiling movements where an animation would have been. Not sure if this is a limitation of GNOME or a bug in pop shell, but it wasn't going to work for me. It would be really hard to give up the snappiness.
Complex Numbers and Conformal Mapping
As it is you still have the problem that you're not comparing like with like, you can't compare the total for an hour with the total for part of an hour. So you'd basically need to restrict your visualization to only show the image at the moments when you do have all the data. I'd strongly suggest biting the bullet and just storing the data in 5 minute buckets if at all possible, then you can have both sides in the same format and compare them easily. 5 minute buckets is only 12 times the amount of data you currently need, which might be a reasonable trade-off.

If you can't or don't want to do that then you'll need to pull some tricks. In essence you want to compare two 'rates' against each other right? Now technically the 5-minute bucket idea is just a crude approximation, what you actually want is the average rate at any point in time a histogram is just a crude method to determine this rate. This means you might get away with it if you try to calculate this rate using 2 different methods on both sides.

For the presampled data you could:

- Interpolate the hourly data (keep in mind that the hourly totals run 30 minutes behind)

- Fit a function to the data rather than just sampling it (i.e. if its periodic you could just use the low frequency part of its Fourier series)

Now I presume the data coming in is coming in online (i.e. you can't just wait for a full sample and compare it afterwards, otherwise just do the same thing as above). This means you'll need to do something like:

- Use a sliding window (again keep in mind that this delays the signal)

- Use an online low-pass filter.

- Fit a function to the partial data (tricky and might be unstable)

Hope this helps.
Also part of a trend to add more “hover and wait” elements pointlessly:

- Can’t see scrollbar without hovering and waiting.

- Can’t see folder drag icon in window title without hovering and waiting.

- Can’t interact with notifications without hovering and waiting.

- Can’t see full menu of options on Full Screen window button without hovering and waiting.

Dear Apple: this is a fundamentally backwards design trend that creates major productivity hits. These were arbitrary changes that made things harder to use. In short: there was no “design” happening here, it was just “fiddling”.
It can be disabled freely by the user in System Preferences -> General on macOS.
I've worked with several recruiters who are trying to shop around as an outsourced recruiter. Basically, they take your resume and slap their name on it in an effort to show companies "You should use me because I provide well-qualified talent."

If you're not going through internal recruitment then this is a great way to go about it. The recruiter isn't just trying to get their 20%, so they spend a lot more time getting to know you and also getting to know where you're going.

The biggest down side is that you'll never hear a negative word about anything, so you gotta be good at asking some pointed questions.
30 of 32.
Programs, like ships, sink in the C.
Ehh. He's either in the culture war, or he believes what he says. If you're a Brit you probably see the royal family fairly positively. (Many brits don't like them as people, but think they're handling the transfer of power well, etc.)

His factual correctness and his sincerity are two different things. Who knows what MM is, at heart, but if he has reason to see her negatively why shouldn't he lament her influence over his country?

Is there a time-limit, where you're only allowed to criticize someone for 5y, and so when it hit 6 his opinion was officially stale?
Just read accounts of people who used PEDs first time and how effective they were. Tyler Hamilton's book is an example.

When I did more weightlifting me and some other guys got stuck at around 75 kg and couldn't put on more weight no matter how hard we trained. A few months later two guys jumped to 90 kg in a very short time. I asked what's going on and they told me they got some stuff from Poland. I assume either steroids or HGH.

PEDs are way too effective for somebody to be able to compete against people who take them. It's simply not possible.

In the 100m a lot of top 10 guys got caught or evaded tests in the last years. There is no way that Bolt is beating them without taking something.
A weird but possibly relevant question: is this more of a factor for mouse users on macOS?

e.g, I use a magic trackpad... it feels very natural to swipe on anything and expect it to move a little (or a lot). You lose this interaction with a mouse, or it's not as simple to do.

I actually very much dislike scrollbars after being trackpad only for some years.
The demand there would be with products like Qubes and Subgraph, which are currently using Xephyr and Xpra. Eventually Wayland should be able to improve performance there, and bring some of the security benefits of those setups to other distributions.
The main thing up to now keeping Xorg the default for video games was nVidia's lack of Xwayland acceleration support, which made gaming on Wayland largely impossible regardless of wlroots.
Eh, I would say the notion that the benefits of travel can be neatly summarized in a list of Reasons Why It's Worth Your Time is sort of beyond the point. In fact, I'd say that's one of my main takeaways from traveling so much: realizing the limitations of the Western "rationalist" worldview that demands logical reasons for everything, as if Man were a computer program.

It's a bit like asking someone what they've learned about life in the past 5 years. The answer is likely, a lot of things, more than one can conceivably verbalize at the drop of a hat or even verbalize at all. Language is a tool added on top of reality, not reality itself. As I explained above, it's about a much deeper expanding of one's perspectives, which has absolutely nothing to do with education or information. It's about realizing that different cultures have unique starting points as to what they consider valuable or admirable, then experiencing that for yourself.

This, I think, is something really relevant when it comes to the US. Most of us have a hard time divorcing the idea of wealth from excellence. Being rich alone is enough to earn you respect, no matter how vulgar or manipulative the source of wealth. Many other places (say, France or Japan) don't unify the two and the consequences are very observable.

I could say things like, "The public transportation system in Japan is amazing and makes me wish we had it in the US," or "the outdoor heaters in Paris make street culture much richer," but frankly these seem so insignificant that it's almost laughable to use them as a justification for traveling. It's akin to watching a deeply moving film and then suggesting others watch it because "the colors were nice." Not everything requires argumentative justification, nor should it.
Brazilian dev with some experience in developing systems used across LatAm.

Honestly, it is a mess...

There are specific payment methods that are common in a single country where people prefer to use that instead of credit cards, as a result sometimes we have to integrate a bunch of different payment processors, a couple of them with non-existent or terrible documentation which result in a ton of emails and calls to clarify stuff.

Stripe is in Beta in Brazil for a while but I never developed something with it for the local market, there is a countrywide processor here that have great documentation and support everything that Brazilian customers are used to and the fees are in the same ballpark, so there's no need to use it.

> We heard it’s better than Brazil.

Which is funny for me, integrating payment processors in Brazil isn't a big deal and I had a lot of trouble with a few LatAm processors, but if I had to guess the reason I would say that a lot of old cards and cards for people with low income used to be national only, they couldn't pay anything in other currencies, nowadays the card situation is a bit better and most issued cards can purchase international goods but since stripe apparently is coming to Brazil, if you could process your payments through it it should work flawlessly.
There's another perspective to take on this. This sort of behavior you are describing locks you further and further into the role you are in right now, reducing the rate of which you grow and learn. It sets up by dynamic where the company is incentivized to keep you there.

Another possibility is that you make yourself entirely removable or even just solve the problem so well that it no longer needs headcount. Instead of seeing people reaching out to you as satisfying a "I feel needed" emotion, you can see the need to have been reached out to as a tax that reduces the value you create.

Businesses really like developers who reduce replacement costs, solve their problems, and enable others. They tend to put them on increasingly valuable and interesting problems.
Scrollbar also tells how much hidden content there is.
I have a NUC10 that experiences very similar Bluetooth issues, but it has the AX201. I wonder if this isn’t just contained to the AX200.
By the same token you would be an idiot not to. Everyone knows GME stock is worthless, was pumped by delusional people and is bound to go down. We are in a Moebius strip of memelords and shorts feeding off each other.
Yup - two in fact (the other one is small but good):

I don't want to learn your query language - https://news.ycombinator.com/item?id=17890760 - Sept 2018 (153 comments)

I don't want to learn your garbage query language - https://news.ycombinator.com/item?id=17888930 - Aug 2018 (9 comments)
For screenshots there are currently two competing approaches. GNOME and KDE have opted for dbus interfaces (e.g org.gnome.Shell.Screenshot) and Sway has opted for Wayland protocol extensions (zwlr_screencopy_manager_v1). I think the former is more maintainable because dbus interfaces are accessible by pure cli tools where grim and wl-clipboard have to create dummy wayland surfaces just to talk to the compositor.

At least everyone agrees on the notification dbus interface and the tooling is super mature.
Years ago, when recruiting for a tech support position, I had an agency send a bunch of 'pre-screened and qualified' candidates through. Most were fine, and we could start straight away with conversations about debugging AUTOEXEC.BAT and CONFIG.SYS (this probably dates the time period!) One candidate, however, looked like a deer-in-headlights, and was clearly out of his depth. In the end, I asked "There is a computer in this room, can you point to it?", and he sheepishly pointed to the fridge!

I felt really bad for the poor guy; it was not his fault. We finished the interview early, had a friendly chat, and I sent him on his way with some bus fares.

I then got on the phone and tore the agency a new one. They had wasted his time, and my time, by 'doctoring' the qualifications. I never used them again.
Mixing Rust into an existing C shared library using Meson
How (not) to corrupt a SQLite database on Windows
background: culturally mixed , travelled a lot as a kid(20+ countries), speak more than 3 languages

There are many mannerisms of speech that cultures use and you can learn a lot about them by the time/place it is used at.

Food: Ceremonies in preparing food + eating (slurping in Asian cultures normal vs western countries its rude). How many cultures share food for example or the type of food they eat can tell you a lot about the history of the place (ie a place that was a hub of trade back in the day that got exposure to tons of cultures (Philippines) vs western food of meat and potatoes).

I still go do the top 10 touristy things in a city/country but then always try to find what are the normal breakfast/lunch/dinners in the city/country and try them. Sitting down and observing people at a café or restaurant for example how the Greeks have tables looking towards the street, or how literally the country is all out at night.

What we've found is going to a bar and trying to strike some conversations with individuals.
Screen tearing under X11 is more or less not a problem anymore. HIDPI, yes, but only for multiple monitors (maybe even just programs that don't support it properly ?). Security... eh, yes and no (Xorg can be ran as a normal user).

The actual good thing about Wayland is that it simplifies things. While the bad thing is that it needs some kind of extensions for even the basic things a desktop needs, and that (AFAIK) freeGNOMEdesktop is in charge now.
It's the third sentence from the article: "They are keeping a promise to implement EU rules aimed at cutting energy and bills – and reducing the need for new materials."
Your experience must be different than mine then, which, it's a large field so it's totally possible. Dunno, it'd be great to not have to repeat any kind of technical test, regardless of the format preferred.
Can someone knowledgeable on the topic comment if the general premise is sufficiently plausible that an attacker can access all browser memory in one process? Have Spectre-class attacks been observed in the wild?
thank you for this! exactly what I was looking for.
It looks good, I'll definitely give it a real try if I start trading options more, the order flow data alone looks like it would make it worthwhile. Do you incorporate L2 data? Couldn't find that anywhere, only thing that seems like its missing.
Wait, this kind of thing is legal in USA?
With mobile UI, that's kinda necessary. You don't have a whole lot of space to work with there. It's either really tightly packed touchscreen interfaces, or its horribly overloaded buttons ("when you're in the email app, press the Hang Up button to delete a message").

There is no excuse for it on desktop except blindly imitating mobile UIs.
I can scroll horizontally on my touchpad, but on a mouse it doesn't work. Horizontal scroll wheels are rare (the Logitech Master series has them, but that's about it). Most apps allow you to hold ctrl while using the scroll wheel to scroll horizontally. Some implement some kind of drag-mechanic, but that feels incredibly awkward with a mouse and is unusable with a touchpad.
Another frustrating experience was OBS. It would crash quite often due to a bug in qtwayland that someone from the community fixed (can't find the ticket right now) - had to do with too many events queuing up if it was in background and re-focused.

If you read this kind stranger: Thank you so much for this fix!

One thing that doesn't work to this date for me is custom browser docks, which means if you stream and want to interact with your viewers, you need to have a browser open as well :/
I would call that use case very dumb.
Thanks, definitely appreciate the perspective and thoughtful answers.

I don't think that worries about a cloud provider eating the lunch a company has set (to get metaphorical on you) is solely limited to VC funded companies, but I do appreciate they're more likely to worry (see ElasticSearch, of course).

> but not every infra project has to immediately turn into a 10K employee company.

Couldn't agree more!

Cheers!
I have similar issues, those seems to be related to the xwayland implementation of wlroots/sway. I do not have those issues with Gnome on wayland.
Looking at the master branch of the project, it seems that it should get better with the next version.
That's a really nice example, thanks!
Chinese provinces shown as a country of similar population size
Until it keeps turning off, before properly toasting the bread, because it's burning some crumbs at the bottom.
> Regarding security, I'm honestly surprised no one has just tried to make it so you can "firewall" X11 programs from one another.

The response I've heard to this question is entirely nonsensical: it could be done with an X extension, but getting adoption from various parties to make this work would be difficult. As if building an entirely new display system doesn't require orders of magnitude more work and buy-in.
What did you end up moving into?
My guess is that salary is mostly unrelated to one's skills. It mostly depends on what company you work for, and your negotiation skills. Actual knowledge and skills are maybe on the third place. There is also timing: if you join when the company desperately needs another developer, you may get better deal than the developers who are already there. Also, whom you know, who recommends you.

I know a guy who is 10x smarter than me, but is paid 1/2 of what I am. It's because he works at a different company. (I used to work there, too, and then my salary was 1/2 of what it is now. I didn't get twice as smart when I changed jobs.)

I know a gal who is 10x smarter than me, but is paid about as much as I am. It's because she works at the same company.

In my opinion, software companies are unable to tell the difference between developers. The bad ones are overpaid, the good ones are underpaid. Smart developers learn to code; smarter developers learn to network.

From this perspective, it makes sense to contact a job agency and tell them you want 2× what you have now. Chances are, there is a company where people with your skills (or worse) are paid that much. It just takes lot of luck to find that company. Call ten different job agencies, tell them that you only accept that much... and let them search the market. You may be surprised.
Cycling.

The year after the Festina doping scandal of the late 1990s the Tour de France, won by Lance Armstrong, was the fastest ever.

Yes, the bikes were getting better. Yes, nutrition and training were both getting better.

But they didn't get that much better in only 12 months, and so one might have expected - with the elimination of doping - that the race would have slowed somewhat.

But it didn't, because probably just about everyone - and especially the winner - were all on drugs.

Here's a list covering the period up to and include 2019 of confirmed cases: https://en.wikipedia.org/wiki/List_of_doping_cases_in_cyclin...

There is a more than strong suspicion that the majority of dopers have never been caught and that, in some cases (including Mr Armstrong), governing bodies and authorities may have covered for and protected them. Every now and then somebody is fed to the wolves so it looks like effective action is being taken.

As a recreational activity cycling is fantastic. As a sport it's a complete joke.
I also played around with this. I wrote a little Postgres pooler/proxy in Go that used the actual Postgres frontend code hacked in as a library to parse queries into an AST. I registered the pgfiddle.com domain.

I lost interest in it though. I'm working some of the better things into a new project of mine, sqljoy.com (nothing there yet.) I've been developing it for over 8 months.
Here's a pretty good one from 20 years ago on cycling:

In this world, the dunces and losers are those who rely on their clean physiques. Voet cites the case of Charly Mottet, a top French rider of the eighties and nineties, who came to the RMO team, where amazement was expressed that “the bloke was clean.” Mottet had, in many people’s view, the talent to win the Tour, but Voet recognized that he lacked “the wherewithal to make it happen.” In other words, he refused the tempting pharmacopoeia. Mottet was known for his weakness over the final third of the Tour, and the soigneur’s conclusion is as sad as it is hypocritical: “Yes indeed, Charly never had the career that he deserved.”

https://www.newyorker.com/magazine/2000/08/21/the-hardest-te...

It ends up inevitably being about Lance Armstrong. This was 10 years before he owned up to doping.
Fred Wilson – Stockton's Basic Income Experiment
Not entirely. Despite the fact that no available Wayland compositor allows you to disable vsync at this point Wayland also throws away all the work done by ddx drivers on X11 implementing 2D acceleration. This allows X11 clients to de-facto render to directly to the frontbuffer when no compositor is in use. It is the lowest possible latency you can get.
I forget the exact number but it was less than 10% of users actually interact with the scrollbar.

What industry are you in where you can ignore 10% of the user base?
OMG I’m so surprised I was going to post a question on HN yesterday that how can I learn about GNU Coreutils and today I wake up see this

What a coincidence!!!

Truly an amazing resource on GNU coreutils
For Search, you can deploy a meta search engine or use one someone else has deployed; you still have the mainstream indexes at your disposal that way, but you tend to get less filtered results. You get the truest representation of the rest of the Net via the set up of your own index by writing and cultivating a web crawler. No, I won't suggest it's easy because it isn't. Nor will I suggest any type of paid service, because to be honest, once the rest of the world figures out you've got a successful business model around something they find inconvenient, welcome to legal troubles.

Each and every internet staple started as a bunch of folks doing a project. Keep an eye out for those, or become one of them. Do it for you. Nobody can tell you not to, or hold you to task for doing so. It's only when you start building up enough network effect driven inertia that you start to become that leverage point ripe for the co-opting.

Knowledge asymmetry is big business. The only way to keep people from pulling the wool over your eyes is to build what you need and have a good ole look yourself.

Be warned it isn't for the light of heart, hard-drive, or net link, and your results are only as good as your crawler.

There are also a lot of risks by perniciously going out and connecting with everything under the sun. I'd recommend keeping your forays constrained, or at least on a well insulated network.
Presumably he did not exactly cure World Hunger at Wall Street either, though he almost certainly did not have to worry about killing cockroaches at night.
Worst thing about this, for me is at least 5 times a year since this started I have to go back to our engineers and tell them that users can't tell whats scrollable because on windows all the scrollbars are hidden, or appearing in weird places where they shouldn't because the dev team who only tests in Chrome on Mac can't see any scrollbars anyway.
I just tap the address part of the top bar and it appears. This is different from a top of screen tap which scrolls to the top.