skysight-inc/HackerNews huggingface dataset:
Show HN: Node.js and React -app as a Windows service with .msi
One of my previous side projects was to build a small web app meant to be run on enterprise Windows server environment. The type of place where software is still installed manually by clicking through an installer.
I wanted the app to run as a Windows service, and to have a minimal .msi -installer, so that more or less anyone could install the software.

Instead of being smart and writing the app in C# and get the full tooling of Microsoft... I choose to do a modern web app with Node.js and React.

I thought, how hard can it be to package it into a Windows service?

It turned out to be pretty hard. And not for any good reason, just a disparate ecosystem.

Finally, I managed to do a basic app and package it as an .msi, but all my creative energy to continue was gone.

To salvage a little of the project, I decided to upload a complete template app to Github (including build scripts). If someone wants to do the same thing, they just might save some time! The code is MIT licensed.

Three essential things I struggled with were:
- How to make the Node.js-app write local files (textfiles, SQLite..)
- Node.js interacting with the Windows service daemon
- Set up the service automatically when running the installer, including ARGV
Yes they are saying batch size 1 for the benchmarks, but they aren't doing batch size 1 in prod (obviously).
https://moogaudio.com/products/electrosmith-daisy-seed-heade...

This unit I assume? How’s the development experience been? I’m more of an embedded guy than an audio guy and this looks pretty cool! I’ve used the Teensy4 for a couple of projects in the past. Do they provide schematics?
The human in the loop isn’t any kind of moat for humanity and shrinking the need for a human will be the goal of any engineer trying to build these systems. Some do believe that hallucinations are inescapable from the design of LLMS, but at the same time we see systems improving so that hallucinations becomes more rare… when will it be on par with humans?
I think the plan is for each GP's prescribing system/appointment system to export enough data that you can just use the NHS app for your needs.
i know I can book appointments through it.
Obviously doesn't help when the GP is still sifting through paper records. But those are few and far between.
Bankman-Fried is probably too arrogant to realise how this must sound to the jury.
Even if their morality stops there, ot's a good first step to separate a natural class of physically more powerful rapists (men rapists), from a natural class of physically less powerful potential victims (women), no?

Or should our morality stop at: "since we can't or don't protect everybody let's leave an obvious, extremely vulnerable, and much more common (male-> female rape vs male->male rape) victim class unprotected?"
That is not my understanding as an American amateur radio operator. I can modify and posess any radio transmitter I wish. I can transmit within the limits of my FCC license(s.)
I think the "5 * 9 is at least 40" from Rick and Morty is relevant here : https://m.youtube.com/watch?v=IxqcYJEXr6I
Why do people keep spouting stuff like “I bet 50 people could run golden era Google search?” There’s no reason to believe this.
Excellent counterpoint, thank you.
There are good reasons to do this on mobile:

1. Phones these days are tall. It can be difficult to reach the top of the screen. The height of the screen is great for reading content, but it makes sense to load the initial navigation pieces mid-screen.

2. The barrier introduced by scrolling is much reduced my mobile. It's trivial to flick your thumb up to raise the main content to takeover the full screen.

The key is to ensure adequate information density after the initial scroll.
I admit my answer is cheating. Throwing in my ham radio license was not on topic.
This looks promising. What would be disappointing is after listening to a few episodes is slowly revealed that the authors/creators actually do reveal some sort of bias, negative or positive. Any bias would be annoying, from the somewhat trendy denigration of Western philosophy as the mainstream contender for the target audience (I realize I’m making some, I think reasonable, assumptions about the audience), to a Trojan horse of selling Christian philosophy.
1984 called, they want to hire you as a consultant.

Regulated industries should produce high quality output, agree. But the moment that approach leaks into the rest of software I’m out for good, and I imagine many others along with me. The “real” and certified™ big boys can take over all the work for all I care, but there’d be substantially less output across the industry. (Some backwards people would call that a win)

Note that I specifically left a much more regulated industry to be in software. Also note that I care about correctness and quality a lot still, it’s one of my favourite CS subtopics (memory safety, business logic in the type system, (fuzz, property, unit, integration, e2e) testing, …).
I love that the Indian Governments idea of security for their Aadhaar portal is to block IPs outside of India.

One VPN later…
Really cool idea! I didn't get very far though, as the precarious pathway slowed to a complete crawl with heavy input lag, so I couldn't make any of the jumps (Firefox on an M1 MBP)
Reading many of the comments here… I wonder if a lot of hacker news commenters have actually met real, everyday users of technology. Not other nerds and grognards, but like, the lady sitting over in a cubical, who only knows enough about computers to do their job.

Do you really think users want graphic mode selection on boot? What percent of Mac users have alternate bootloaders or even know what that means.

A lot of commenters need to do some time in the proverbial trenches and support a fleet of devices at a large company. See if users really care about the things you think they do.
See also:

Regrets of the Dying
https://bronnieware.com/blog/regrets-of-the-dying/
The Life Sentence
From the app store ads mainly. Omitting this fact is dishonest at best.
I agree that the transactional mindset is part of the problem. The irony is that the research seems to imply that an awful lot of our happiness can be improved from taking a different mindset.
I don’t really know how to screen for that before joining a company but I’d say 20% of companies seem to be at that point.
Huh? You can get logs just fine from your ALB's and API Gateways.
Clearbit enters agreement to be acquired by HubSpot
> Hmm... so you're saying that students aren't segregated into artificial cohorts of a specific age, and there isn't an authority figure in the classroom telling them what to do?

IIRC that sounds a bit like Montessori (done right), but that's uncommon generally and extremely uncommon in upper grades.

I wasn't even sure what an upper-grade Montessori program would look like, and I found this: https://amshq.org/About-Montessori/Inside-the-Montessori-Cla....
Well, when you are a CISO you also need to know your actual responsibility.

In Europe you are a normal employee with normal responsibilities and nobody sane would risk their future by going against the law. The IKEA CSO did that and was in jail.

I was asked twice to provide a statement for a US court (being European and living there). Just for the fun I asked or legal department to provide me with a full written explanation of the consequences, the risks and how much I would get paid to do something like that that is outside my contact. Everything stopped there and some poor fellow in the US did that instead.

I then asked why this isn't the legal dept that is issuing these statements in the name of the company. I got some complex explanation why they could not bear the risk.

Being a CISO means managing risks, including yours.
Right, thank you for taking the time, I think I understood all this. I am not sure how it relates to "tech people" talking about colonialism, but rather simply outlines some more ambient context to it. Either way, thank you for the lesson.
It doesn't do that though.

> The :hover pseudo-class is problematic on touchscreens. Depending on the browser, the :hover pseudo-class might never match

https://developer.mozilla.org/en-US/docs/Web/CSS/:hover

Don't take my word for it. Trying it in mobile emulators will have the same result.
I mean, I like to give everyone the benefit of the doubt, they chose comic sans for its benefits for individuals with dyslexia?
I have a lot of respect for GDS, but taking up more than 50% of the screen with a header (of quite little text, no less) is absolutely not 'easier to read'.

(For some perhaps - but then if your sight is that bad the rest is too small anyway.)

I will be zooming this way out, personally. Not sure if that's a collectable metric (i.e. if there's a JS API for 'what is the browser zoom set to') even if they wanted to?
Show HN: AI Chat Duo – A sandbox for AI conversations
Hey HackerNews, I built AI Chat Duo - a sandbox for AI conversations. It lets users sculpt two AI's personalities and govern a chat between them. I've used it for everything from debate stimulation to scenario planning, and it's been a wild journey of discovery. I'm keen for feedback on interface and user experience, so give it a go and let me know your thoughts!
What's the explanation? It has to be some sort of incompatibility right, i mean there is no way that GPU is simply "slow" overall?
It's important to consider social nets. The poor don't have children in China, regardless of the existing Chinese social programs. These programs favor the working class and penalize children (who produce nothing). The younger poor practice varying degrees of Tang ping (Lying Flat) to survive, with the amenities their peers share, and that doesn't work with children. Interviews with single women in China are largely in Chinese (as you would expect) and the answers were economic related 80% of the time in 2019. No, I don't have a Chinese whitepaper to point to. There's just no evidence to the contrary, since it's been the trend for a number of years.

----

It's also important to consider the pollution. Acid rain, thick soot smog, polluted city water wells, and unbelievably poor food prep/regulation are all commonplace. This has impacted fertility rates across the board, but especially in females.

The Chinese population is roughly 1.2:1 male to female, under the current 3-child policy enacted ~2016.
> because if it hallucinates an API function that doesn't exist

Yes, absolutely agree.

And also I’m no fanboy but when it does this and I only notice because the code doesn’t run, half the time I’m thinking to myself that the API function really should exist because it’s so logical!
It's the normal countdown script I used. Will check on that. Thank you for letting me know.
Does VoltaML have any support for AMD/Intel GPUs or CPU inference? e.g. I think Intel's openVINO supports ONNX, but the Github page only mentions Nvidia and CUDA.
Can you put linux on one of these without any issues?
Right, and we won’t be anxious about it then.

But now is not then.
-(e)th was the Middle English ending for 3rd person singular and plural present tense. It has mostly been replaced by -s in Modern English, except for a few fixed expressions (e.g. my mum used to say "quoth he" which is subtly different from the modern "he quoted" or "he quotes" which is normally followed by an object that is being quoted as well as the quote itself).

Middle English is quite interesting in general, as it still has a pretty regular inflection system for verbs that's largely been lost now (3rd person singular -s is the main vestige): https://en.wiktionary.org/wiki/Appendix:Middle_English_verbs...

It's also interesting to look at the case system for ME nouns too, as it makes some things easier to understand. For instance the 's in Modern English for possessive is really just an abbreviation for the -es genitive case, which probably occurred when spoken forms had changed from -es to -s, which in turn was probably due to the shift to drop terminal -e from words which had started even by Chaucer's day (some places in Canterbury Tales you need to treat the -e as its own syllable to hear the rhyme, in other places it needs to be silent).
I don't understand this comment.

This is a different article from last year also about storing energy as [Aluminum] Formate.
I have two framework laptops with Intel CPU. I unfortunately would not recommend framework with Intel - they can't handle any development workload through docker without the risk of launching to the moon from the fans spinning. I hope that AMD ones are better.
There are lots of breath test challenges like this.
Used in emails as well. Loading a 1x1 transparent <img> is a more sure thing than triggering a hover event, but ad-blockers often block those
I sure hope you're being sarcastic here and illustrating the ridiculousness of privacy extremists (who, btw, ruined the web, thanks to a few idiot politicians in the EU).

If not, what's wrong with a service knowing you're accessing it? How can they serve a page without knowing you're getting a page?
> I know this is a side point, but I imagine people might be interested in the challenges of being able to work a second job while not annoying your employer. How did you manage it?

I ran my company (https://buttondown.email/) as a side project for ~three or so years before taking it full time and it was _similarly_ in a position where I could get paged for downtime or plumbing-related issues. My suggestions:

1. Honestly, choose a project where downtime or operational issues are less prevalent. This is a cop-out answer, but when you're evaluating potential projects it should be top of mind.

2. Be very up-front and honest with yourself and your employer about your commitments and your priorities. My personal rule was to only ever look at Buttondown-related stuff outside of what I considered my "core" working hours unless I was getting paged, and even then responding to pages would wait until my meetings or time-sensitive work was finished.

3. Set a schedule and rely on the schedule. For me this ended up being "side project hours are from 7-9pm M-F and 3-8pm Sat"; at times I wanted to do more and at times I wanted to do less, but the former path leads to burnout and the latter path leads to languishing.
Does anyone know if it's possible to buy thinkpads with a US keyboard layout in Europe? Any thinkpad with a layout that's not the non-qwerty local variant of my country takes more than 6 weeks to deliver, and that is to get UK layout, not the US layout with different enter key, which I can't even find available at all
So this is a bit nuanced. F*ck the settlers. I'm 100% with you on this, they are terrible people. This is specifically a quote related to the "hill people" who break Israeli law to take over land that isn't theirs.

To be clear, it's against Israeli law and even the current government removed them multiple times. Unfortunately, the current terrible government has been pretty bad at that. But even they didn't change Israeli land ownership laws.

Yes, there are regulations and limits that make it harder on Palestinians and there's discrimination. But outright taking a land is illegal and the country can be sued for something like that.
How horrifying that someone who does writing potentially as their income would seek to protect that revenue stream.

Services like Plausible give you the bare minimum to understand what is viewed most. If you have a website that you want people to visit then it’s a pretty basic requirement that you’ll want to see what people are interested in.

When you start “personalising” the experience based on some tracking that’s when it becomes a problem.
Commutes are bad in every major city in Europe as well.
Article: https://www.macrumors.com/2023/11/01/apple-arcade-new-games-...

Note that the article does seem to suggest that the Arcade will be raising its prices to $6.99 monthly from the previous price of $4.99.

But I do have to say, Apple Arcade really surprised me with its quality. Games like Stardew Valley, Slay the Spire, Mini Metro and more were titles I enjoyed greatly on PC and did not expect to be available on the phone as well.
Mozilla treats Debian devotees to the raw taste of Firefox Nightly
I'm confused, you think that the sexual assault in the jail was mandated and legal? Do you believe all the regular prison rape is legally mandated as well?

> The act of putting actual perpetrators with a class of much less physically strong victims into the same confined space, however, points to specific mindset where doing wrong is thought as doing right, and not just by one or more wicked persons, but also with state power to support it.

I'm fairly certain regular prisons don't sort by size either, and not all men or women are built the same.
(Chips and Cheese) a Brief Look at Apple's M2 Pro iGPU
No-code is certainly important tool for the future that will ease product development.
I would love to have a SD/microSD card reader option, then I would not need any dongle.
Is anybody aware if you can repurpose the smart card reader slot on the T14 or T14s?
Can't there be a middle ground? I'm not saying the government should mandate particular curriculums. What I'd actually propose is something like random checks to make sure that homeschooled kids are actually learning at some point during the day and to check for signs of abuse.
Well, as far as government pages go, I have seen worse. Only tested it on Desktop.

The information density on desktop could be ALOT better, and that giant Title-Banner is just unnecessary. Page looks the same regardless of browser-preferred color scheme. That's about it with my criticism though.

With Brave-Browser Shields disabled, total page load for the landing page is 1.2MB, with shields active that goes to to just shy of 700kB. Still alot for a mostly-text landing page, but absolutely acceptable.

Search seems to be fast and works reasonably well. I tried "register a company", and the top results were very reasonably what I would expect a good search to return.

Subpages show a navigation bar on top. There is another toplevel nav-index at the bottom of the page, and in a top-right menu (which is actually labeled "Menu", a nice touch in a world of these awful hamburger-menu-buttons).

Page seems to also work fine with scripts blocked. This also brings the landing page load down to 412kB.

Content licence is clearly linked at the bottom of the page, with link to a detailed explanation.

-----

All in all, not bad. Not bad at all.

I'd like a bit more information density on desktop, and https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
I'm not sure about `url()` in CSS but `<img>` tags are guaranteed to only be loaded once per URL per page. I would assume that `url()` works the same.

This bit me when I tried to make a page that reload an image as a form of monitoring. However URL interestingly includes the fragment (after the #) even though it isn't set to the server. So I managed to work around this by appending #1, #2, #3... to the image URL.

https://gitlab.com/kevincox/image-monitor/-/blob/e916fcf2f9a...
see also: painfully byzantine and demeaning hiring processes. I'm thinking "behavioral assessments", clumsy applicant tracking software from 2006, long waits between communication. Its not inefficient, its very efficient, in fact, at selecting for subervent mules who respond well to the stick and don't need many carrots to stay in place.
A long time and a lot of money. I am surprised this ui overhaul hasnt been sent to the pm family’s infosys.
No, I believe that what the parent described is putting rape perpetrators in the same confined spaces with physically much weaker class of potential victims as "mandated and legal".

>I'm fairly certain regular prisons they don't sort by size either, and not all men are built the same.

Yes, so let's put women prisoners and biologically stronger male rapists together then, until we also seperate all prisoners by height and strength in the general case...

AKA: there's bad happening already in prisons, so adding bad to it, even if it's a stupidly predictable to foresee and prevent bad, is fine!
It's a shame, having to pay for a more functional and advanced society.

Also, this isn't what's killing small business.
'Lowering your standards'?: assessing the procedural legitimacy of the W3C [pdf]
Baltimore City Schools received 29 federal Covid grants totaling $799M to fight learning loss. Yet, in 2023, just 9.1% of all 3rd-8th graders tested proficient in math. MEANING, taxpayers gave an additional $799M and 91% of Baltimore students are NOT math proficient.

New test scores, known as MCAP (Maryland Comprehensive Assessment Program), obtained by Project Baltimore, revealed that 23 schools, including elementary, middle, and high schools, had not one student that could do math at grade level.

Calverton school (https://www.niche.com/k12/calverton-elementary-middle-school...)

A Calverton educator, who reached out to Fox45, claims to have received that text. “[It instructed me to] go into my grade book, make sure no students are failing, and essentially change the grade if they are failing so they will pass with a 60 percent,” said the teacher, whose identity we are concealing upon request.

“I was frustrated as a teacher. We’re public servants. And when we see things like grade changing, that’s self-serving. That’s not helping the kids.”

After watching Fox45’s recent investigations into allegations of grade changing at Calverton, the City Schools employee contacted Project Baltimore to say a couple things. First, according to the teacher, grade changing at Calverton is “very common.”

Second, the educator told Fox45, changing grades is the easiest and fastest way to pass more students, which makes the school and its administrators look better. But, it does a huge disservice to not just the kids, but our entire community.

“Teaching a whole generation of kids that they don’t have to be accountable for their actions, or that hard work isn’t valued or valuable when they are in school, is so discouraging and damaging.”

Adding insult to injury, the same teacher said that he even passed kids who had been on his roster all year but didn’t bother to show up for a single day of class.
But this teacher says grade changing at Calverton goes much further than just taking a failing grade and making it a 60. Some students who pass, according to this educator, don’t even have grades because they’ve never showed up to class.

“There were students on my roster all year that I had never met, had never seen. On paper they passed my class and passed onto the next year.”

“I love my job and I love my students,” concluded the teacher. “I want to see the students at Calverton and other schools across the city, get a fresh start. And it’s going to be hard because the students are used to this now. But the students deserve better and our city deserve better.”
Looks like a clever way to do analytics. Would be neat to see how it compares with just munging the server logs since you're only looking at page views basically.

re the hashing issue, it looks interesting but adding more entropy with other client headers and using a stronger hash algo should be fine.
I agree the Future for Software Engineers in a No-Code World
Ask HN: Best sub-$100 life-changer buys?
What’s something you've purchased for under $100 that has really made a big difference in your life?
The massive, massive benefit is that every commit on main is guaranteed to pass CI and represent an atomic set of changes that can safely be reverted. When something Goes Wrong, you want a simple `git revert` to fix everything, not go hunting for which commits correspond to which PR.

It also means that when you git bisect, you know exactly which PR introduced the issue. The exact commit that did so isn't as important, because there's no way to ensure that it's safely revertible.
The million dollar question is though "How do we improve deep sleep?"
I have a sleep tracker at home and my weak point is always not getting enough deep sleep. I'm not sure there's a way to force deep sleep somehow...