skysight-inc/HackerNews huggingface dataset:
Show HN: Graph embedding based code suggestion framework
Introducing GraphSense
GraphSense is a framework that can be used to easily train and use code suggestion models with minimal data preprocessing and resource consumption. No transformers were used and underlying algorithm used was Node2Vec. Models trained will be able to suggest next code line using current code line.

locally training GPT models for code suggestions takes too much time and resources

GPT-based code suggestions take too long and consume more memory

But GraphSense takes code suggestions down a different path by ditching transformers for more efficient graph embedding-based code suggestions.

GPT2-medium model memory usage: 1800 MB
GPT2-medium model inference time (GPU): 2 seconds

GraphSense memory usage (1M vocabulary): 734 MB
GraphSense inference time: 0.0444 seconds

Install using: pip install graphsense
Github Repo: https://github.com/NavodPeiris/graphsense

If you like it, start it
It's common to say that sulfur/natural gas smells "like rotten eggs" but I've probably not smelled a rotten egg in isolation for 40 years. But since I'm familiar with sulfur-type smells I could probably figure it out. I expect a future of bad and rotten eggs in our supermarkets...
It became a test case of whether there is a limit to punishments for crimes. Is a life sentence for littering constitutionally legal if there is a valid statute that says it is?

The courts eventually up-ended the person's sentence somewhat and reduced it to the minimum available, 6 years. I don't know whether the person had already served over that time before his sentence was adjusted, but I would hazard a guess that he had.
In fastplotlib at the end of the day everything is wgpu under the hood, and as the other poster correctly pointed out about numpy being fortran and C wrappers.
https://en.wikipedia.org/wiki/De_Morgan%27s_laws
Any chance this would be a good fit for existing off grid houses and expanding the home battery life?
The correct URL is https://www.ameba.jp/
It was considered and tested, just not used in the end.
China has been methodically preparing for trade war and decoupling for the better part of the decade. US went in full throttle with zero preparation. This is not going to end well.
So unemployment — as we’d like to say it: “functional unemployment” — it’s really in the 20s, which is horrifying. And for people of color, it’s much worse.

If you look at the linked “functional unemployment” chart (https://www.lisep.org/tru) the numbers in the past three years are the lowest on record. It has been on a consistent downward trajectory, minus 2008 crash plus COVID, so that does not seem worth highlighting. The basket of goods argument (the representative purchases for a household is unrepresentative) is more compelling.
Interesting topic indeed but I have to say - the writing style completely nailed it! I love the humor and the figurative language. Great delivery.
Adding: the server and client had to both be running vis patched maps to be able to see other players in the water due to the way entity visibility was calculated server-side.

The downside to running vis patched maps on a server is it used slightly more CPU than unpatched maps IIRC. Perhaps someone that ran more servers than I did (I ran two nodes on an Intergraph InterServe with dual P6-200s) could weigh in on what the impact was at scale.
> If they don't adopt UBI then some populist politicians are gonna raise a flag and grab some power.

Only in a democracy.

China has elections, but is also a one-party state. Given the culture (thinking in terms of the group rather than the individual), I think they may actually want UBI anyway.

America is a democracy right now, but such things have been known to change before. Doesn't even need to be all at once — say the US disenfranchised convicted felons, that would mean the sitting president wouldn't be allowed to vote… and because I google before posting comments, wouldn't you know it, this is already a thing the states do: https://en.wikipedia.org/wiki/Felony_disenfranchisement_in_t...

(I don't know how accurate the book title is, does the average American really commit 3 per day? https://www.amazon.de/-/en/Three-Felonies-Day-Target-Innocen...)
What is the cross compilation support for NativeAOT though? This is one of the things that Go shines (as long as you don't use CGO, that seems perfectly plausible in this project), and while I don't think it would be a deal breaker it probably makes things a lot easier.
Thanks. That will be very cool.
Exactly. In fact, I still regularly get sharepoint "request for access" notifications in my email for some presentation I did a year ago. Even though I swear I've opened it up to the entire org.

Who knows what happens when I've shuffled away from my current company.

Dead links are also incredibly common, particularly because we are on our nth port from sharepoint to confluence to whatever back to sharepoint. Generally, because C levels don't want to pay for this year's price hike.
I'm not sure Congress does have the power to do prevent this. This program was created by executive order and can be removed by executive order.

They might be able to re-create it via legislation. Still, that's not going to happen fast even if Congress wanted to.
I didn't know they were doing virtualized hardware sufficient to run a Wayland. That could be very very very simple/bad performance, who knows. But it's something!

I really thought this was going to be a terminal only release.

I wonder how much of this work was already existing vs how much was diy. Did they use existing virt-* work? Did they bring in ChromeOS's many many virtualized device sandbox daemons?

Linked from the article: https://www.androidauthority.com/android-16-linux-terminal-d...
If you assign an intermediate result to a variable in a procedural loop, you can also assign intermediate results of parts of this chain to variables.
> While we’re not yet feature-complete

This is a big concern to me. Could you expand on what work is left to do for the native implementation of gsc? In particular, can you make an argument why that last bit of work won't reduce these 10x figures we're seeing? I'm worried the marketing got ahead of the engineering
Different use cases :) Plotly doesn't give the performance and interactive tools required for many neuroscience visualizations. We also focus more on the primitive graphics and, at least not yet, on the more complex "composite" graphics built with primitives like histograms.
I agree. After compiling it is even quite likely that the compiler does not care you gave a name to a return value (assuming you let it infer the variable type).
What you will see in practice is that the intermediate is explicitly “materialized” (e.g. into a list), because the author wanted to inspect it in the debugger. That will have some cost, mostly in the form of avoidable allocations.
Thanks Ivo!
The app gives pretty good discounts. It's pretty easy to save about 20% using the app for an order. I think the rewards is also about 10-15%. If you are going to go to a Quick Stop Restaurant, it's generally a good idea to use the app.
>we’ve learned through efforts in the 80s that charity breeds dependence

Is this the sort of thinking that led to the famine walls being built?

Why do people think this?
You visit every day for 15 years and never left a comment? That's kinda crazy. It makes me wonder if this is actually common and we don't realize.
What shocks (and irritates!) me is that Charles Schwab keeps wanting me to set up voice ID. Why would I want to set up a voice ID for something that is now trivially spoofed?
I must I must say you make a very valid point. I am not comparing smoking to Gambling but comparing the phenomenon of people who used to give up smoking everytime the tax was raised. Finally when it hit the max tax under GST the spectre of tax hike ceased to exist prior to every budget. There is a big possibility the same behaviour will be replicated in case of gambling.
Coincidentally Google Chrome is no longer available on a single computing device I own.
I have had great success with Claude Code by asking it to do TDD (something I personally don't practice). The agentic loop seems to benefit from writing the tests first and then hands-off code iteration until they pass.

When working with Claude Code I tell it to add a lot of very verbose debugging output to the software as well, I find that being able to ingest the stdout logging in its agentic loop also improves the quality of iterative results.
To avoid the scenarios like the one described in the court case, setup a family password or keyword. The bot will not know it.
To be fair, the Cybertruck wouldn't be what it is today without Elon's willingness to ignore anyone else's opinion.

Is that what was meant by badly simulated respect?
That sounds like loosing control of a protest to me
Thanks Ivo!

Just to add on, colab is weird and not performant, this PR outlines our attempts to get jupyter-rfb working on colab: https://github.com/vispy/jupyter_rfb/pull/77
Probably hard to give valuable feedback on tens of thousands of rejected applications.
This is very nice. But thinking more along the lines of, can I embed a single interactive widget in a blog post.
How in the world would they enforce this? Once AI images become completely imperceptible to real photographs, how can you prove one is real and one is not with any modicum of accuracy to say you violated the bill?

It seems like most LLM providers would have to block access to Spain rather than try to follow these guidelines.
Are remote jobs completely over now with rampant AI fakers?

How common does this happen now?
Von Der Leyen: "We will turn the private savings into much needed investments." :-)
I've also worked on designing new matrix decompositions, and I've never found the need for anything but `imshow`...
Almost all DBs have a default starting ID of 1.
California still lags behind pre-pandemic reading and math scores
Right, at that scale, For a galaxy to move a fraction of a centimeter will take a thousand years. So not much will be missed in a gap of 6 months.
You've had some answers already, but I also think this is a good argument for syntax highlighting. With tools like tree-sitter it's pretty easy these days to get high quality syntax highlighting, which allows us humans to receive more information in parallel. A lot of the information we pick up in our daily lives is carried through color, and being colorblind is generally seen as a disability (albeit often a mild one which can be undetected for decades).

Syntax highlighting in print is more limited because of technological and economic constraints, which might leave just bold, italics and underlines on the table, while dropping color. On screens and especially in our editors where we see the most code, a lack of color is often a self-imposed limitation.
It's less likely for the presidency, but for other offices, it's often the case that an incumbent has only token competition.
> I have to wonder if Espressif is considering legal action.

As the article says, they worked with Tarlogic to provide a correction. So, probably not.

https://www.tarlogic.com/news/hidden-feature-esp32-chip-infe...
Thanks! I used pyqtgraph for many years and love what can be done by it, we started off wanting to build something like it but based on WGPU and not bound to Qt.
I don't know man?

We're already at a place where most people don't care what other people think of them.

Issue is, as long as the government has the big guns, what the government thinks of you will still matter in a major way.

In such an environment, most people are going to choose to have some kind of way to prove to the government what they did and what they didn't do. Not because they care what other people think as you're implying, but rather because they very much care that the government not get the wrong idea about them. Because the government getting the wrong idea about you can be fatal.
We are still a fully remote company, but we added an additional on-site stage to verify if the people are legit. So I would say that the jobs are not over, but hiring just got way more expensive.
I have enough trouble processing spoken words without being able to see the person's face, let alone a tough accent. I think the most understandable English accents I've heard on a phone conversation are Jamaican and Russian. FTR, I'm US born and raised (mostly Arizona). They just tend to put a little be more emphasis on the words.
>disguised aid by offering preferential terms on work visas etc.
How on earth is a policy encouraging brain-drain aid??
Sometimes things are much simpler than they seem at first. You set a nonvolatile flag at startup time: badShutdown=true. Prior to shutting down normally, you clear the flag. Then, if the flag is ever found to be set at startup time, you can assume that a crash occurred.

Whether the crash was really due to the battery can be inferred from the battery's age. If the battery is relatively new or is otherwise determined to be OK, don't issue this particular warning. If it's within, say, 90% of the expected service life, then the warning makes sense.

In any event, logic similar to the above was employed at some point to determine when to degrade the phone's performance. That is the point where the warning should have been issued. There are no valid excuses for not doing so.
This is pretty much the standard for C libraries / programs.
The elites leaving common folk relatively alone would be a best case scenario. If people are free to build and supply for themselves with UBI then life wouldn’t be bad.

Problem is elites usually want control. Oh you’re running small scale manufacturing with open source AI and robots? That’ll be a fine for “safety” reasons. Look at California requiring permits for everything.
My HN account is 18 years old. Still no successful businesses to speak of after a few attempts. Have started an NGO instead to promote better urban planning and design.
The US has squandered its advanced manufacturing capabilities, warning bells have been sounding for decades, and yes, those chickens will eventually come home to roost. Not yet but soon.
Discussion and video link here for anyone else interested: https://github.com/microsoft/typescript-go/discussions/411#d...

And lightly edited transcript here: https://github.com/microsoft/typescript-go/discussions/411#d...
I remember reading a stat on reddit that 10% of users upvote and 1% of users comment. So if my memory is (near) accurate, that's very common behavior.
Even simpler than that. I know Goldman Sachs will refuse to connect to their servers if you're using a proxy of any kind so that you can't easily inspect network traffic.
The more I write software, the more I think errors should be first-class citizens (camp #2 from the OP's post).

I've been using https://github.com/biw/enwrap (disclaimer: I wrote it) in TypeScript and have found that the overhead it adds is well worth the safety it adds when handling and returning errors to users.

That said, I see parallels between the debate about typed vs. non-typed errors and the debate of static typing vs. dynamic typing in programming languages.
What does China have to be scared of? Their biggest geopolitical rival is burning every bridge they have with their (former) allies, destroying their own economy and essentially ceding superpower status to anyone willing to fill the power vacuum. All China needs to do is stand back, let it happen, and look like the adult in the room. If I were them I'd be more concerned about Europe than the US.

Never interrupt your enemy when they're making a mistake. - Sun Tzu, or Napoleon. Somebody definitely said it.
I agree with you sfpotter, very interesting. Looks in some ways similar to PyQtGraph regarding real time plotting.

I agree with you regarding matplotlib, although I find a lot of faults/frustration in using it. Both your points on 3D plotting and WYSIWYG editor would be extremely nice and as far as I know nothing exists in python ticking these marks. For 3D I typically default to Matlab as I've found it to be the most responsive/easy to use. I've not found anything directly like a WYSIWYG editor. Stata is the closest but I deplore it, R to some extent has it but if I'm generating multiple plots it doesn't always work out.

I'm surprised by what you said about "EDA". I find the opposite, a shotgun approach, exploring a vast number of plots with various stratifications gives me better insight. I've explored plotting across multiple languages (R,python,julia,stata) and not found one that meets all my needs.

The biggest issue I often face is I have 1000 plots I want to generate that are all from separate data groups and could all be plotted in parallel but most plotting libraries have holds/issues with distribution/parallelization. The closest I've found is I'll often build up a plot in python using a Jupyter notebook. Once I'm done I'll create a function taking all the needed data/saving a plot out, then either manually or with the help of LLMs convert it to julia which I've found to be much faster in loading large amounts of data and processing it. Then I can loop it using julia's "distributed" package. Its less then ideal, threaded access would be great, rather then having to distribute the data, but I've yet to find something that works. I'd love a simple 2D EDA plotting library that has basic plots like lines, histograms (1/2d), scatter plots, etc, has basic colorings and alpha values and is able to handle large amounts (thousands to millions of points) of static data and plot it saving to disk parallelized. I've debated writing my own library but I have other priorities currently, maybe once I finish my PhD.
I'd say that's largely already happened and continues to. I know there's sometimes effort to give characters proper accents, but it's usually not too good. I did find it amusing to watch a show like Blue Bloods where they're all a local family, but all have different natural accents.
If you comment once on HN you are easily in the top 5% of users by comment count.
I appreciate that you came around, but I think its important to highlight this common misunderstanding of the role of caching in achieving scaling beyond certain hard boundaries. You previously thought caching was bad, and instead should look at your indexes.... which are just a different kind of cache! I see this disconnect a lot, especially when in ruby/rails world when people think that the bottleneck is going to be the framework, while ignoring that the actual solution to scale is caching in various forms.
nah man, I was just having some fun :) though OF COURSE politicians would want to legislate it - anything that controls the public narrative is exactly what today's politicians want to regulate
"It has been determined" that infected dairy herd serology can be disclosed
https://www.reddit.com/r/windows/comments/w9fd1g/new_compute...

Must say it's really hard to find who might have paid for a bundled installer. Filezilla I remember had a lot of those and some forum threads will mention a specific "offer" they got, but there's no listing anywhere, and it's not in the source code history because they were (so I just read) dynamically fetched from advertisement servers upon launching the installer. Searching the web for Google Chrome bundling (phrased a few different ways), you get mostly present-day results about how to install Chrome or how to bundle it as sysadmin in a Windows group policy or something. This is the one thread I found where it sounds like computer manufacturers bundled it, but if there's many more then I'm not sure I'd have found it
Good stuff, but it's worth mentioning that the Xbox itself runs a custom version of Windows that solves all of the UI and device management issues mentioned here. (Surely no one thought it ran some other OS, did they?)

I think it's safe to say that MS worked out all their console concerns in Windows a long time ago, which is what makes it easy for them to let a partner ship portable hardware and make it a real Xbox in all the ways the author wants.

I'll definitely be getting one.
I agree. I am still bitter from the time when I asked my buddy from the tourist club if I can join their ride on a road bikes on my emtb.

And he barely said that he is against it. He had no honesty and bravery to tell me he thinks this is "cheating" or smth. And he knows I am overweight and chronically ill, but he still thinks it is just a matter of training more etc.
That's not the point though. If you need the syntax highlighting to quickly make out the structure, perhaps the visual layout is not as good as it could be.
> our employers have no obligations to us

Except the money they are obligated to give you. For the work you do for the money. Which is paid.
I'm a bit surprised at the approach to RAG. It will be great to see how well it handles complex PDFs. The max size is far larger than the Anthropic API permits (though that's obviously very different - no RAG).

The chunking strategy is... pretty basic, but I guess we'll see if it works well enough for enough people.
There was obviously value extraction taking place in these areas. The question is if this extraction had meaningful impacts on the trajectory of the imperialists or that of their subjects. Decolonialists would have you believe that Britain would not have industrialized had it not been for materials they "stole" from India, Africa, and the Americas.

Let's suppose this extraction had an appreciable impact on the development of Britain: Could you explain why the British are not as wealthy as the Germans or the Swedes, being that the British possessed colonies, and the Germans and Swedes did not? This pattern holds for almost all North European countries, so take care that your explanation does not fixate on the two I have chosen.
Gmail gains Gemini-powered "Add to calendar" button
There is also Firefox Focus. Been using it on iOS since it came out a few years ago.

It integrates as an ad blocker for Safari, so I don't actually use Firefox itself (since as you mentioned, all browsers on iOS are just a wrapper to Safari anyways).

I just browse using Safari and ads are blocked by Firefox Focus. Pretty neat.
I can confirm. I have run into a number of money/banking/healthcare apps that refuse to run (or in some cases, run but not sign in) if the device is rooted or in developer mode.
Personally, I think we need less balkanization + telephone game rather than more.
Sony World Photography Awards 2025 – Landscape
Nice, i'd be interested to know which method for drawing lines (which is hard [0]) it uses.

[0] https://mattdesl.svbtle.com/drawing-lines-is-hard
> "Google wants to turn Android into a proper desktop operating system"

Years ago (2020 I believe) I received a new laptop and Samsung S20-something for my new job. The laptop was DoA and I was unable to complete any of the internal training courses assigned to me (which required certs and such to access). I remembered DeX and on a whim, plugged the Samsung phone into my hub with Monitor, Keyboard, and mouse. Set Chrome to desktop mode and "worked" entirely on my phone until they replaced the laptop. It worked shockingly well, even back then.

I don't think those types of "desktop mode" features ever took off, myself included, but I really wonder why. If Apple let you run macOS from a tethered iPhone, it just might!
Happy birthday, YC!

There isn’t a website on the internet that I’ve learned more from than this one.

Thank you.
I'm not familiar with the history here. What happened?