skysight-inc/HackerNews huggingface dataset:
Show HN: RETVec: Resilient and Efficient Text Vectorizer
Happy Friday,

Really happy to share that the code and model for RETVec our new SOTA robust text tokenizer for classification is available on Github: https://github.com/google-research/retvec/ and the NeurIPS paper on Arxiv: https://arxiv.org/abs/2302.09207

Beside its compactness and robustness one of the RETVec strong point is that it greatly simplify the creation of on-device models: RETVec work natively on TFlite and can be use in web deployement via a TFJS.

We hope you will find it useful for your research and if you would like to give it a try we have a get started notebook here: https://github.com/google-research/retvec/blob/main/notebooks/train_retvec_model_tf.ipynb

Let us know if you have any questions.
Shouldn’t we be discussing this by industry? Healthcare is 18% of the GDP and seems to be growing. Most, if not all, of healthcare services work is done in person at this time and for the foreseeable future.

Remote may work in tech and tech heavy businesses, but it doesn’t work everywhere.
So many problems in science could be alleviated if we changed the culture and processes to multi replication. Your paper can only be accepted into a paper if an unrelated group can replicate the results with only the paper and associated submitted info.
Just installed, this is very cool. Local AI is the future I want (and what I'm working on too). A few notes using it...

Pros:

- seems pretty self contained

- built in model installer works really well and helps you download anything from CivitAI (I installed https://civitai.com/models/183354/sdxl-ms-paint-portraits)

- image generation is high quality and stable

- shows intermediate steps during generation

Cons:

- downloads 6.94GB SDXL model file somewhere without asking or showing location/size. Just figured out you can find/modify the location in the settings.

- very slow on first generation as it loads the model, no record of how long generations take but I'd guess a couple minutes (m1 max macbook, 64GB)

- multiple user feedback modules (bottom left is very intrusive chat thing I'll never use + top right call for beta feedback)

- not open source like competitors

- runs 7 processes, idling at ~1GB RAM usage

- non-native UX on macOS, missing hotkeys you'd expect, help menu. electron app?

Overall 4/5 stars, would open again :)
I'm curious -- is there an ~objective comparison of how modern Macs (M1, M2, M3) compare to PS5, Xbox X/S, PS4, and Xbox One? And how it differs between passive cooling (MacBook Air) and active (Pro, Mini)?

In terms of GPU and CPU and memory?

I mean, could a M1 MacBook Air or Pro run a hypothetical native version of GTA V as well as the PS4 did? I'm assuming it can't match a PS5, but how close could it get?
3D surface reconstruction on Compute over Data running Neuralangelo
> There’s a lot of software being produced that just doesn’t care about its users, or that manipulates them, or that turns them into the product.

> There’s a mismatch between what we thought doing a good job was and what a significant part of the industry considers profitable

Feels like one of the main plot points of Tron. (1980s Disney movie where programming was a major plot point.)
'We All Should Be Grateful That X Is Owned by Musk'– Bill Ackman
> Does that suggest that our awareness of the galactic bodies itself is somehow influencing them, as in the double-slit experiment?

"Awareness" is not a thing, not even in the double slit experiment. The term 'measurement' refers to a specific kind of interaction that bridges quantum systems with classical systems, although I believe a good case could be made that these waveforms never actually fully collapse.

Likewise, if there is anything special about Earth's position in the greater cosmos, it would be a trick of perspective or perception - unless there are any completely disruptive new discoveries about the nature of reality. However, my money would be on the fact that the universe is simply not as uniform as we thought.
That flaw is inherent in credit cards and you as the user have a dispute process at your disposal for charges that you don't want to be on the hook for.

The CVC is just slightly less problematic than the rest of the card data.

And that small hotel in Tyrol is probably ok, but I had my card cloned within minutes of eating at a restaurant in Toronto. The whole concept of a bunch of numbers that allow for arbitrary charges against you is flawed.

Booking.com doesn't facilitate fraud any more than your credit card company does, and so far I've been able to successfully dispute every charge that I did not agree with on my card. The day that changes I'll stop using them entirely.
> Separating the through traffic from the town centers kills the town centers...route 66 anybody?

This has been shown repeatedly to be false, but folks who blindly believe it.
> GP was saying the advantage of in-person is agility and course-correction, which require intense discussion.

I worked in-person for the first 7 years of my career and remote for most of the last 7. This was true until the pandemic. It's not true anymore. Even in-office workers at my current hybrid workplace are using huddles and threaded chats to meet and decide things faster than scheduling a room or walking up.

The only thing that was consistently faster in-office was the espresso machine, and even that flipped around when the Bambino came out around 2019.
Observation of a gravitational Aharonov-Bohm effect
https://www.science.org/doi/10.1126/science.abl7152
What you mean to say is completely correct. What you actually said is wrong, there's a huge delta between hostile and unproven. The pump firmware should assert it's own safety and sanity checks. Which is different from hostility.
Thanks for the pointer to that.

If anyone else is interested: https://github.com/cloudflare/har-sanitizer/blob/main/src/li... is the scrubbing logic for cloudflare.

Unfortunately, this scrubber would be problematic for Okta staff (or staff for any other authentication provider support team) because when someone is having issues with logging in, you need to examine Authorization and other authentication headers and data.

So I think the best course is to:

* caution users to not send production data, but rather to set up a test system and share the HAR file from that

* make sure you do defense in depth and lock down access to support tickets

* remove HAR files from closed support tickets. Here's a zendesk article about that: https://support.zendesk.com/hc/en-us/community/posts/6185912...
> The regex crate doesn't support arbitrary look-around because it isn't known how to implement efficiently.

A bit of a philosophical question:

If how to write an efficient implementation is yet not known to man, ie. not a matter of the library's author time or skills, but literally a limit on human knowledge: why not at least provide the functionality with a good enough implementation? (with caveats just possibly mentioned in documentation)

IMHO that'd be arguably a good thing for everybody, at a minimum better than just not offering the possibility at all. Which drives users to frustration, or leaves them having to discover a more pragmatic alternative lib that opted to add it.

This is no complaint or feature request... I just want to learn from some insight behind the thought process of "if it's not efficient, better not have it at all"

PS. Thanks for the link. Now I have a good read for the weekend, for sure!
"Slightly" can mean such gigantic numbers still on this scale. Still interesting if this is the case
On the other hand he had very influential and interesting posts like this

https://thehftguy.com/2016/11/01/docker-in-production-an-his...

https://thehftguy.com/2017/02/23/docker-in-production-an-upd...
The Google Translate app has a conversation mode.
I don't think this is going to be your Christmas, mate.
&nbsp;That&nbsp;works?&nbsp;&nbsp;
This implies that if a developer works half as long on something, all of that money that would be spent on them is spread out amongst their users. Which makes absolutely no sense.

Abstractions MIGHT make your code slower. But there's a reason we're not using assembly: Because the minor efficiency hit on the software doesn't match up with the bugs, the salary towards the experts, the compilation errors, etc.

A VM is a pretty good tradeoff for users, not just devs.
Because information and human beings exist in completely separate realms of reality and morality.
Developers already target multiple control schemes (keyboard/mouse, gamepad) and device sizes.

iOS gaming brings in such a large revenue share that it's hard for a business that cares about the bottom line to ignore.

> Mobile games generated $89.6 billion revenue in 2021 across both platforms... iOS was responsible for $52.3 billion of that revenue

https://www.businessofapps.com/data/mobile-games-revenue/

Now that targeting the Mac and targeting iOS devices is largely the same thing, it's much more likely to make financial sense to target Macs than ever before.
>Cutting wood or hunting with 2 or 3 guys trumps 99% of desk jobs

As a hobby or as job? Because 99% of desk workers wouldn't survive if their livelihood would depend on chopping wood and hunting to survive, keep warm and feed themselves.

That's why the office work life is so luxurious and desired despite the lack of fulfillment. You're safe and comfy and use money to pay people to do the uncomfortable and dangerous jobs and you have the free time to chop wood and hunt as a hobby not as if your life would depend on it.

There's companies in my area offering wilderness survival retreats for office corporate workers where you get "kidnapped" in a black van, have your smartphone taken, and dropped in the middle of a unknow forest with some basic tools and supplies and have to survive the weekend. Most come out destroyed and appreciating their depressing office jobs.
I think you are in the minority there. I don't know anyone that would go to their job if not for the pay.
My favorite from 20 years ago: Doug Bowman’s “Sliding Doors” of CSS to make rounded corner tabs that would expand to fit the text: https://alistapart.com/article/slidingdoors/
what a great book is Golem XIV!

the concept is cool, but the real gem is the fact that it's not really written in the form of a novel. And yet, it's still recognizable as one. I love that Lem explored in bending these definitions
Cellphones have been capable of HDR for a very very long time and yet none of those older phones were capable of producing a picture like the one in the article. The problem here was not HDR. The problem was using AI to create a composite image by selectively erasing the subject of the photo from parts of the image, detecting that same person found in other photos, then cutting the subject out of those other images and pasting them into the deleted parts of the original picture before filling in the gaps to make it look like it was all one picture.

This was absolutely an "AI transformation" as the original article correctly pointed out:

> “It’s made like an AI decision and it stitched those two photos together,”
Someone will need to pay that other group though. Sometimes quite a lot.
in the paper, the results reported show very similar level of quality
The Apple algorithm visibly and significantly changes color, contrast, and likely curves, for every image, including in RAW format. Without my consent and with no option to opt out.

The Apple camera app is accessible quickly without unlocking the phone and I use that feature most of the time when I travel.

So I end up with thousands of crappyfied images. Infuriating.
> maintainer > author

> usually a good investment to make the code maintainable by keeping it simple, writing tests and documentation

I recently inherited a project where the leadership 100% believed this and tried to do it.

The problem is that the copious junior developers they hired, with all of their good intentions, just couldn't write maintainable code.
It depends, the compensation is highly skewed. The PI in question is likely compensated over $1M/year, while other investigators involved (assistant and associate professors) have compensation comparable to entry-level programmers. To confirm these things, you can explore this database (only public CA universities though): https://www.sacbee.com/news/databases/state-pay/
With police resources constrained, everyone started driving like insane assholes around here, and it hasn't gone back. I noticed significantly more people cheating the carpool lane, no longer using turn signals, intentionally blowing red lights and stop signs, etc.

Driving culture has changed, at least in this area.
Can you imagine an employer telling all employees to RTO now, a year and a half after nearly all pandemic restrictions ended? I would be livid. That doesn't seem to be happening on any large scale at this point, and instead companies with a lot of remote workers seem to be hiring more in-office workers, creating a hierarchy where longer tenured employees can WFH and newer employees cannot. Personally, I would hate to be on the losing side of that division.
It really doesn't matter if it's obvious / open and shut. It takes up time, energy, and erodes public confidence in basic science. This will cost the state, the company, and possible federal money to process, all for bullshit claims and Ken Paxton's not-based-in-reality ego.
I remember working with someone who product managed a rewards program. He said "no way would I ever participate in one of these".
I answered this before on a pretty similar question a few days ago, but my go to stack for my small SaaS "startup" has been the HAG (HTMX, AlpineJs, Go) stack.

With this you stack you have a dead simple web application that can be completely self contained in the executable with `go:embed`. That makes deployment an absolute breeze. Since I also attempt to use as few third party packages as possible and the ones I do use are pure Go, I can containerize my app and deploy it with Google's distroless base image. That helps in reducing my attack surface.

And while my app is a monolith using an embedded LibSQL database (SQlite), I can easily change my app configurations via environment variables to use a remote LibSQL server and then scale my app behind a load balancer with more servers.

It's honestly such a simple yet effective stack for development. My one web app handles both the api and web requests, I can easily scale, and building my app is fast.

Edit: I should also preface, that all the HTML/CSS/JS used by my website are (mostly) vanilla and developed by myself. So no use of a CSS library like Bootstrap, Bulma, or Tailwind. And also no use of JS libraries like JQuery. I do use HTMX and Alpine, but they are both being embedded into the executable like I stated above.
Ask HN: From zero to hero Spring Boot and Kotlin
Do you know of good resources (besides official documentation) to improve my Spring Boot (Kotlin) skills?

I know the basics but still feel like I'm missing something.
When a mounted DMG is the foreground window, Finder should slightly adjust the .app handler. The default action will be "Install Application," which will pop up a confirmation window and, if confirmed, copy the application to /Applications.

The "Open" option should still be available for people who, for whatever reason, want to run an application directly from a DMG.
And a third time when they ask for research funding in the future and the public says "No, last time you used the money fraudulently"
> But there’s a lot more to the biggest U.S. company by market cap than just gadgets.

What a dumb statement. Those "gadgets" would not exist without those chips (and a bunch more besides).

Also, if the word "gadget" is appropriate, it doesn't apply to the Mac (admittedly Apple's smallest segment). But I think it no longer applies to the phone either.
I have been running remote teams for many years. Offshoring has been a thing for a long, long time. Globally-distributed businesses have been a thing for a long, long time. I had been lucky with some walkable commutes in the past and the period immediately preceding the pandemic, I would walk 20 minutes to the office, sit at a desk and spend my day on Slack and Meet with my dev team in South America, my clients in the midwest, my account managers in California. Maybe get a coffee with whoever was around, then walk home. There were days I just didn't bother going in and nobody noticed.

The economics of it are purely about labor efficiency. A company in the midwest that needs tech services isn't limited to service providers within driving distance. Service providers aren't limited in hiring. Talented people in developing nations get ready access to first-world markets without needing any connections. This was all thoroughly proven and justified before 2020.
The first one I plan to try is https://github.com/netease-youdao/EmotiVoice

I don't have the expertise to judge the quality of Mandarin pronunciation myself, being a beginner. But it sounds OK in English and it's made by native Mandarin speakers in China so I expect that it sounds better in Mandarin than English.
Haven't worked in ruby in years, but reading it just feels nice:

> return [] if denied?

So strikingly simple and expressive, I miss that :)
You're on the path to coming up with Mach's Principle[0].

[0] https://en.m.wikipedia.org/wiki/Mach%27s_principle
studies have repeatedly shown that office workers -- and most workers in general -- are productive for about 6 hours a day. and that's on the high end.

there are a lot of do-nothing, go-nowhere meetings that fill the gap and make it appear like things are happening.

WFH just shows that the emperor has no clothes and that a lot of time is spent doing BS tasks. there is still a ton of BS, but I can be chopping veggies and prepping a crockpot meal while on pointless 30+ people calls.
Yes, same. I keep seeing people say this on discord and reddit, but that edge case was shown twice in the example.
Thank you also for the tip on this one. Took a bit of work to get it working with my setup but have it working flawlessly.
Show HN: Financial Modeling Package for Startups
We built a financial modeling package that uses your existing Stripe data to set up a metrics store and generate a financial modeling spreadsheet.

There's also a how-to guide for tracking historical revenue metrics; forecasting growth and creating alternative scenarios.

It's under an MIT license, so feel free to use or modify; build out on what we've pulled together.
It is a misconception that replication doesn’t occur. In vanguard basic science, every journey crosses replicating the most recent results.
XState v5 Is Here
NoMachine – Free Remote Desktop for Everybody
Hello! Privacy Badger dev here.

uBlock Origin is indeed an excellent privacy tool. However, uBlock Origin is not a replacement for Privacy Badger (nor is Privacy Badger a replacement for uBlock Origin). For one, uBlock Origin uses manually compiled ad blocker lists, while Privacy Badger automatically learns using heuristics. Both approaches have their pluses and minuses. Our FAQ goes into what makes Privacy Badger different here[1] and here[2].

> Also it has been known that having both privacy badger and uBlock origin causes conflicts and issues.

As far as I know, the two extensions work well together. Could you point me to some of these issues?

[1] https://privacybadger.org/#How-is-Privacy-Badger-different-f...

[2] https://privacybadger.org/#Is-Privacy-Badger-compatible-with...
Why do so few RTO articles mention the savings in CRE.
According to Bard average CRE expenses are...

---------------

...some studies offer insights into the average CRE expenses across different industries and company sizes. Here's a breakdown:

By Industry:

Finance & Insurance: 10-15%
Professional Services: 8-12%
Technology: 5-8%
Manufacturing: 4-6%
Retail: 5-10%

By Company Size:

Small Companies (1-250 employees): 5-10%
Mid-sized Companies (251-2,500 employees): 8-12%
Large Companies (>2,500 employees): 10-15%

These are just general ranges, and the actual percentage for a specific company can be higher or lower depending on the factors mentioned above.
Brutal for the taxpayer. Heaven for the shareholders, lobbyists and politicians.
Nothing shady, just an alias to your real account #/card number, its got to be supported by your bank and ties back to a real account. Thought it'd been commonplace for quite a while.
> It's expanding in the space between your fingers

That's not the case (at least not yet [0].) Anything that's bound together by local forces such as gravity or electromagnetism isn't affected by the universe's expansion. You have to get to the scale of the space between galaxies (and even then, galaxies which aren't orbiting/colliding with one another) before the expansion has any effect.

[0] One of the hypotheses (of many: https://en.wikipedia.org/wiki/Future_of_an_expanding_univers...) of the future of the expanding universe predicts that the expansion rate will increase indefinitely, do the point where the expansion energy (dark energy) actually does become enough to expand the space between stars, planets, and even matter (and eventually the atoms in your body), but we don't really have any proof of this. This theory is known as the "big rip": https://en.wikipedia.org/wiki/Big_Rip
Experimenting with LLM-Based Chunk Enhancement for Better RAG Results
seen a lot of these, but none for Indian languages. Would love to try an Indian language one!
ChatGPT incapable of generating beardless black men?
Just tried it and my initial impressions are hugely positive. The main things missing that I frequently use like wrap around for focus and assigning applications to specific workspaces already have open issues that you've engaged on too!

I've been using i3 for over a decade now and hate using any computer that doesn't have it, been trying to find a suitable substitute for my work mac for ages. Amethyst, rectangle, magnet, yabai, each had its own problems. The virtual workspace idea is genius and solves some of the biggest issues with those alternatives. This is by far the closest thing to i3 on mac I've seen. Thank you so much for making this.

My suggestion: open up a way to take donations to the project, and/or sell a packaged version on the mac app store. I'd be happy to pay good money for this.
And a fourth time when the scientific community says “this is our hard earned conclusion” and the public says “I don’t trust this.”
That's why there are dozens of startups in the auth space.

Turnkey is harder than you think, though, because authentication, while undifferentiated in general, does get tied up in business logic. A multi-tenant B2C SaaS has different needs than B2B on-prem deployed software, to name just two use cases.

Source: I work for FusionAuth, an auth provider.
I made this in Turbo Pascal:
https://dosgames.com/game/bob-and-his-amazing-journey-home/
PropelAuth (YC W22) Is Hiring Support Engineers
The AI Pedagogy Project
> You know, there is a difference between having eyes closed and sleeping.

Tell that to my boss!
The force of gravity is reduced by the inverse square of the distance (newton's law). Thus as space expands, and matter red shift away from us, the force of gravity reduce over time. The maximum force of gravity was just after the big bang.
For mobile games, sure. For desktop titles, nothing has really changed. MacOS runs the same APIs, Apple still refuses to make compatibility promises, and older titles are perpetually phased-out of support unless they are constantly updated. Apple-native titles will definitely get ported to Mac, but what is the renewed incentive to port PC, Xbox or Playstation games to Mac?
Hire cars (backed by credit card) don't seem to fare sooo bad.
Although I'd hate to argue the toss over any scratches i certainly didn't make, it must have been the last renter.
Legal minefield?
I've had like 75% success on throwing XML files at ChatGPT and telling it what I want to do for weird things like passthrough or pinning. It gets me most of the way there. That is not a compelling user interface as is. :)