skysight-inc/HackerNews huggingface dataset:
It's kind of strange to see them complain about enums and then promote a DSL-specific tool they made for generating enums.

At the same time, Go has generators built in and can generate enum tables, enum to strings, and other things they have shown. I am unsure why they didn't do it the "Go" way.
>>> But what you notice here is we have no string representation of these Enums so we have to build that out next, for this I just use a map[Operation]string and instantiate this with the defined string constants.

Cries in I18N...
I think it might be due to the O'Caml influence on early Rust. They call them enums there[0].

[0] https://www.ocamlwiki.com/index.php?title=Enums_in_OCaml
How would you get rid of any memory unsafe C++? Isn’t that just another way of saying “do not make mistakes”?
The problem with the new window is that people are most likely to buy a window that is unrepairable and will fail in 15 years.

So changing a wood window for vynil/plastic/aluminium is signing up to a subscription to the window company.

Also, the nice thing is that everything you described above is easily DIY'able (yes, even the lead paint).
What does your full time coworker say about that? Are you concerned at backlash or retaliation?
I think that’s exactly the driver behind it
"I have a 1931 model school built by the works progress administration."

As in, you own one? If so, that's awesome! I'd be very interested in learning more.
Not sure where you buy from but good quality plastic windows have definitely more than 15 years durability. Ie ours are 20 and no sign of weakening isolation.

We have cca proper winters (maybe not this year) and thermal+humidity sensors in most rooms so a badly insulating window/door would be noticed quickly.
Delete your FB account.

Probably the best thing I did in 2023.
I would too but only after I raise my base rate by 25%. If I'm on a salary and have project deadlines it's the same thing anyway.
It's been a long time since I have cracked a physics book, but your mention of interesting "fundamental physical quantities" triggered the recollection of there being a conservation of information result in quantum mechanics where you can come up with an action whose equations of motion are Schrödinger's equation and the conserved quantity is a probability current. So I wonder to what extent (if any) it might make sense to try to approach these things in terms of the really fundamental quantity of information itself?
Ask HN: How to submit cover letter on recruiting sites
This question is triggered by looking at some of the jobs listed in the "Who's Hiring" post, and seeing that many which use sites like:

https://boards.greenhouse.io

to do the actual submittion only seem to allow one attachment for a CV/Resume, with no ability to write anything or attach anything else for a cover letter.

In the past (last time I looked for jobs was 3 years ago), many of the job boards allowed you to submit additional cover letter attachments (or at least had a large textbox for a general description), so what would the recommendation be for sites like: https://boards.greenhouse.io ?

Modify the CV .pdf to customise it / include the cover letter pre-amble, and submit that? Or do nothing and just submit the CV (that seems less than ideal, but maybe it gets ingested and stripped away anyway)?
Corporations definitely count as legal persons, with obligations and rights.

This gave us the Citizens United v. Federal Election Commission, 558 U.S. 310, i case on their right to speech or place funds.
I consider leaked air part of the r-value, but you are correct that is the real problem. It isn't just the windows, it is the seal between the window and frame, and the frame itself that are also problems.

If you can fix old windows to be good - then good. I fully agree modern windows are not great, but R-2 is still better than 1.
Is this a wise move for Musk? What if Altman unveils a true AGI that ultimately takes control of the world’s systems and exacts revenge on anyone who has tried to stop its existence?
Oof that looks like a confused mess of a format.

bz2 is obsolete. It’s very slow, and not that good at compressing. zstd and lzma beat it on both compression and speed at the same time.

QOI’s only selling point is simplicity of implementation that doesn’t require a complex decompressor. Addition of bz2 completely defeats that. QOI’s poorly compressed data inside another compressor may even make overall compression worse. It could heve been a raw bitmap or a PNG with gzip replaced with zstd.
I still visit the site when a Google search sends me there, but otherwise I just read Chris' blog, since his posts were the only reason I ever went to css-tricks on a whim anyway.
On the "Chain of Thought"
> There's lots of things beyond bounds checks that constitute UB and bounds checks are but 1 small item.

Indeed, hence "at a minimum". The type system and choosing to avoid UB when defining some operations helps a lot as well, but those have no direct overhead so there's no runtime cost there. Bounds checks (and overflow checks, if those are ever added to release mode) are just the one thing that have a direct runtime cost when they aren't elided.
> Investing in PWAs for four years is only going to get you so far when you’re eight years behind the competition.

I don’t think this speaks to intention, the investments that have been made and are still being made bring with them a cost, both in a monetary sense and in other ways. Regardless of the separate question with regards to them having been able to catch up with the competition.

A generous interpretation, with the presupposed premise that they haven’t been able to catch up, could say that it warrants a more favorable interpretation of their intentions if they were willing to invest after having lagged behind for so long, because the required investment would be greater and the pay off less clear.

> (bringing them to a level still behind competitors)

Let’s be honest here. When people say something like this, they’re mainly thinking of Chrome/Chromium-based browsers.

Google is known to have no qualms supporting certain things that both Mozilla and Apple are uncomfortable with, while at the same time implementing a bunch of stuff that isn’t standardized.

On the whole, Safari/WebKit has roughly met Mozilla’s level of support for frameworks and APIs and even surpassed Mozilla on certain things (especially desktop). Of course if the benchmark is just Chromium, then none of it will ever be enough, then again, Mozilla doesn’t seem to catch a lot of flack for drawing a line in the sand in terms of support.

Other than that, Safari seems to be doing great on test suites/benchmarks that focus on progress such as the annual Interop. Consistently[0] keeping up[1] over the years[2], and sometimes coming out on top[3].

> has a lot more to do with staving off legal threats to their 30% cut on native apps (e.g. the Epic lawsuit) than any benevolence towards the web platform.

I tend to stay clear with attributing maleficence or less than generous intentions without something substantial to back it up. Especially when behavior seems to contradict such attributions.

For example, if that where the main motivator then I’d expect a bare minimum approach and Apple dragging their feet, like we see with DMA implementations (e.g., only allowing what must be allowed in the EU instead of globally), instead we not only see improvement of PWA support, in part beyond what Mozilla supports, but also direct contributions of standards that PWAs rely on in the form of improvements..

0: https://wpt.fyi/interop-2021?stable

1: https://wpt.fyi/interop-2023?stable

2: https://wpt.fyi/interop-2024

3: https://wpt.fyi/interop-2022?stable
If you're producing more than a full-time colleague, does the 50% pay cut seem a bit harsh?
Simplicity is a feature. Sure, how complicated can effective enums really be, but Go's general philosophy is to think hard (& sometimes for a long time) before adding every bell and whistle.

I have a far easier time delving in to previously unknown Go code for the first time compared to something like Scala (or even Java). Go is a solid language for those who value that and want to enable the experience for others.
Location: Bangalore, India (Working in multiple Time-Zone-US/UK/AUS/NZ and EUR)

Remote: Yes

Focus Areas: FinTech:- Financial Services Product Development, Payment SDKs, B2B SaaS (USA, Europe, India)

AI & ML:- LLM, OpenAI, GPT4 All (Working with 4 clients in LLM based Agents)

SportsTech:- Sports Product Development (USA, Australia)

LegalTech:- Document Assembling, DocumentAI (Blockchain)

Real-time Engagement with Audio and video, Streaming

Schedule a Chat: https://calendly.com/mobilefirst-intro Email: rupal(dot)mobilefirst at gmail(dot)com

Technologies: NextJS, NestJS, NodeJs, Angular 14, TypeScript, Redux, NoSQL, ReactJS, Tailwind CSS, Shopify, AWS, Serverless, Kubernetes, iOS, Java, React Native, Flutter, Full-stack

Availability: We are a product consulting & development studio. Due to budget cuts, 2 of our large customers have paused their engagements. We do have more bandwidth in the coming months. We also provide fractional engineers for services.

In the last engagement, we managed the front end (Storybook + React) & back end (Serverless). We follow a ticket-based branch strategy & have written unit test cases (TDD) as well.
True.

But, sometimes those "rules" aren't laws; they're norms, expectations, or personal human "limitations" (doing uncomfortable things to raise funds, secure the best people, connect with your customer better, etc).

Just wanting to underline that not all of this rule-breaking has to be immoral, or even illegal.
A software project being successful doesn’t make the experience of working on it any better. I’d prefer hype if that means I get to avoid suffering with a three decade old C++ codebase, even if it’s not as successful.
We have some older AC-AC converters to convert 60Hz wall power to 400Hz aircraft power 3 phase. They use a motor coupled to a generator, about 100kW output. If we shut one off and then restart it before it's fully spun down the phase difference between the motor and the grid is enough to make this thing kick and jump a fair bit. I'd love to see what happens at 200+MW! From a distance of course. I imagine the structural damage would be rather spectacular.
Why do all the 2-letter words have reversed letters?
Did you have to convince an employer you’d be productive for 12 hours?
RSS Is Dead LOL
All money streams lead to people in the end.
Location: Brazil

Remote: Yes

Willing to relocate:Maybe

Technologies: PHP (Laravel), Javascript (Node, React/Vue/Svelte and their frameworks), Go (Golang, for whoever is using ctrl+F), Python, MySQL, PostgreSQL, MongoDB, Redis, Docker, AWS, GCP and query optimization, API design, long experience with SaaS and team leading. Same experience with React Native and AI.

Résumé/CV: https://gcj.io/pdfs/cv.pdf

Email: gcaetanoj[at]gmail.com

Soft Skills: Leadership, Project Management, Multilingual (Portuguese, English, French, Spanish).

In my career I have worked remotely for companies in the US, Brazil, the Czech Republic and Belgium. Late 2022 was brought into the agency I'm currently working for to lead a team to work on the single Laravel client they had. That client went out of business, so it seems I'll be out of work :D

What I Bring to the Table:

Proven track record of leading teams and projects to modernize legacy applications, significantly improving service times and reducing costs.
Hands-on experience in developing scalable systems, from concept to deployment, across diverse technology stacks.
It is in this case. After Musk invested in them, they’ve incorporated separate for-profit companies to essentially profit from the IP of the non profit.
puzzmo.com | NYC | Full-time hybrid | Junior Frontend Engineer

Come build web-based games with Zach Gage (Knotwords, Good Sudoku) and Orta Therox (TypeScript, Artsy) and a small team of designers and engineers. We’re pushing what’s possible with web tech for games: help making existing games even more native-feeling, and help us ship a steady stream of brand new games to our new daily games site.

Tech: React / TypeScript / Node.js

Learn more about the job and apply at https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperienc...
I live in an extraordinarily liberal, extraordinarily inclusive, extraordinarily communitarian enclave of Chicagoland, and I just watched a school board meeting (I am in the kind of community where everyone watches the school board meeting) where 6 households back to back got up to the public comment podium and talked about the specific, materially important physical safety issues they are currently, personally, experiencing as Jewish Americans.

I am not sticking up for ADL, which I agree has tilted way too far towards the defense of the Israeli government and surrendered some credibility in the process. JVP is controversial for good reason, and it is not reasonable for people to cite JVP as evidence that mainstream Jewish Americans broadly agree with a maximalist anti-Israel position. But they are not a hate group.

Right now I look at ADL the same way I look at RationalWiki. I don't trust editorialisms from RationalWiki at all. Who would? But when RationalWiki presents receipts, I look at the receipts. ADL's "editorial" voice is not very useful right now, but their specific reporting often is.

At any rate, my major point here is: Jewish Americans face unique, widespread, material safety issues. If you're operating under the impression that it's easy to be Jewish in America as it is to be Irish Catholic, do some reading and revise that opinion. From what I can see, that would be a very difficult claim to defend.
If we get so efficient that we can meet all our needs working once every 14 days, spending the rest of our time exercising and enjoying life, why is that bad?
I have a totally tangential ramble queued up on this topic.

I like philosophy and I read it as a total amateur. Naming is a big topic in modern philosophy [1] with a huge amount of depth. I think of it in terms of my naïve understanding of Wittgenstein's later work and the idea that the meaning of a word actually comes from its usage within the context of a set of collaborating agents.

If I say to a programmer "use a vector", that will mean something specific if we are writing C++ and I want to use a resizable array. And it could mean something totally different in the context of a 3d rendering engine.

I think of how often I see words like "Context", "Session", "Kernel" and all of their myriad uses.

So I see articles like this as just a pointless argument because we are crossing some boundary between distinct language games. The author of this article thinks "Enum" means one thing. But it is actually the case that "Enum" is unspecified outside of some particular context. And in this case, the author is bringing some outside context and trying to reuse it inappropriately.

1. https://en.wikipedia.org/wiki/Naming_and_Necessity
It's for Linux but some of the individual apps have Android releases on their F-Droid repo.
> They still have every reason to complain about Go's oft suggested lame substitute.

Well, yeah, this is also the reason they deserve quite a bit of ridicule from actual Go users.
SEEKING WORK | Location: Bangalore, India (Working in multiple Time-Zone-US/UK/AUS/NZ and EUR) Remote: Yes
Focus Areas: FinTech:- Financial Services Product Development, Payment SDKs, B2B SaaS (USA, Europe, India)

AI & ML:- LLM, OpenAI, GPT4 All (Working with 4 clients in LLM based Agents)

SportsTech:- Sports Product Development (USA, Australia)

LegalTech:- Document Assembling, DocumentAI (Blockchain)

Real-time Engagement with Audio and video, Streaming

Technologies: NextJS, NestJS, NodeJs, Angular 14, TypeScript, Redux, NoSQL, ReactJS, Tailwind CSS, Shopify, AWS, Serverless, Kubernetes, iOS, Java, React Native, Flutter, Full-stack

Availability: We are a product consulting & development studio. Due to budget cuts, 2 of our large customers have paused their engagements. We do have more bandwidth in the coming months. We also provide fractional engineers for services.

In the last engagement, we managed the front end (Storybook + React) & back end (Serverless). We follow a ticket-based branch strategy & have written unit test cases (TDD) as well.

Schedule a Chat: https://calendly.com/mobilefirst-intro Email: rupal(dot)mobilefirst at gmail(dot)com
No, Go enums are definitely separate types. Sure, technically there is also an integer (or some other base representation) hidden in there somewhere, but that's what an enumeration is. Without that you don't have an enum.
We've considered adding a plugin API. Are there any particular plugins you'd like to see implemented, or are you more interested in the resulting ecosystem that would emerge?
> convinced most of the complexity of modern languages was unjustified

You don't think that most of the complexity of modern languages is unjustified?
To anyone reading this as "the EU is okay with PWAs being restricted to Safari/Webkit":

(I've seen a couple of those comments go around here on HN)

I don't think so. Nowhere in Apple's announcement does it say "the EU is okay with this".

What Apple has announced today is a(n update to their) plan to comply with the DMA. The EU won't actually do anything until March 7th (the deadline for compliance). The fact that they did do something following Apple's announcements regarding PWAs just shows how obviously ludicrous those plans were. The EU recognized the urgency of the situation and acted [1] - If Apple would have shipped this update, many existing PWAs would stop working overnight, those apps would jump ship and offer their PWA in the App Store with (no way back?) and the damage to the reputation of PWAs would have been done: Apple would've sent a message that you can not rely on the web to reach your customers on iOS.

Nowhere does anyone say that the EU is OK with PWAs being restricted to WebKit. In fact, the DMA demands the opposite: Apple has to open up iOS to 3rd party browsers, and Apple can't self-preference Safari/WebKit for any of its features. Like, say, run PWAs.

I have read lots of comments and posts that said something along the lines of "Apple doesn't want other browsers to run Service Workers". That's not the reason for the attempt to remove PWAs on iOS. Service Workers are not PWA-only, every regular website in a browser tab can have a Service Worker. PWAs can be added to the home screen just fine without one. They are not mutually exclusive.

Apple removed PWA support so they would not have to open up the APIs to other browsers. Period.

So, to circle back to "the EU is okay with PWAs being restricted to Safari/Webkit":

I very much doubt it. Apple has announced a plan to comply, forgot to mention they were going to kill support for PWAs, then did confirm it (only took them 2 weeks), and now they backed down. We're back where we left off a month ago - and I believe the EU is very much going to have an opinion on the WebKit restriction Apple is trying to keep in place.

[1] The EU only announced they would start an investigation AFAIK, which is a long way from actually enforcing anything.
Is there a similar site but for browser only javascript libraries?

I am not a web developer, and always find NPM etc way too much for my occasional needs.

When I search internet for anything, 90% of the times I get an NPM based library that can not work in browser with just a <script src="lib.js">.

JavaScript has improved a lot and does not really need Node/compilation steps for almost all my use cases. Is there anything where I can search for browser only, client side javascript libs?
Reinvesting in providing further care or lowering costs would smell as sweet as giving it to wealthy individuals?

Should get your nose checked, sounds like you have covid or something.
> there was also quite a good Twitter bot AI from Microsoft for a bit (forget the name), it got a bit racist and became infamous.

Tay!
I think we'll be fine from GPT taking over. These technologies seem far from AGI IMO even though they're all very impressive.
Sounds like ICQ circa late 90s :)
They still do. See below how the European grid ran a little slow, causing all the oven clocks to fall behind. This was corrected by running the grid slightly faster, to move all the oven clocks forwards again.

https://arstechnica.com/tech-policy/2018/04/european-grid-di...

https://electronics.stackexchange.com/questions/360328/serbi...
if T and U don't have the same erasure the compiler will forbid the cast

if they do the compiler will warn you that an List<T> to List<U> cast is naughty

but in that case the only methods you can call on it are that of the erased type anyway

in practice I don't think I've ever seen a bug as a result of this type of erasure (and I've probably worked with at least several million lines of Java)
Hard-working full-stack engineer with experience in B2B and manufacturing. Currently leading frontend engineering at Teamworks.

Here's a open-source ERP I'm building at night: https://github.com/barbinbrad/carbon

Location: USA

Remote: Yes

Technologies: TypesScript, Elixir, Postgres, React/Vue

Resume: https://bradbarb.in/resume.html

Email: bradbarbin@proton.me
That works (I suspect) because they run them as JavaScript in a different browsing context and have implemented some of the WebExtension APIs themselves on the backend, e.g. HTTP request filtering (which is one of uBlock's primary functions).

That's a nifty workaround but not ideal, since it's not possible to actually provide all WebExtension APIs that way.
Easily solved by proper cable management.
> (It probably would if large tech companies did not exist.)

By what mechanism?
Maybe I'm getting this wrong but... you're working 3/5 of the time, you're getting 1/2 of the money and you are earning the company > 100% than full time?
[1]: https://en.wikipedia.org/wiki/Roko%27s_basilisk
To allow backward compatibility Java introduced Generics with type erasure, which in short means they only exist at compile-time, not at runtime (there are some hacks around that, which various devs have used with great success to still get the information). That is another reason to just start with Generics from the beginning if you design a new language, so you won't have compatibility problems when you introduce them. It's not like Generics were a controversial feature when Go came out.

C#, which is often cited as an example for "generics done right" chose another path, which allowed generics at runtime - they made a hard break and just threw backward compatibility out of the window iirc. The reason Javas designers didn't do that is not only introduced generics far later in its lifecycle, but Java also has always followed the hard rule that breaking backward compatibility is something which should only ever used as a last resort and never between two versions directly following each other.
Not everything is all or nothing. 80-90% reproducible builds are often good enough and learning Nix only to get that last 10-20% is not always worth it. And there are ways of pinning all dependencies with docker if you really want to.

I've had issues with Dockerfiles not building anymore due to changes in the package registry, but it was like 1-2 times out of 1000 of times I used docker.
Major leak reveals which chips Apple will use on upcoming iPad and iPhone models
Path used a paid model and still didn't survive.

It's true the techies who lament the decline of corner stores are now more excited about things like Kagi and I'm pretty sure a lot of their marketing is exploiting those feelings on niche sites like HN.

But really, how long have they even been alive? Path tried their best for years and then failed. I hope that maybe enough has changed that folks like Kagi can now survive since wishing ill on something being built isn't my way.
Not quite the same, but if you want to do this with a terminal session, asciinema[0] is great!

[0] https://asciinema.org/