skysight-inc/HackerNews huggingface dataset:
Deafness does not mean being entirely deaf. It can simply be hard of hearing. For example, I have sensorineural hearing loss that is likely genetic and at any rate is congenital. I can hear, just not well, at least without my hearing aids.
Right - maybe we could have Bitcoin miners make the software?
The article says it's to offer people the classical music recordings they don't have to pay royalties on, when they search for the composition, even if it's not the best.

Doesn't seem so ugly to me, honestly.
Hate almost always comes from people who haven't used PHP in a very long time or touched it briefly at some point. Fanboyism serves no purpose. Experienced developers understand that programming languages are just tools each with their own trade-offs.
We offer Llama-2-70B-chat api[0] at Deep Infra. $1 per 1M tokens, support streaming and OpenAI compatible endpoint[1].
0. https://deepinfra.com/meta-llama/Llama-2-70b-chat-hf
1. https://deepinfra.com/docs/advanced/openai_api
Funny how "server side rendering" became a hot new thing too.

I was so confused when I heard that, "like... a HTML file?".

Keep going at this rate and we'll be using frames again.
Any managed language - java and go included, pays for trips to external, non-intrinsics calls. The standard way to deal is large portions/buffers to amortize the costs. This has been the case since the late '90s
Without control, power is nothing.

C gives you control.
It's hard to see why the buffer wouldn't be per image. There's no reason to reuse that.

> In other words, the attacker can now write arbitrary data into the unsandboxed process's memory at a semi-known location (known page offset) inside the mapped buffer.

But what is the arbitrary data going to be?

1. If it's gadgets with known lower bits, then you could put that into a plain-old image file, no decoder exploits needed. Also this requires the second dumb mistake of the coder going out of their way to mark the buffer as executable.

2. If it's data you want to exfiltrate, you could just gather that after you trigger your unrelated exploit. This is only useful if everything aligns to drop the private data you want in that specific section of memory, and then the buffer is reused, and then the private data is removed from everywhere else, and then you run an unrelated exploit to actually give you control. This is exceptionally niche.

> harmless on its own

Ha.
It doesn't matter which word you use.

If a worker whose employer you're paying to do something is underpaying them, is it your obligation to make up the difference?
If you do it 40 hours a week - absolutely.
I create pottery and I never sell it. So I can't evaluate my art by the level of profit. I sometimes sit in the dead of night, listening to music, and suddenly I catch a glimpse of a piece of work and see it in the gentle light showing perfect curves that I don't see in any other work out there. In that moment I feel that I can die having created it, and at that moment I am sure that my art is good. (Provided you must have seen enough professional works and criticism in the field.)
> You burn bridges when you leave anyway.

Not usually and you shouldn't.

> I have never had go back to an old employer

People do go back to old employers. I've had old employers reach out trying to hire me back.

The most important point though is that it's people, not companies. Those people will move around to other companies and you want them to try to hire you again.
I don't think so? Could you try again?
Indeed. I certainly hope that we don't get lots of those cranes lifting and lowering concrete blocks: we might, because they appear to be really cheap; but we shouldn't, because of how much CO2 is produced by making concrete.

Only way to be sure we don't get them is to invent something better.

I do like the aesthetics of hydroelectric dams: they also need concrete, though proportionally less.

I think some people are working on eco-friendly cements that would make for eco-friendly concrete; we certainly need that too, regardless of how we solve power production.
https://github.com/xaos-project/XaoS is still awesome but could really use a GPU backend :)
javascript is way worse in cleanliness. PHP has the advantage of having been able to break backwards compat and fix some of its worst messes, even down to some questionable soft equalities. Also PHP nicely sidesteps the string addition/concatenation problem by having a dedicated operator for concatenation.
Apple zero-click iMessage exploit used to infect iPhones with spyware
If HN wont block it maybe someone can tell how to block these Flexport jobs with a ublock filter.
I miss Laravel too. It was the first framework I worked professionally. I feel I was much more productive in PHP compared to TS/Node, and also feel I was more confident in doing complex projects even though I had less experience. It’s like the current stack just changes under your feet. All the SSR going on nowadays appears too complex. I do think bug tech companies influenced downstream players too much. It’s just funny to see modern frameworks stitching code within HTML, it has come full circle.
I'll make sure to hide in my iron clad basement.

https://m.imdb.com/title/tt0087799/
It is a general truism that people who enjoy their work tend to make more money at it.
https://www.dot.state.mn.us/environment/noise/pdf/metro-nois... page 6: Minnesota classes some speed limit reductions as noise abatement.

Washington refers to modifying speed limits with the goal of noise abatement: https://wsdot.wa.gov/sites/default/files/2021-10/ENV-ANE-Noi... page 20

Delaware includes modifying speed limits (classed as traffic management) for noise abatement: https://deldot.gov/Programs/highway_noise/index.shtml

as a counterexample,
https://wisconsindot.gov/dtsdManuals/traffic-ops/manuals-and... various pages: Wisconsin forbids using speed limit reductions as noise abatement.
Not Just Bikes has a great set of videos on Youtube about how road design and driver psychology help to tame speeds much more than simple road signs.

By now the evidence is clear: people will drive at the speeds they feel comfortable at given their environment (sight lines, spaciousness, density, etc.). Just putting a sign on the side of a wide and spacious road is not going to do much to affect driving speeds.

The most interesting one to me was how tree-lined streets encourage slower driving without any speed limit signs, because it feels more like a tunnel and less like an open road.
> Hacker News is going to nitpick at the bold claim of the title instead of focusing on the fact that it's a well written technical article t

I think that's an unfair characterisation of HN readers.

They aren't criticising the article after all, they're criticising a clickbait and misleading title.
Is it ready for use? Last I saw it was far from feature complete.
that's the whole point: Firefox does not remember my choice.
C is a pretty good model in part because all ISAs were designed with C in mind.
Yeah I remember the days when their e-filing system was you had to download that year's desktop app. But it was still decent.

The purely online based one now is very decent.
Title is editorialized for clickbait.

Geerling tweeted: "I recommend Firefox, Safari, or (gasp!) even Edge instead. Those browsers don't try to work around any privacy-preserving steps I take to protect myself online."
National Insurance is a tax,
additionally after 100k you start losing your personal allowance.

The net effect is an effective tax rate much higher than the nominal rate.

You lose other benefits to but they aren't factored in as depend on if you have kids or not etc.
This is a happy case where the morally correct thing to do and the legally advisable thing to do align. If you don’t have anything truthful to say, just shut up. “No comment” is a valid and complete sentence. Lying is, if nothing else, extremely disrespectful.
Yes, we're on good terms, know each others' medical history and it was recognized that there was no malice in asking "is there a reason I keep seeing ads for X?" where X is a medication for some condition that's more innocuous than asthma.
What a total waste of resources of any kind.
"PHP is dead" is dead. The amount of people praising PHP these days is quite high and increasing. Of course I may also be in a bubble (of php devs), but I have seen a constant increase from JS-people starting to look (and in some cases, convert to) php. Also, many new youtube videos highlighting the new stuff in the language, how modern it is, etc.

Honestly, anyone that blindly criticizes or dismisses php these days, is a big red-flag for me.
The new motor is the combination of the MCT motor design and the SCT motor design. It gets the MCT motor's efficiency and the SCT motor's cooling system.
We have entire highway segments that have variable speed limits that change with traffic density and weather conditions. The speed limit signs are digital and update whenever a change is necessary.
Everyone is wringing their hands about climate change steadily boiling the earth when a comet could wipe us out like it supposedly wiped out dinosaurs.

I actually sort of find this amusing, fwiw.
what do you mean by a formal society?
It doesn't make sense to me how the author has such a huge problem with servers hypothetically not respecting deletions.

Is it possible? Sure. But few people are going out of their way to develop or set up a custom server to do that. And one might argue it's their right to do that! You can never be sure that you can delete information from someone else's machine, they could've just screenshotted the texts.

In fact, this whole article seems to be contrarion for the sake of it, with surface level complaints and no deep understanding of how federation and messaging apps work and their inherent limitations. Yes obviously you rely on the clients to maintain e2e encryption, but that's the case for every messaging app - even proprietary ones!
+1

only xv6 gives traps, stack, uart, kalloc, preemptive scheduler, rudimentary fs, init(0) and minimal userland out of the box. students are not expected to implement any of that, it is hard - instead, is a book to read, a beautiful one. assignments are built on top of the core public codebase.

> Perhaps you suggest to use production-grade kernel like Linux, instead?

i imagine the expression on the student’s face once they run into their first:

/* not sure what this code does and why it is even here */

if it wasn’t for xv6, the best available choice would probably be OpenBSD codebase (not yet reimplemented in rust), but that’d be one hell of a graduate course.

xv6 is material for undergraduate 6.1810, a gentle introduction to operating systems.
As well as differences in code gen, as I understand it Go also has worse tail latencies than servers written in C/C++/Rust because of the GC.
I wish these articles would publish an energetic tally.

It's pretty tough to remove CO2 from the atmosphere (an inert and pretty stable molecule at trace quantities), but that becomes easy with infinite energy.

Does the energy for mining and crushing the rock come from oil, and coal for example.

In short: what does it look like when you close the system loop?
> They had discovered that you could clear a string under MSVC by `memset()`ing over it.

Why was that? Was it too problematic to just call std::string::clear ?
> Slack uses PHP for most of its server-side application logic […].

> the advantages of the PHP environment (reduced cost of bugs through fault isolation; safe concurrency; and high developer throughput) are more valuable than the problems […]

The "high developer throughput" is really what does it for me.

I remember vividly when I started at Amazon (where PHP is forbidden) and we were spending days building a single relatively basic CRUD endpoints in Java (with Hibernate, that sucks for non-trivial models), I was constantly thinking "this would have literally taken 1 minute and 5 lines of code with Laravel".

You want your whole team to become 10x developers? Switch to PHP.

Between the simply incomparable frameworks that do absolutely all the work for you and the fact that a simple instant page refresh shows your changes, productivity is multiplied.
Did you see the post yesterday about the people who deployed a kubernetes cluster because it took 24 hours to parse a few GB of CSVs in JavaScript?
Work two or more full time jobs at the same time remotely. Each company assumes I am exclusively their own employee.
I meant "all those brackets and parentheses" as a synecdoche. I definitely don't mean my opinion to be a comment on any of the actual technical benefits of JS/PHP/Python. Just explaining the reason I've most recently preferred the act of writing one over the other.
In general, parallelization was a messy kludge in older languages originally intended for single CPU machine contexts. Additionally, many modern languages inherited the same old library ecosystem issues with Simplified Wrapper and Interface Generator template code (Julia also offers similar support).

Only a few like Go ecosystem developers tended to take the time to refactor many useful core tools into clean parallelized versions in the native ecosystem, and to a lesser extent Julia devs seem to focus on similar goals due to the inherent ease of doing this correctly.

When one compares the complexity of a broadcast operator version of some function in Julia, and the amount of effort needed to achieve similar results in pure C/C++... the answer of where the efficiency gains arise should be self evident.

One could always embed a Julia programs inside a c wrapper if it makes you happier. =)

https://www.youtube.com/watch?v=GZEOb6p1yvU
When i want to Argentina just before covid a few years back, i saw some of the biggest eucalyptus tree's I've ever seen.

They stood out like sore thumbs, they dont fit the look of the environment but dayum they were HUGE.
Romance books can sell to women already in a relationship, AI bots can't. I think it's probably no more complex than that.
Amen.

Australia is a good example. All online via their government website. Basically a glorified multi-page form, but it's autofilled with any data they've already received (e.g. salary paid and tax withheld by employers), and there's lots of guidance.

On the otherhand, in Japan they're just in the early days of doing e-tax (borderline unusable and still easier to paper file). But for those who even have to file (most people don't), you can fill in a one page paper form and drop it in the mail.

Whenever I see these articles about "turbotax" and whatever, I roll my eyes, same as whenever a discussion about "tips" starts up.

It's completely OK to take the best ideas from other countries and make them your own. It doesn't take anything from your own culture, and in fact frees up resources to do more of your own culture.
A core argument the post makes is that TPMs are insufficient for verifying full stack integrity and thus ineffective for FDE. (Eg by exploiting vulnerable drivers, an attacker can dump the disk encryption key from kernel memory.)

But in such a scenario, an attacker can also use such an attack to bypass any remote attestation/DRM/etc!

I guess you could argue that such attacks are too much work for consumers, and that low fences control big dumb animals…but I think, fundamentally, the same argument applies to consumer security functions like FDE!

Tl;dr: I think it’s hard to argue that TPMs are both useless for practical user security and a threat to free computing. It’s gotta be one or the other!
The memory model is a bit different on arm64, but it is not Alpha.

Other than that they are very similar
(1993)

A real classic!

https://news.ycombinator.com/item?id=36652934
I do not dispute that C is not the fastest language. However C99 has the `restrict` keyword, which when combined with strict aliasing rules gives non-aliasing function arguments (I believe).
Thanks for the feedback! We originally thought directing users straight to app would be faster and more valuable. But you’re right, not everyone wants to download TestFlight first. We’ll create a simple landing page with highlights.

In case you’ve already used the app, which feature did you find most valuable?
I remember someone many years arguing in the media that we shouldn't have the best coaches for the national soccer team. We should have the best coaches for our kids, and in a few years that would pay off tremendously. While I don't know how to do that in practice, that upside-down thinking kinda struck a cord with me. We should do that with more things.
If your string hadn't allocated yet then nope, probably not.
You can inject it into coal beds and it should adsorb into the coal
You used to be able to make small business filings on their portal as well. Then it got too hard when they spent a few years making many many more rules.

They then mandated you use a third party to file things like employee payments saying there would be free or cheap software to do this and listed a few.

Over time the free or low cost became more and more costly for something you have to submit to them by law.

It is a difficult issue as most of the government IT are straight up incompetent. (Just last week they gave up on a project after spending $2 Billion AUD).

The private industry would likely do a better job but then some people get rich, as opposed to a whole bunch more getting paid for what ends up in the bin.
Only cheap if you're running on huge servers. End user machines and edge compute are more constrained, so one needs to be more polite with resource use there.
I'm guessing the string was part of a larger struct, and they wanted to clear the entire struct with a single memset.

It's a somewhat common pattern in C, but requires care.
Will they? AI has adoption already, the metaverse is still waiting for meaningful adoption. You could argue that it’s never coming.
What you used as an example is fully encapsulated by my use of the term “desperate”. Those chained to their job via the medical insurance it provides, or housing disruption, or family income stream, are indeed desperate for said insurance or housing stability or income stream. This is not insulting in the least, merely factual.

And when those who are talented enough with the ability to easily jump ship actually do so in droves, the company is indeed being “ hollowed out” of talent regardless of the talent remaining. When you remove 9 of your top 10 people, the company is still being “hollowed out” even if that 10th person is head and shoulders above the other 9. One person cannot shoulder the work of another 9 who have left, that is impossible. The company will decline regardless of how much of a superstar programmer that one remaining person is.
> [For obtaining knowledge instead of license.]

From the OP
Don't CLI tools use data structures and algorithms?
> I find that there's no use case for a constexpr std::string. Maybe I'm just not imaginative enough.

Putting together strings through string interpolation involving somewhat expensive operations is a common usecase. Given the choice, it's preferable to not have to compute them each and every single time a function is invoked.
Pretty much capitalism at work
USA average female porn actress makes $100,000 and the top 10% doesn't do much better.
I try to walk at least 10,000 steps a day although I know that the number is based on a Japanese commercial (1). But it helped me to lose weight and fight my depression so kudos to whatever agency came up with the idea.

(1) https://www.health.harvard.edu/blog/10000-steps-a-day-or-few...
People say the title of the article "Ruby Outperforms C: Breaking the Catch-22" is misleading, which is true, this is about Ruby code optimized by JIT outperforming a extension written in C.

But to give some context: the author Aaron Patterson is a Ruby and a Rails core team member. The article and headline is clearly targeting the ruby community, where this article has been very well received. I think it's a good title for the intended audience.

The post clarifies in the first section:

> In this post I’d like to present one data point in favor of maintaining a pure Ruby codebase, and then discuss some challenges and downsides of writing native extensions. Finally we’ll look at YJIT optimizations and why they don’t work as well with native code in the mix.

edit: added original title of the hackernews post / article
> The constructor of std::string is constexpr in C++20.

If I recall correctly, from C++20 onward all member functions of std::string are constexpr.
A pretty sad state of affairs. I really liked Next.js pre App Router but feel this new direction is not for me. Sure we can still use the legacy routing but they clearly steer towards App Router/RSC.
> an IPv4 address is decent to remember and while DNS is useful, the issue sometimes is DNS, in which case you need the IP anyway

It's like rambling about absence of crank handle on modern cars.

> why colons

Because dots are in the DNS.

> why do it in hexadecimal format

Because it's shorter than decimal and you can't nest decimal representation without some delimiter, eg 1220 -- is this 12 20 or 122 0 ? Cue in 'but why colons'

> DHCP is a good thing, why is it maligned? a central source of truth who is what is great

No, it's not. And definitely it's not source of truth. A client can ask, DHCP server can provide an address but if you don't have an address in DHCP leases that means nothing. And even if you have that doesn't mean that this is still the same device.
I can personally recommend deepinfra. Been using it the past few days and it's served me very well.
Africa is pretty adapted to climate. Putting them into more debt doesn't seem to make sense.
The compelling idea was supposed to be CityDesk. This was pre-Wordpress, when everyone was building a CMS because normies were paying top dollar to be able to write on the web. Joel described it in a post as "the future belongs to people who can make JavaScript sing", which was slightly ahead of time.

As many developers did at the time (and still do), they built their own tools, and eventually realized their bugtracker was decent enough to sell to Joel's blog readers. FogBugz sales quickly outstripped CityDesk, so they pivoted to selling Dev tools. From there onwards, they were a bit all over the place. They still managed to score StackOverflow and Trello, though...
hiring != growing
After my first Hello, World I don’t need to program Hello, World again
It’s weird too because this doesn’t seem like the usual “fish rots from the head” scenario. Admittedly I’ve never done YC, but I’ve been in that orbit via HN and friends since the beginning, and pg seemed like a really ethical guy from day one.

I’m looking in from the outside, so who knows, but it seems like level of ambition early YC was filtering on brought this dark triad shit into the bloodstream and that in turn shifted pg’s worldview.

pg is obviously ambitious, but inherently “get to the top at any cost” people don’t spend a bunch of time writing books about Common Lisp and learning some painting and hanging out in art galleries a bunch. Part of what drew me to HN and the essays and the whole thing was a wholesome attitude that kind of said “work hard don’t try to game the system”, at least in the beginning.
Have you tried it in the forest behind Apple?
Yeah, the self-assessment website isn’t exactly slick, but it’s easy to use, fills in most of the fields for you and gets the results correct.

It’s not like I’m not aware of bad software by government but the taxes ain’t it. Possibly because they are, in fact, incentivised to make it good.