skysight-inc/HackerNews huggingface dataset:
> How do I transition from etags to treesitter?

… to LSP: You don’t throw your tags away. If you run an LSP client it will add an “xref-backend” transparently, so Emacs will get all references and definitions from the LSP server. If you turn off LSP mode, Emacs will fall back to the etags backend. I don’t think you need any configuration for this to work.

Treesitter modes do not implement an “xref-backend” AFAIK.
That is a 404 for me. It appears to also be a 404 from their main page, error is on their side.

[Edit] They fixed it after I submitted feedback to them.
The length of the salt was zero at some point early on if I remember correctly.

If you’re concerned Steve Gibson did a good rundown on the security now podcast
It's far simpler and more rewarding to be rent-seeking rather than innovative
Web3: The next big online revolution or just a big hoax? [video]
Wow, and here I was complaining that they are fixing the language too slowly…
The current meta is to use a mixer and then gradually move the funds through successively less sketchy exchanges.

E.g. coinbase don't let you deposit from mixers (at least in large amounts), but they do let you deposit from okx, which in turn accepts deposits from sketchy chinese exchanges which accept deposits from mixers.

Alternatively, you can go via monero but that only replaces the first few steps in the ladder.

Thankfully I don't think any proposed regulation does much to stop this, short of entirely banning crypto, which I don't see happening any time soon.
This feels a little hyperbolic. I’m a world where Forever 21 was importing actual slaves chained to sewing machines I think the people accepting voluntary contracts that undercut the price of local labor are at most modern indentured servants.
> why would you need parens when you know the for starts the next nested loop

Well that's the thing, I don't know the "for" starts the next nested loop because there's no indicator for that, and aside from that it's harder to see it at a glance. Nested loops have a colon, line break and deeper indentation inbetween, here you get nothing.

To me it feels like it breaks Python's own rules: the language omits curly braces for scopes but ensures readability with colon & indentation. But here the chained list comprehension nests two loops without any visible scope boundaries.

Perhaps it's just me and others can read it just fine, but that's my two cents on it.
Customisability is the biggest selling point of emacs. I tried it many years ago as a user of Visual Studio. This way way before LSPs became a thing. I decided I much prefered Visual Studio at that time.

Then I transitioned to doing a lot less in C/C++ and more in Python, Java and shell scripting. I used Pycharm and Idea for a while as I got the licenses at work, eventually I tried Vscode with all the plugins, LSPs etc. I tried emacs again at the time. I liked the much better customisability, but I hated the fact Emacs was no faster than vscode on large codebases with lsp.

Eventually neovim with treesitter showed up and I embraced it as a nice quick editor. Then I heard emacs 29 has treesitter too so I decided to give it a try. Why? I was relatively happy with neovim, but certain things bugged me. I wanted ability to have different fonts and font sizes and other things.

So I started looking into emacs again. I wanted to learn the "emacs way" as opposed to the evil mode so I stayed away from distros like doom emacs. I set up treesitter (including for extra languages like hcl) an extra color theme and I'm happy enough to pursue it further this time.
Good riddance - it is unethical to work for these companies unless you attempt to sabotage their operations from the inside.
The argument against it, and the one companies like Intuit are using is that the government has incentives to make people pay more, for example by making it easy to miss deductibles.

Private companies incentives is to save their customer money by not paying more taxes than they should, because that's where the value of their product lie.

I don't live in the US, so I don't know how things are done there. I live in France and we have a rather good government website, doing my taxes takes me less than an hour, but my situation is simple as I am an employee with very little deductibles. Most self employed people I know hire an accountant.
I rebuilt TechCrunch.com in 30 mins with WordPress [video]
It's only exploitation if those workers have to live in the US. Something like 50kUSD/y is laughable to an american but is actually a ridiculous amount of money for a lot of people due to exchange rates. More than worth it so long as they can work remotely without paying US cost of living.
Well time to send LG a GDPR request and watch them scramble.
Perhaps they wipe down the seats and feed it into a machine when doing "routine maintenance" at a dealership or licensed repair shop?
Show HN: Ghidra Plays Mario
I've been exploring new ways of testing Ghidra processor modules. In this repo, I was able to emulate NES ROMs in Ghidra to test its 6502 specification, which resulted in finding and fixing some bugs.

Context: Ghidra is used for reverse engineering binary executables, complementing the usual disassembly view with function decompilation. Each supported architecture has a SLEIGH specification, which provides semantics for parsing and emulating instructions, not unlike the dispatch handlers you would find in interpreters written for console emulators.

Emulator devs have long had extensive test ROMs for popular consoles, but Ghidra only provides CPU emulation, so it can't run them without additional setup. What I did here is bridge the gap: by modifying a console emulator to instead delegate CPU execution to Ghidra, we can now use these same ROMs to validate Ghidra processor modules.

Previously [1], I went with a trace log diffing approach, where any hardware specific behaviour that affected CPU execution was also encoded in trace logs. However, it required writing hardware specific logic, and is still not complete. With the delegation approach, most of this effort is avoided, since it's easier to hook and delegate memory accesses.

I plan on continuing research in this space and generalizing my approaches, since it shows potencial for complementing existing test coverage provided by pcodetest. If a simple architecture like 6502 had a few bugs, who knows how many are in more complex architectures! I wasn't able to find similar attempts (outside of diffing and coverage analysis from trace logs), please let me know if I missed something, and any suggestions for improvements.

[1]: https://github.com/nevesnunes/ghidra-tlcs900h#emulation
Saving you a click: the government has a cron job that runs once each night checking for new entries in law enforcement databases across the US.

Wouldn't we be concerned if a trusted traveller program didn't do this?
To hold this position is to assert that modern employment is wage slavery. That extends beyond H1B. It also undermines the suffering of the actually enslaved but I do not think that was your intention.
> how do we solve for the society-wide censorship problem

Or: how do we "solve for" the people-that-want-absolute-freedom-of-speech problem? Because that's the other side of the coin. Some mild restrictions on what can or cannot be said in public environments is not tyranny.
what two days a week?

without planning and coordination, you are likely to sit alone in an office on a zoom call, because you came to the office on a day that no one you are interacting with came to the office.

unless it is about the office, but, wework didn’t go so hot.
Unsurprisingly it's a Laravel plugin for IDEA.

https://plugins.jetbrains.com/plugin/13441-laravel-idea
To be clear, I’m not claiming it’s legal (or agreeing with the guy who says it’s no big deal). Just pointing out it is fairly equivalent. More than I expected before I started thinking about the comparison.
Picture are one thing. Using those pictures (shadow profiles etc) is very different.

Whether it’s legal or not is menaingless given the power imbalance.
Any guides on how to make multi millions per year as consultant?
We’re talking about different ‘artists’ here.

You seem to mostly emphasize commercial artists. Even for that the decline in quality and originality is obvious, over the years the level of work has declined since most pump out safe undaring cliche after cliche. Just look around, perhaps Hollywood is a good example as you can trace back historically.
Yeah, only a month after? That process had likely been approved many months before that even and was only then taking effect.
Did this comment fall out of a 1995 time warp?
Important context:

- this is ridiculous. “Leaking an ip address on the internet!?” - so isps are screwed?

- it was a 100£ fine.
“Modern slavery” is definitely an exaggeration but many are also not quite so free to quit.

The H1B is a “dual intent” visa, meaning you can apply for permanent residency while you have it. But you must maintain your H1B the entire time, which can be a decade or more for folks from places like India. You can transfer an H1B but it’s not easy and if you quit your job you must line another one up in 60 days or say goodbye to the life you’ve built yourself in the US. Some employers are happy to take advantage of this.
What is software "consulting"?

You mean being contractor?
It’s the name of a PhpStorm plugin, which adds extended support for Laravel. PhpStorm is built by JetBrains on IDEA.
You don't have to do stupid or dangerous things to challenge yourself. You can even, gasp, moderate the amount of danger involved.

And doing something because you are afraid to look weak is just being sheep.
Obviously it's easy to say now, but: dementia came for my grandfather in his late 80s, and if it comes for me, I fully intend not to let it get me.
That's good to know. I bought a 2015 Subaru just a year ago. Any chance you can share your source so that I can feel complete comfort about the data privacy of my car?
No.

On all Intel and AMD CPUs starting with 80186 and 80286 (which have been launched simultaneously) only the lowest 5 (or 6 for 64-bit operations) bits of the shift value are used. All the other bits are ignored.

It does not matter how the shift operation is implemented, with a barrel shifter or without it. The implementation influences only the execution time of the instruction, not its effects.

This difference in the behavior of the shift and rotate operations was used by many programs to identify whether they were executed on an 8086/8088 or on an 80186/80188 (or a later) CPU.

This was important, because 80186 had introduced some new useful instructions, and the standard means of detecting CPU features with the CPUID instruction has been introduced only more than a decade later, in Intel Pentium (1993).

The detection of the CPU was based on the fact that shifting left a 16-bit register by 32 will not change it on an 80186 or later CPU, but it will produce the result zero on an 8086/8088.
PBS should get someone else to restart the channel. It has high quality videos.
Indentured servitude version 2.0
But what is the point, when the main problem would be availability of drivers for modern equipment in Plan 9? If Plan 9 had the same amount of hardware support as Linux has, then there would not be any need to run Linux apps in Plan 9... Oh wait, there is no need to run Linux apps in Plan 9 anyway.
Show HN: React TV Player – Open-source player for TV that can load YouTube URLs
Here is the readme on how the npm package can be installed and used in your own React projects - https://github.com/lewhunt/react-tv-player

Feedback welcome! Thx
conscious interpretation by individuals isn’t nearly as valuable as repeat exposure to masses.

it works better if you don’t stop and think about it. definitely works better if you don’t search about it.
> Doing one simple thing seems to take a mountain of incomprehensible overhead.

If you just need to do one simple thing, don’t use a framework :)

If you need to lots of simple (or complex) things, in an organised manner across a single project, Laravel is great!

(Having said that if you have an example of what you were referring to, I’d be curious)
Did that this morning. Been using Doom for years as my config base and got tired of not really "knowing" emacs and not being able to quickly solve problems. Finished my own mostly vanilla emacs conf this morning.
The cop and the person reacting to the radar have collaborated to make a less predictable driving environment.
This comment might be interpreted as offensive on so many levels. :) One of them being the implication that, on average, nationals are bigger slackers than foreigners.
The CDC did actually change their definition of vaccination in the middle of the COVID-19 pandemic. The updated definition is more scientifically accurate, but the timing of the change caused a lot of public confusion and the CDC did a bad job of communicating the reason for the change.

https://apnews.com/article/fact-checking-976069264061
> when a comet could wipe us out like it supposedly wiped out dinosaurs

Not this comet, though. The reason it's in The Guardian is because it's on its closest approach to Earth; it's 0.85AU distant.

https://theskylive.com/c2023p1-info
The suggestion that this has something to do with "these move fast companies" is off the mark. I can tell you about tiny local businesses with about dozen employees, maybe less, whose owners' don't-care attitude has the same effect.
Why wouldn’t the entire life cycle be the most important thing? As long as the used car market doesn’t become so saturated that good cars are getting scrapped, or everyone starts buying multiple cars just for fun, I don’t see how the duration of initial ownership matters. If anything, I thing a lot of people depend on the used car market. If everyone likes their EV so much that they never sell it and drive it until it dies, the used market will dry up and some people may not be able to afford cars.

As an anecdote, my car (ICE) was owned by someone else for about 6 months before I bought it used. I’ve been driving it for the last 16 years.
Sometimes it’s not about hiding an identity but delaying the tracing and identification via any means necessary (moving the crypto through mixers, less traceable coins, shady exchanges, unsuspecting third parties, etc.) until the whole value is extracted through various methods and fake identities.

The identity behind a wallet or account might be worthless. Years ago a common scam in Eastern Europe (maybe everywhere) was to pay old or homeless people a tiny fee to open bank accounts all over the city and then hand over the credentials to the criminals. Then they could operate a network of thousands of such accounts for various purposes, sometimes for reasons as simple as getting a small loan that doesn’t require any collateral and disappearing with the money.

This can work as long as they can move around the crypto in an obscure enough way so that it takes just hours or days longer for the authorities to trace than it takes for the criminals to cash out.
Are you asserting that there is enough American talent to satisfy the job market and that they are being unjustly suppressed? It’s an interesting idea. Do you have any reading relevant to the topic that supports this assertion?
In these times usually welders work with fume extration systems.
Bit older. For my first presentations, I drew on them with markers. I've still got one where I inserted a Snoopy cartoon by hand. But later, you could photocopy them, or put them in a laser printer (assuming you had one).
Excuse my French, but audio recordings, holy shit. I thought we were still living in a society where recording audio of unsuspecting people in semi private spaces was at least a line that would not be crossed that casually. Apparently not.
Writing it down, first time I’m hearing of it
Needs (2019) added: context matters!
So if carbon tokens were handed out for eucalyptus plantations, are those having a callback?
Laravel has a dedicated marketing page especially about this:

https://laravel.com/frontend

I personally use different approaches in different projects, but it works great both ways. Inertia is really excellent with frontend frameworks like React/Svelte, whilst Blade is brilliant for server-side templating too.
H-1B is an immigration visa, if they worked remotely outside of the US they wouldn't have it.
This is such a tone deaf rosy eyed out of touch with reality comment.

Modern slavery exists. See things like Uyghur camps, people sold to work until death on Thai boats or exit visas in Saudi Arabia.

Having a choice to work for money or (gasp) return home is not even remotely the same? To put them under the same label is to discount the actually bad stuff.
>low-paid

The minimum annual salary for an H1B worker is $60,000. That is higher than what tech workers get paid in most of Europe.
All cars? Man, I need to do something about that...but I never agreed to anything, though it may have saved my response since I am leasing the car.
Biden Admin’s Policing of Online Content Violated Free-Speech, Court Rules
I also noticed that even after a "factory reset" of my head unit I could still see logs of downloaded contact names while perusing its filesystem.
It’s like meeting someone in 2023 who hates Micro$oft WinBLOWZ.

As someone who was on the whole pretty pro Microsoft for the past several years, 2022-2023 was when I started 'hating' Microsoft again. Both today me and year 2000 me would agree that 2020 me was completely wrong about giving Microsoft the benefit of the doubt.
> I want to work with people from my town

Nobody forces you to work with people from across the world, quit your job and find one that only hires people from your town
I’m curious about the role of fresh out of college hires in this issue. Hired on an OPT for two years and then converting to H1b. Any inside info on the fraction of applications in this scenario?
We will soon see ancient clay tablets about time traveling party members..
Ask HN: How does Booking.com guarantee consistency of reservations on scale?
I have been wondering consistency guarantees at scale, specially with a massive number of concurrent users.

It seems that Booking.com mainly uses MySQL for most product features and use-cases and I am wondering how do they ensure that a listing is not booked by multiple users? Is the reservation system a single service with it's own storage and they run serializable transactions on it? Or do they utilize other means of distributed transactions, such as: distributed locking, 2PC, 3PC or Sagas?
I think sarcasm is tone Id use in this case, but you do have a valid point.
It reads the tsconfig file if present. You just write TS files and bun build outputs JS. Vscode highlights typecheck errors based on TS errors. Bun build fails if you can't typecheck. No tsc installation necessary, but also consistency with tsc if you use a tsconfig. For simple stuff tsconfig is not needed
it shouldnt be, its like needing loyalty points for buying things, should be counted as using a non state currency. there is just a lack of legal power on the side of people not in bed with corporations
how often is this data correlated with an actual person? or is this info collected in aggregate on a group of people?
You don't understand what slavery is. Slaves don't get paid and it isn't voluntary. H1B are paid and is entirely voluntary. The reason foreigners accept and compete for the positions is because the pay is better than the positions they can get locally. Calling that slavery is ignorant and an insult to anyone alive or historically who has suffered actual slave labor.
Maybe you should read the text of the first amendment?
> Companies like Intuit have lobbied an industry into existence, and boy oh boy it's lucrative.

Nearly every public facing industry lobbies Congress to protect their industries at the expense of the USA citizen.

One of the worst offenders is the US drug industry.

In Australia, our government can buy the exact same US drugs at a 79% to 306% (the average is 149%) discount to what American citizens have to pay. This only happens because or government barters with these pharmaceutical companies and gets a massive volume discount.

Thanks to Congress, these exact same volume discounts are not allowed and in fact there are laws in place that forbid the US government asking for any form of volume discount. This means USA citizens pay way over the full price for their prescription drugs, thanks to restrictive laws designed to hurt the US citizen and protect these companies.

Biden finally managed to force Congress's hand and soon the US government will be allowed to barter for a better price, but he only managed to get a change that happens in 2026. For the next two years American citizen will still be getting ripped off by these drug companies.

What is worse, most of the America population doesn't even realize Biden managed to bring about these changes, and no doubt should the GOP win in 2024 there's a chance those law changes might be reversed.

I have a good idea which candidates these drug companies will be supporting in 2024.
> Instagram doesn't linkify URLs in comments or descriptions.

You think this is evidence of a "coordinated war on against freedom of expression online"?
Keep salaries low? This is one of the boomiest industries, with truly insane salaries, with years of employee-favorable conditions.

Beyond that, we’re in for years of macroeconomic reckoning for unresolved asset bubbles in the 2000s and horrendously bad COVID policy. Laying off makes sense. Sometimes you hire to backfill roles or for strategic teams. Sometimes an H1b is the correct hire.
For better or worse, this is literally the use case and design for projects like Tornado Cash. I won't say "easily," but they'll probably be able to get away with it.
Both Nissan and Renault are under the same corporate umbrella (RNMA) and share parts and practices (including infotainment systems) quite regularly.

The fact that Nissan was the worst offender and Renault the least problematic is interesting and shows that GDPR has been helpful in getting European focused brands to take privacy seriously.
Meta-question, but what in the world is going on with that website URL? It has another URL for the same domain specified as a query parameter? I feel my sanity slipping...
Yeah I really wish the copyright holders would give it up and open source OS4. It’s one the few sweet spot personal OS’s that are single user multi tasking. I guess AROS is close but it’s clunky.
Ah, I see. Thanks for the explanation!
>System Crafters' YouTube Channel.

Oh my. I really genuinely tried to watch it... But it's impossible for me to not fall asleep after 20min. The guy on the channel really should invest in some person that could cut 10 min of content out of each of his 2h live shows and make a short snappy video. Like what the primagen is doing. I think he would get 10x the audience.

The actual content he has is very interesting, but the barrier is the length of it.
As an "activist language" born in an "activist organisation" (Mozilla) Rust seems to attract "activist developers" who are intent on "creating a better world". Since it is close to impossible to define "better" in an objective way - every activist knows where the world should go but they all have slightly different views on where that should be - and since many of these people have built their identity around their activism and are convinced they are right and often are somewhat lacking in interpersonal skills this is a recipe for (to use a phrase often bandied about in these circles) a toxic environment. The introduction of codes of conduct was supposed to improve on these problems but in practice they have made things worse by amplifying small 'missteps' into 'serious issues'. Combine this with the presence of a number of seemingly ever-offended individuals claiming to be 'oppressed' or 'disadvantaged', some 'toxic femin(ism)inity' [1] claiming things about 'white toxic masculinity' and you quickly end up in a mire.

[1] https://archive.ph/f10KK
Very nice, a BSD prospective helps a lot!