skysight-inc/HackerNews huggingface dataset:
When I was trying to optimize the speed of the latest GraphQL service I was working on, I wanted to get an idea of the impact my changes were having. I searched around for a profiling tool for GraphQL and couldn't find one except for the Apollo trace tool, except that locks you into using Apollo. I wanted a free to use plugin that could be expanded further than Apollo. Thus graphql-request-profiler was born.

It's a small TypeScript plugin for GraphQL servers to trace and visualize resolver execution time. The plugin currently supports express-graphql and Apollo servers.

It can be used to identify areas of a graph that are slow and ripe for optimization, or taking historical measures of query performance at a granular level with a CICD pipeline.

Getting started is as easy as installing with your preferred package manager, and adding two lines of code. Send a request using the plugins nifty CLI companion tool and VOILA -- out comes an easy-to-read waterfall chart visualization of the returned trace data.

I hope someone here finds it helpful! I would love to hear your feedback!
Generally not. There are cases where something akin to intermediate code is shipped (e.g., SPIR-V or PTX for GPU code), but even then, the intent is that it is converted to a binary machine code in the driver.

Intermediate code tends to have downsides that make it hard to work with in an actual hardware implementation. Infinite registers, for example, which makes encoding instructions challenging.
But arguably the EU is even more motivated by the security issues of an emboldened Russia. Combined with the much stronger environmental push from groups in Europe, it seems reasonable that they would push as much or more for energy-based sanctions against Russia.
Stratego is an odd choice I feel. Evaluating it must be really hard. A significant chunk of the game is just trying to remember which unit is which of the things you've seen so far. Which humans generally can't do very well but machines can do easily. Beating hand crafted bots is good.

Can expert humans beat the hand crafted bots? I'm guessing no. Also, what's stratego like without the hidden units? Is that... hard?
Integration-style tests are a good tool here. Given a set of programs in the target language with certain expected behavior on the reference compiler, you check that compiling and running with the second compiler produces the same behavior.
I would be worried about the intermediate code not being stable over time.
Yeah now we/Americans catch shit for trump and guns when abroad lol
Trump has criticized Europe for not spending enough on defence and for being too friendly with Russia. His administration also stopped Nord Stream 2, a decision which later Biden administration reversed. So while this comment is horrible, I really don't see how could you call it trumpist.
> basic home cultivation is somewhere between baking a simple loaf of bread and assembling an IKEA shelf unit

It's a bit more involved than that, no? I'm not familiar myself, but don't you need to take into account things like temperature and humidity as well? If their mushroom blocks can tell the box the ideal conditions for each particular strain, and those can be maintained to produce a better end product, that already seems like a win over doing all of that manually.

> the machine is $299

Yeah, that's a bit much. They have to factor in mobile app development somewhere, right? :)

Again, I'm not saying that this particular product will succeed. But I think there might be a segment of the market that wants to get into home growing, but doesn't want to mess around with the DIY aspects of it.
I am enormously happy that Ghidra exists and usually can be made to do the job, but it is still quite rough around the edges. Polished with 10 grit sandpaper, as the saying goes.
The understanding of context here is maybe the most "hidden" feature, but the most impressive to me, because it's something that's still not commonplace in today's technology. For example.

I have an Ecobee thermostat with Alexa in my kitchen.
The Ecobee has the location "kitchen".
My kitchen has IoT-enabled lightbulbs.

I have a Google Nest Mini in my living room.
That Nest Mini has the location "living room".
I have a lamp in my living room with an IoT-enabled lightbulb.

I have a Google Nest Mini in my master bedroom.
That Nest Mini has the location "master bedroom".
The nightstands in the master bedroom each have a lamp with an IoT-enabled lightbulb.

If I ask any of these devices to "turn on the lights", they turn on every single light in the entire house. Me, my wife, and my children are all trained now to tell the devices exactly which room should have the light bulbs turned on, because even though I've told each device what room it's in, they're still completely context-unaware.

I've thought about trying out whatever home-mini-pot-hub thing Apple came out with most recently, to see if they're more context-aware. But this is still a far cry from the demo in the OP. I wouldn't dream of telling these devices to "turn on all light lights on the second floor", or "turn on the lights in the big room next to the kitchen", or "turn off the lights after we leave the house".

Forget security, competing standards, walled gardens, lack of visibility, etc. Until IoT devices are more aware of this kind of context, it will always be easier and more reliable to flip a lightswitch yourself than to ask another device or robot to do it for you.
I've been having trouble with iCloud all day too. (Try Apple ID > Password and Security on your iOS device). It surely can't be related.
I've stop using dark mode
A significant chunk of this drive is for the Rust/Linux kernel project.
I still do not understand why there's a lot of focus on Germany without mentioning Italy.

They have voted in the 80s to ban nuclear power as well, and now energy costs are through the roof. It will be an awful, expensive winter over there importing French nuclear electricity and Russian gas.

AFAIK there is no movement whatsoever to reconsider that referendum. Last I checked Italians are very much against it.
Julia has an IR called Julia IR that is used before compiling to LLVM IR, it's a bit higher level than LLVM ir
Generally, no. The IR will be tuned for compiler purposes, not execution purposes. It can be possible but it won't be optimal. For instance, the IR will probably retain type information that generally CPUs don't care about, since they live in a world of bits. The IR will have been designed knowing it is upstream of optimization code, so it won't be something that is already optimal, it'll be something designed to be easily made optimal in many different ways.

As Blackthorn mentioned, specifically it can be done. There was a chip that ran JVM bytecode directly. There was an entire Lisp Machine which was very influential... but not because of its high performance.

Wikipedia has a page on this: https://en.wikipedia.org/wiki/High-level_language_computer_a...

Many people decry the lack of innovation in computer architecture over the past 50-60 years. There is a legitimate reason for that, though: Any such innovation had to outrun the exponential increases conventional architecture was experiencing. We had it for so long we could take it for granted, but while computing wasn't the first and won't be the last to see periods of exponential growth, I can't think of anything else that had the length of run that computer chips had. (And even now, it's only slowed down. There's still multiplicative advances rather than additive ones every year. The base on the exponent is just smaller than it used to be.) There's been a number of architectures based on running IR (or an equivalent directly) that didn't pan out, but there's also some that did run OK, but they just couldn't keep up with the exponentially accelerating behemoth.

I think if silicon continues to plateau, there is some hope that this could change. However, a new challenger has appeared! Now it's not good enough to just outrun what a "conventional" architecture can do with CPU and RAM and peripherals... now you also need outrun what a GPU-based architecture can do! This sucks up a lot of the oxygen. For instance, right now you see some tentative steps towards special-purpose AI silicon, but it has to do something amazing to beat out a GPU, and you also have to be really, really sure that the AI technique you are committing to silicon will still be the state-of-the-art in the couple of years it'll take you to bring it to market. AI hasn't been moving as fast as, say, JS front-end frameworks, but it's still moving fast enough that I'd be nervous in investing in that vs. the same amount of effort poured into optimizing a GPU algorithm on GPUs that are still advancing a lot every year.
Slightly off-tangent, but i really wish there was a good, freely available, decent-quality dataset of the world surface (like Google Earth but anyone can use it). I obviously don’t expect everywhere to be fully mapped but even popular cities like Boston don’t have very good models. And it would be amazing to even have models of some of the more rural places.

It would make a great scene for games and animated movies. The world is a beautiful place and seeing places you’ve been is nostalgic.
There was a good book that got released earlier this year on the development of sanctions as an act of war. Highly recommend: https://yalebooks.yale.edu/book/9780300259360/the-economic-w...
Check this https://solarsystem.nasa.gov/resources/2393/earth-3d-model/
Having watched Russia completely fail to execute complex air combat operations in Ukraine of the sort we take completely for granted from the US, I think maybe you are underestimating US air combat performance?

EDIT: Hmm I guess you edited out the part about saying the US has been losing for 60 years.
I feel like something like this could be incubated INSIDE Rust.

Look at this tiny proof-of-concept lisp in a rust macro:
https://crates.io/crates/macro_lisp

- Full LSP support (because rust macros have full LSP support)

- Compiles down to bare-metal code

- It's just Rust at the end of the day, so all the incredible tooling is already there.

If I were to start making a new lisp today, this is what I'd do!
> It's like .. okay, imagine you have this market you used to shop at. You really enjoyed going there for years, but it's been bought by Walmart. For reasons, Walmart isn't shutting down the market, but they're not restocking it, making sure it smells bad and the products are past due-date, and they're almost threatening you to use their big store which you absolutely don't want to use "or else".

The comparison isn't just stretched IMHO, but downright faulty. With the old site and the API being both still present and perfectly functional, it's more like if said Walmart kept the old store up right next to the new one, still keeping it stocked - the new store has new sections, but I'm perfectly free to shop in the old one. Nothing makes me feel like I'm not wanted there.

Maybe that's enough for you to feel unwanted, it doesn't for me - yet. When they do cut old/API, it'll start feeling like they're actively pushing me out, therefore my previous stance.
And a group of physicist getting very expensive toys while the chemist/biologist/psychologist do not is exactly that. The physicist have rights and privileges the others don't have.
Respectfully disagree. The fact that you can't see the flaw in losing the trust of your entire organization does not make you look intelligent.

Over the course of the next 6 months all of the top performers left. Some stayed within the company and went outside of that VP's org. Most left for other companies. Most of these people had been with the company 5+ years.
It's a good mental practice to always be aware that stated intentions and actual reasons are entirely separate things.

They do sometimes, mostly by chance, coincide.

The advanced level of this is to be aware this applies even to your own actions.
AK is not difficult to read, IMHO. I say that as someone not particularly persistent about "difficult" books: I couldn't get through either War and Peace or The Brothers Karamazov, or many other "classics".

Whereas I've read AK three times.
I suspect Julia has its own IR that is later lowered into LLVM IR. One of the aspects of multiple compilers is that it's basically a massive tower of IRs that get progressively lowered into lower- and lower-level IRs.
If they stop calling it "buying", I would consider it an improvement.
Let's be real here, this is Europe we're talking about. It's not like those trees were holding carbon from 500y ago. Wood is pretty ok in terms of carbon. It's the same carbon going around and around again over the course of a century. The tree doesn't grow out of nothing.

Pollution on the other hand...
apple2.org.za has hosted a ton of useful Apple II content for a long time. I believe the owner of the site is in Joburg. (He is providing hosting for this project, but isn't one of the main contributors, AFAIK.) I've always thought it was interesting that one of the most valuable Apple II sites is in ZA, because I'm not aware of South Africa being a hotbed for Apple II users in general.
Your argument is different from your explanation. You're speaking about complete isolation. Children need some socialization for them to adapt to the modern world. That's different than proving humans need social connections in the long term. Almost all people want some form of socialization, some less, some more. It's extremely rare a person would want complete isolation forever in perpetuity and I say that as a person who can only handle about an hour of socialization before I want to climb in a hole. What no one talks about is when too much socialization can impair growth.
> [Preventing public discourse] is, I believe, also the intention behind the calls to repeal Section 230

What do you think about calls to remove platform immunity from algorithms that have an editorial effect?
Memories grow dim after 33 years - I don't remember. It do remember that it didn't totally make sense to me at the time.
I think the best human players can beat the best computer players in Stratego. Thus, Stratego is an excellent choice.
> By the same account, I expect your typical developer of a regular company, myself included, seniors included, etc, etc, to be completely lost if they had to optimize code for a given hardware and needed to write some assembly, or whatever, disassemble some JVM class files, etc.

I've done both. I've gone from high level C# to counting clock cycles for embedded, and then back again.

There is a transition period, but it is perfectly do-able. It is helpful if you have someone to show you the ropes, but after that it isn't too bad.

Heck I've met some teenagers who are into disassembling JVM/CLR stuff. (Which is actually, IMHO, much easier than raw assembly).

Have you ever done scaling calculations for AWS services? Same sort of logic applies to writing code for embedded, there is just a different number of mhz and instead of gigabytes of memory you are talking kilobytes of memory, but other than order of magnitudes, the reasoning is actually not that dissimilar.
Right. Similarly I don't think courts like enforcing contracts that effectively say, "we can arbitrarily renege on our end and still keep your money". (Not a lawyer, not legal advice, hope someone with more knowledge chimes in.)
As with all indiegogo/kickstarters, a healthy amount of skepticism is warranted. However, the video does showcase what seems to be a working devices growing various mushrooms.
Covid Booster Dose Less Than 20% Effective @ 9 Mo.s According to New Study [pdf]
It depends on what you use AllenNLP for. AllenNLP has a ton of functionality for vectorizing text. Most of the tokenizer/indexer/embedder stuff is about that. But these days we all use transformers for that, so there isn't much of a need to experiment with ways to vectorize.

If you like the trainer, or the configuration language, or some of the other components you should check out Tango (https://github.com/allenai/tango). One of Tango's origins is the question "What if AllenNLP supported workflow steps other than read -> train -> evaluate?". We noticed that a lot of work in NLP no longer fit that simple pattern, so we needed a new tool that can support more complex experiments.

If you like the metrics, try torchmetrics. Torchmetrics has almost exactly the same API as AllenNLP metrics.

If you like any of the nn components, please get in touch with the Tango team (on GitHub). We recently had some discussion around rescuing a few of those, since there seems to be some excitement.
But... isn't it just a tags cloud expanded?
Determining that you only wrote to the bottom 32 bits of the register being copied from is hard for hardware to see; and if the compiler can see, it has no way to tell the hardware.
It says it only supports subset of LDAP, but it like to know what is included. Or better, what is missing.
Correction, its down.
Are templated VMs contained within a few kilobytes of config files? Can anything in the entire system be included or excluding by tweaking these text files? Can it be used as a desktop on bare metal?

ZFS and BTRFS are orthogonal and often used in conjunction with Nix.
It basically means the money he gets while he is in prison he keeps. So if he works, he'll keep his salary. If someone puts money on his books, he gets to keep that. If he didn't keep up with his payments to his debt he would be on a more restricted regime. While it seems like a small thing for us, it's a pretty big deal for his quality of life since he was never going to pay that back so for the rest of his life he would have had less prison money than he earned.
also D and Objective-C!
No - they're saying that what we call "drought" isn't actually drought, in historical context. It just seems that way if we're looking at too short of a timescale.
Food-seeking behavior is triggered by skin ultraviolet exposure in males
In the past month or so, the latest version of rustc/llvm seems to produce correct machine code. It was very rough for a couple in years though.
We moved to a somewhat set release cadence and then instead of discussing timeline estimates with clients, we discussed release scoping and what was in the next release(s).

It had a helpful effect of abstracting the development team and helped shift the conversation away from button clicking towards a ‘product increment’ and all the extras it entails, but also from the customers perspective it helped engage them on a more meaningful level - prioritization of features vs the technical steps the dev team would be performing.

Then we avoided justifying timeline in favour of ‘if you wanted it for next release, we’d need to drop a/b/c or add resources x/y/z’ beyond a cursory ‘it adds some complexity with the other module’ etc.
Pro-tip, that also works with all other colors except green.
If you are using Jupyter notebook, try the following https://stackoverflow.com/questions/63130386/rendering-a-glt...
Germany is set to run out of gas during winter under optimistic scenarios. This is looking less like a bit of unpleasantness and more like economic suicide by the day.

LNG is not going to suffice. There isnt even the port capacity to bring it in. Rationing would have to be extreme just to ride out the winter. And then what?

Hitting the economic self destruct button so that Ukraine reserves the right to join NATO doesnt look so appealing any more.
It's funny you say people in the U.S. were fully onboard with supporting Ukraine. I recall hacker news had a lot of posts against sanctions when the U.S. announced sanctions. Hacker news has a decent amount of libertarians and crypto-anarchists, as well as other free thinkers. All of whom had reasons to be against sanctions. (For one thing sanctions are interference in the free market.)
Yes, the issue raised definitely not prevents a high-performance implementation.

But it's still interesting to ask ourselves if this is not an unnecessary cost?

The concern I have here is that to deal with this question you need very good microarchitecture knowledge about vector-unit, and the author doesn't seem to have them, but he reaches a confident conclusion.

How does one reach a conclusion with so much confidence on a technical subject that one does not know?
I tried to get into SBCL a few months ago and I found all of the documentation I encountered to be really good (really good) but there was just too much to learn. I'm not complaining, I just didn't have the time personally to climb the learning curve (despite all the available lore from previous climbers.)

When you start with a small system and reinvent things, you know them from the inside out. Often that's easier and more fun than reading up on an existing large system. The downside, of course, is that we wind up with incompatibilities and myriad idiosyncratic ways of doing things.
My belief is that the open internet began to pose a threat to those in power, they now seek to divide the internet back up along national boundaries via absurd regulations in order to for the traditional institutions to maintain their power. We are already seeing it with many sites being unwilling to deal with the compliance headache of GDPR and just blocking European users, plus it seems like half the internet is off limits to China because everyone blocks Chinese IP addresses because of their bad behavior.

Ultimately the only people who benefit as the internet gets more and more locked down and more and more regulated is the people at the top who are able to reassert control of the information those unwashed masses receive.
Well, so far this hasn't deterred anything nor apparently slowed Russia down but it has had massively negative consequences for Europe.

In general, basic self-interest in geopolitics means to always to something only with a clear upside for yourselves (duh)

With the energy prices as they stand, the UK for example is heading for a social and potentially humanitarian disaster this winter. I don't see how "being firm against Putin" or "Ukraine" justify it.
The last sentence is really true. I went into contracting/freelancing about 3 years ago and whenever I take time off, I still feel "guilty" because I could be working and make X amount of money extra.

I think it is good to have that insight tho, but if you start to remove your personal life because of this, I think you should really need to reconsider your strategy. (Looking at TS)
The main trouble would be you'd need to sell it as sounding reasonable so you'd actually have to have reasoning not just state the opposite for the heck of it.

That said there is nothing wrong with conflicting informational RFCs, they are meant to share information with the community not to convey consensus so it's fine to have conflicting views as long as it sources from differing information. That said it's generally considered better for you and the other person try to come to a common understanding and share that information as one informational document.
Road to GDE: Supporting Future Google Developer Experts
Thing about multi-million dollar full flight simulators used for pilot training is, I doubt they're as concerned about having the latest picture perfect beautiful graphics.
I'd say it's more like vim. Steep initial learning curve for a few months then it becomes pretty easy and indespensible. Perhaps Haskell is like this but I never got past the curve.
> OpenLDAP configuration is stored in OpenLDAP itself, so you need to know about OpenLDAP in order to start learning about OpenLDAP.

And postgres configuration is stored in Postgres, so "you need to know about postgres in order to start learning about postgres"...

this is a time-honored database tradition, relational metadata is often itself very relational data and you can often get a huge amount of code reuse by utilizing the same handling mechanisms for the data as the metadata.
Simple Resume Hosting
Look below C-Suite. There are actually relatively few Ivy League types if you take a larger sample across industries.