skysight-inc/HackerNews huggingface dataset:
Zig is still relatively immature so it’s hard to judge just quite what software patterns will look like at scale, especially when it leaves the niche of language enthusiasts using it to build stuff.

Anyway, [1] shows the pros of this approach. But notice what’s not being discussed. This acknowledges that you have effectively increased the number of error paths in your program and you have to go through quite a bit of effort to get coverage to get some confidence of the behavior. Think of it in terms of ROI. Testing for malloc failures is comparatively expensive. It’s not logic based so you have to do it probabilistically and hope your test coverage works well and the issue happens infrequently (really never) in production. If it happens never, you’ve wasted all that test effort. If it happens very rarely, you’ve still wasted the effort because the probability that your test coverage accurately simulated the failure path is probably fairly low in a common path. It also sounds like zig’s allocator is actually quite dumb.

So while making sure to require explicit allocators, what’s a missed opportunity I think:

1. The default program allocator should be passed into main / dlinit. It’s not. This seems like a bad choice.

2. All malloc code in practice, I suspect, ends up getting propagated with try. That means you’re paying a performance cost for all the error checks that never get executed in practice (mostly in terms of icache pressure). Compare with rust where allocation failures typically panic and an optimized application will have panic set to abort leaving unwinding to a background process responsible for error reporting. That’s means there’s no stack unwinding and no error handling code for malloc failures without any change in safety guarantees.

Zig is a neat experiment and I understand why it’s proponents like it. I still would never choose it in production at this time:

1. The safety issues means that it’s not thaaat different in profile from C. It’s significantly easier to write safe code, but it’s not easier to audit / make guarantees.

2. Development speed is higher than some thing like Rust but when performance is a bit less critical higher level GC languages (Kotlin, Go etc) seem to make more sense.

So it’s hard to see what niche of professional development Zig can fill. Now being a hobbyist language is fine and it’s doing a lot of interesting things to show the ergonomics of other choices we wouldn’t otherwise see. But I would personally be very careful about making assumptions like “it seems to be working well enough for Zig” until it gets into the hands of a broader community. Things that seem to work OK earlier can shift drastically at scale.

[1] https://www.lagerdata.com/articles/testing-memory-allocation...
In rust ! signifies invoking a macro, so it couldn't be used like this in a function name even if you wanted to. Also, Rust allows you to notate immutable/mutating/owning for each individual argument type, so there wouldn't be much point:

fn do_thing(a_owned: Foo, b_mutating: &mut Foo, c_immutable: &Foo) {

There is a convention to separate the two kinds of functions (consume and return in some, mutate in others), but that's the only commonality
Kalvium | Remote or onsite, India | Full Time or Contract | https://kalvium.kekahire.com/ | https://kalvium.com

We have multiple open roles in engineering - I'm hiring for a data scientist, full stack engineer, technical mentors, content creators and program managers.

Kalvium is redoing the 4-yr computer science program to be 2X better than any current program in india, including top-tier institutes you can name? How're we doing this - we are rethinking from scratch everything about the course: pedagogy (blackboards makes sense for CS? How about open offices? How about lectures?), courseware (replace irrelevant courses with more CS skills).

If this ambition sounds good to you - you should know we've already started 3 classrooms and have students going through this! Join us.

PS: even if you've not found an open role fit for you, but you're interested in participating in this challenge and vision, please get in touch. We love talking to people who connect with our mission - we usually find ways of collaborating. You can reach out to me anil@kalvieducation.com
Simple example:

Alice: “I need you to do X.”
Bob: “OK, I’ll do X.”

Not much negotiating, but Bob has aligned to Alice’s request.

More subtle:

Carla: “Do you think we should do X or Y?”
Danny: “I’m leaning X but Y might have the following benefits…”
Carla: “I’m leaning Y for those exact reasons. Why do you think X?”

And so on, until alignment is reached. Hope this helps!
This is awesome.

Now add something like the AT1846 “walkie talkie” transceiver chip and some RF switching and filtering, and we’d have a self contained “USB VHF adapter” sort of thing…
I read Texts as Texas.

Anyways in areas where it regularly goes below 0F, the transition will not be smooth (but probably still necessary). Heat pumps that operate efficiently down -20F are just coming out and will be even more expensive than normal heat pumps. Also most residential energy usage in really cold areas are from burning natural gas, so electricity generation is quite low compared to warmer parts of the country.
Are there any thermostats at all that work completely locally, i.e. without any internet access and no cloud, but still can be controlled via HASS?
Will continue building Unleash (https://www.getunleash.io), still a lot to do.
Creating website layouts in many styles at once
Most engines that run on gasoline will run unmodified on LNG and many other combustibles besides, alcohol would work but the way in which it and ethanol attack various materials found in the fuel systems of vehicles means that your problem is likely not going to be the engine but further upstream towards the tank (seals, membranes).
People are happy to think about it! The author mentioned this point in the article. What she overlooked was the improved affordability that would result.

Do HNers shed tears for the typists of decades past, whose jobs were automated away by computers? There is a constant march toward automation, without which most HNers would not have their current careers.
SpaceX doesn't seem to have done any work on actually living day to day on Mars. Not even colonizing, just living. Where's the airlock that will reliably blow the perchlorate filled dust off spacesuits? A toilet that will work reliably and not fill a ship with aerosolized feces? Shit how about an actual static demonstrator for a Martian lander version of Starship? A working model methane processor demonstrating that fuel could be generated from Mars' atmosphere and stored for the duration of a launch window.

I'm sure they've got some engineering schematics for some of those things or re-warmed NASA papers about those topics floating around. But talking about Martian colonies without talking about the things that would just keep a couple of people alive is just bullshitting.

You're serious about an endeavor when you want to talk about the boring aspects of it. Talking up the exciting aspects is just bullshitting.
Esp for a "property-and-casualty insurance agent" role, which presumably is high volume, high stress, and is about screwing people out of insurance payments.
They don't dance around it at all. It's just a poor HN title.

The result is an association between high plasma sodium and aging.

I might have missed your point though.

But to your point in hydration and sodium.

Sodium ion concentration dominates plasma osmolality which makes it not a bad way to think of hydration.[0]

[0] https://en.m.wikipedia.org/wiki/Plasma_osmolality
Location: Paris, France
Remote: Yes (preferably CET+-4h) or hybrid
Willing to relocate: No
Technologies: Rust, TypeScript, JavaScript, Node, C++, Python, Java, OCaml, Haskell, Git, Mercurial, Kubernetes, Docker, SQL, Static Analysis, Compilers, Programming Language Design, JITs, VMs, Concurrency, Distributed Programming, Federated Networks, System Programming, Backend, Linux, macOS, CI/CD, Unit testing, Integration testing, Fuzz testing, Chaos testing, self-teaching Pytorch and NLP, happy to learn more.
Résumé/CV: https://www.linkedin.com/in/davidteller/
Email: david dot teller dot laposte at free.fr

Former Mozilla, current Matrix, loves learning, teaching and mentoring, thrives in open-source. Most of my career has been devoted to making things safer, faster and simpler for both developers and end-users. I have been a developer, a manager, a researcher and I've enjoyed all of these roles.
Professional Advantage over the students?
It's to protect the ability for criminals to use f1 to buy prestige, agreed
There's a common pattern I've seen over and over. When people learn a new thing they tend to go through a creative phase with it. The first time I noticed it was in a programming class I took in school. We were learning in Pascal. (It was cute!) When we got to the lesson on changing output colors, for the next week it was like some unicorn barfed rainbows all over our screens.

People like to play. (Remember blink tag? Scrolling marquee?)

What you're seeing in the JS Frontend space is (in my considered opinion) a combination of the effect of:

1) Lots of people learning to program by messing around with JS, and

2) Folks willing to pay people to mess around with JS.

So you have a volcano of creativity combined with a tidal wave of money...

The results were inevitable.

> Follow up question : Is that complexity necessary or artificially inflated?

No, and yes. It's not necessary (for the vast majority of sites) so it's definitely (IMO) artificially inflated.

The good news is that you can end-run all the introduced complexity by using e.g. Elm lang ( https://elm-lang.org/ ), or just sticking to simple "plain vanilla" JS systems. The only reason to use something other than Elm is if you enjoy some other particular system (I hear good things about "htmx" https://htmx.org/ )
This interfaces with four parts of a handheld radio transceiver:

* Audio In (mic)

* Audio Out (speaker)

* Push To Talk button

* Serial UART reprogramming interface.

It's useful because you can hook your computer up to a radio with a single device and use the cable both to reconfigure the radio but also for APRS (Automated Packet Reporting System), which is a really cool system by which standard digital packets containing arbitrary information are repeated through a network of ground stations worldwide. Think an "IOT mesh network" from before buzzword technology (and unfortunately with a much higher power requirement than the modern LoRa based systems).

This has always been possible using a sound card and some method to manipulate the PTT interface, and a separate UART cable swapped in for reprogramming, but having everything together on one cable is a nice convenience.
This is false. The first condominium in the continental US was built in 1960, the entire scheme is only 63 years old. There's some older buildings that have been converted, sure, but the legal concept isn't that old.

And buildings start needing more significant structural work after forty or fifty years. Which is to say, yes, I expect many more condos to collapse over the next couple decades.
Netflix also had a lot of the content that drew people to their service pulled from the platform by content owners wanting to spin up their own streaming services (with mixed results). It's not like they intentionally dropped that content to save money, the licensing agreement ended and wasn't renewed by the IP owner.
When did you leave the object? There should be a check of the invariant as control leaves the object. At what moment does this happen.

The F# people struggled with this. In proof systems, you check invariants at exit, and get to assume them true at entrance. So you need to be very clear about entrance and exit.
> It's about 1.7km/s delta-v to land on the moon from LLO.

Looking at it from LLO isn't the number you should be using. It's the number from Lunar intercept orbits to landing.
We can keep the discussion going but I don't see why?

Polymorphism is not part of OOP it's much more universal then that. It can be used by OOP the same way numbers can be used as in OOP programming. But numbers are not hierarchically under the umbrella of OOP.

I mean what is the point you're trying to make here? That polymorphism is fundamentally and categorically OOP? Are you saying that anything that uses polymorphism (which is almost every language under the sun) is OOP?

>Do you also want Simon Peyton Jones point of view on Haskell type classes and OOP relate to each other?

No? Wouldn't that be a completely different topic?
Local Kitchens | San Francisco, CA or Remote (US)| https://www.localkitchens.com

Local Kitchens is a growing network of micro food halls that bring local restaurants to new cities throughout California, and soon, across the country. We take a vertically-integrated approach – guests order through our app or using kiosks in-store, and we operate the kitchen ourselves with menus licensed from our restaurant partners.

To learn more about who we are, our engineering culture, and whether this is the right place for you, read our Key Values profile: https://www.keyvalues.com/local-kitchens

Our open positions:

* Senior Software Engineer (Kitchen): https://jobs.lever.co/localfoodgroup/5db55467-5c93-46e4-8c38...

* Senior Software Engineer (Kitchen): https://jobs.lever.co/localfoodgroup/55c545ae-bc0f-4050-9a4d...

* Senior Software Engineer (Mobile): https://jobs.lever.co/localfoodgroup/cae84c98-0c4c-4a6a-a8b5...

* Senior Software Engineer (Mobile): https://jobs.lever.co/localfoodgroup/ae614925-dc8c-48f4-bd0e...

* Senior Software Engineer (Mobile): https://jobs.lever.co/localfoodgroup/b86e5abe-3570-41dd-ac84...

* Software Engineer: https://jobs.lever.co/localfoodgroup/5bdf4d41-a2a3-4e1d-bff6...

* Software Engineer: https://jobs.lever.co/localfoodgroup/ee6f2bd2-c3a9-4f86-9e36...

* Software Engineer (Mobile): https://jobs.lever.co/localfoodgroup/33ccf93d-2f6b-4e30-a9c3...

Tech Stack: TypeScript, React, Apollo GraphQL, PostgresQL, Python
I have one more thing to add to your benefits of web front ends. Security.

At least some security separation between the application and the users operating system. If I loaded the save game in a web app, I would at least have some assurity that the application was only going to get access to that one file, being the web browser is going to enforce that.

With a binary thing are far more terrifying, every file I have permission to is up for grabs. Running it on my primary machine is a no go for the most part. I'll have to load it in a VM if I really want to use it. With this said Windows 10+ has the Windows Sandbox feature that very few people know about, but there is still a fair amount of friction there compared to a browser.
The infrastructure behind ATMs
> From what I've seen, short term rentals have negligible effects on the housing market

It changes depending on the location.

Some places e.g. Byron Bay in Australia have been significantly affected by short term rentals.
> Maybe integrate a TNC Modem with KISS interface? (I am not sure if that is worth the effort)

This makes me sad.

Several years ago, I ran a packet radio / AX.25 server, and used it to hop around Southern California, Mexico, Oregon, Nevada. It was super fun, but there were very few peers to actually chat with.

I used the KISS interface on my KPC-3 to also run a Zork server from a Raspberry Pi -- anyone could login and play Zork, and the state was persisted, so you could logoff and continue later. So much fun, so few visitors.
What on the "Get running with Couch to 5K" website suggests to you not doing it properly or overdoing it ?

Seems like you are scaremongering.
At the time it was grayed out.
The inability to do large infrastructure projects has been noted many times, in a way we have regressed considerably from the mid 1800's to today in that respect. But that doesn't mean that the solutions proposed aren't valid, just that too many parties are running inference to succeed (Elon Musk one of them, by the way).
Same with New York but I see several companies with NYC in their location with no salary info.
SEEKING WORK - [PART TIME] [FREELANCE] [REMOTE]

I'm open to start immediately.

More than 6 years of experience to build, to architect MVP web-apps and mobile apps for product to bring value to businesses has allowed me to work on following technologies.

- Javascript-Typescript, Node.js, Python,

- Express.js, React.js, Redux/MobX, HTML5, CSS,

- MySQL-PostgreSQL, Elasticsearch, Google Firebase,

- Next.js - SSR (server side rendering), GraphQL with Apollo client

- React-native , React-native-web to share one code base and make it a Mono-repo architecture.

- unit-test and E2E-test with Jest, chai and mocha across the system backend, frontend, cloud functions.

---

- Consumer and enterprise focused online market space for real-time communication, I've led the development of audio-video conferencing web app using Agora's SDK for WebRTC and RTM channels with React.js, Redux, Google Firebase with Node.js, Express.js and MySQL microservice. Provided support and development based on calls with customers, clients, investors.

- SaaS Product development has enabled me to architect and build the Reporting system from scratch, replatforming the previous service provider, Looker. Built and provided composible front-end, back-end application level reusable modules for tests, UI. etc.

- LinkedIn : https://linkedin.com/in/pbdivyesh

- Github: https://github.com/tapudp

- Email: divyeshpar2496@gmail.com

Looking forward to learn about market and product creation, building flows that leads to create value to business(es).
Text of downvoted comments appear in lighter shades. The more the downvotes the lighter the text. Does the linked comment [0] appear in light gray as opposed to its replies which are darker?

[0] https://news.ycombinator.com/item?id=34216557
I am currently taking this drug in an attempt to get my blood sugar level down. I have lost about 15 lbs but my insurance did not want to cover it. Thankfully, Eli Lilly has a $25 coupon to cover it.
Because we could move the entire current stock of cars over to less carbon intensive fuel without having to build an entirely new fleet.

Keeping in mind that manufacturing new cars (and the associated resource extraction) is extremely carbon intensive, then a carbon neutral-ish fuel might actually be the best option overall on a meaningful timescale.
> the astronaut with the broken neck would be front page news for every minute of the hours/days/weeks

Only while the thing is rare.
The questions are set to change later in 2023, so now would be a good time for anyone who wants to do so to study up and take the test…
I'm not trolling anybody!

The parent is not fanboying Rust much. Instead this looks like an interesting exchange of insights and opinions.

I actually want to learn why people seem to really like Rust even it's "just" like a "Scala light".

What was deemed "too complex" or "academic" in Scala is now everybody's darling in Rust. This is actually quite interesting.

I'm looking for hints how to resolve the marketing issue with Scala.

The other comment was meant more lighthearted and shouldn't be read out of context.
Being dead doesn't censor anything. After all, I'm here reading and replying 10 hours later. It just makes it invisible to people without "Show dead" enabled.

Your post most assuredly got down voted to death for calling "HN" "toxic." That's not constructive at all, and it inflames emotions which is the opposite of HN's goals of technical discussion.

I've taken many positions against the HN herd and yes many people do downvote on disagreement (which I agree they shouldn't), but given a bit of time it will typically even out. The new vouch system helps this even more.
Because the people with the least experience choose what tech to use, or they get paid to use a specific tech.
I'll be sure to suggest that to Mozilla and Google :)
Does anyone know what ever happened to Mazda's skyactiv thing? Was supposedly going to help ICEs be more fuel efficient by adding an extra stroke cycle with water? Seemed very promising, but I haven't heard anything about it in years.
No, his argument is that you should not say "new companies should not go into debt".

His financial advice is "don't think about the amount or the debt, but think about the cash flow analysis."

He goes on to state that many new companies won't need to go into debt to be successful along the terms the founds define them.

You are presenting a straw-man argument. He even says, it isn't that the argument is wrong, but that there are better (more complete) frames to examine this problem. Your point (4) is literally false.
Need a link
SEEKING WORK

- Location Zagreb, Croatia

- Remote Yes

- First coding job in 2015

- Willing to relocate No, but I am open to occasional visits

- Technologies React, Nextjs, Ruby on Rails, CSS, HTML, Javascript, Ts

- Github https://github.com/tonkec

- Type of work remote part-time/full-time

- Contact antonija1023@gmail.com
> It's not necessary to evaluate every work completely stripped of context to engage with it honestly

It is a blatant ad hominem comment that adds nothing to the discussion of whether or not the arguments in the article are valid, but rather is an attempt to prejudice your opinion.
>> There are reasons besides donating to wikileaks that could result in a bank account being closed in Australia.

There could be other reasons but I wouldn't be surprised if that was the only reason.
Visa and mastercard suspended payment processing for wikileaks.

Some banks were closing accounts if you purchased crypto so it can be even more arbitrary.
Two kinds of debate: one where the expected outcome is a refinement of ideas, another where the expected outcome is an agreement on future behaviours (“alignment”). If you approach someone who only converses to negotiate alignment, they are likely to take your seeking of peer review feedback as a mindgame designed to make them do more of what you want to do.

For me, this explains why some compulsively managerial types are incredibly averse to conceptual abstraction in conversation: it comes off as a bamboozlement attempt!
Lunar stationary orbit is not 88,400 km, it's 384,000 km, i.e. the distance from the Moon to the Earth. The moon is tidally locked to the Earth.

Though you could equivalently try and go for Earth-Moon L1 with a counterweight on the other side of L1. It would be significantly more unstable though.
Who tf claimed that? It's two completely different questions.

The issue is not Airbnb or not. The issue is guests etiquette and difficulty to penalize bad/loud/disrespectful people.
Business is in competition with other business, not in competition with 'doing things right'. Forcing businesses to 'do things right' is called regulation and will get you lots of subcomments on how that's bad here on HN.
I'd argue that the average quality of animation in Japan has gone way down. Bad animation has never been so cheap!
When I work with my own money, I’m often overly cautious. I’m currently agonizing over whether to drop 1k on cloud credits to see if something is viable.

If such a decision on 1k took a week in a real startup which blocked a whole team at 10k/head… then there wouldn’t be much startup in the future.

Founders waste money because they need to move fast. Sometimes the need for speed also means that they do seemingly foolish things, you can be right or fast - sometimes being slow is wrong.
And the majority of people will charge when power is cheapest, meaning peak power won’t increase nearly as much.
What matters isn't the specific brand or even what they're selling, it's that it's The Cool New Thing.

The tech bro demo in SF loves high tech electrical stuff, and Lucid, Rivian, Taycan, etc. are, COOL and NEW and align to their political and social sensibilities, while also allowing them to flex the conspicuous consumption and signaling.

Mercedes is not new and does not align to obvious socio-political ideals outside of $$$$.

This is also mid-level bling in the grand scheme; the big money is still driving Lambos