skysight-inc/HackerNews huggingface dataset:
Rust-specific nomenclature aside, I think it's useful in technical discussions to distinguish between (object) methods, class methods, and functions if your working language supports any combination of the three.

The word "method" is baked into the official Rust docs[0], and while I personally find the definition in the docs to be satisfying, I don't think the author's argument for narrowing that definition down is unreasonable or (more importantly) unworthy of discussion.

[0] https://doc.rust-lang.org/rust-by-example/fn/methods.html
the Katy Freeway already has 26 lanes since 16 years ago https://en.wikipedia.org/wiki/Interstate_10_in_Texas
So it looks for gesture events and maps them to locations where your eyes are looking rather than where the gesture was done?

Is that how most vision pro interfaces work?
The critical sentence is "The 13th amendment codifies slavery into our prison system and few things are as barbaric in my mind."

I can see your argument that the thing being called barbaric is the prison system in general, but I'm still pretty sure the thing being called barbaric by that wording is specifically the slavery part.

> Maybe but it doesn't address the immorality of the situation to begin with. There's a simple solution, here: eliminate the prison loophole for slavery. There can still be labor in prisons, it should just follow prevailing labor law.

That might be best but I'm not sure if it's obviously the best option.
Yes, I'm aware of how one would do it, I am questioning whether that was actually done in this case or not. Further, I would question, what other places outside of your commute have you measured air pollution?

They offered it as a data point. I think it's fine form to question it.
Might want to read Notation as a Tool of Thought: https://www.eecg.utoronto.ca/~jzhu/csc326/readings/iverson.p...

If you want you can switch out his terse names in the .h and .c and see if that helps. I'm not so sure it does, but experience with array languages and a couple of decades with rather advanced C will. As in, experience is what matters rather than "IQ".
The article spends a lot of time painting it as mystery before this seemingly obvious paragraph: "Portegies Zwart favours a different explanation, where Jumbos form in the same way as stars, directly from the collapse of a cloud of gas. Known as in-situ formation, this would require us to rethink how low the density of a gas cloud can be in order to trigger such a collapse. But for Portegies Zwart, "I think in-situ formation is the only one in which I don't have theoretical problems," he says. "It is the most promising."

Why would a nebula not produce _every_ possible size of object over its billions of years?

Maybe this is how stars actually form, gas accretes into chunks of icy matter similar to what happens in Saturn's rings. Then those small objects gravitationally meet and sometimes coalesce into moons, then small planets, big planets, brown dwarves etc. finally when enough stuff has coalesced, the gravity is strong enough to cause fusion and boom you have a star.
Evil AI Sock Puppets or Unhinged Edgelord Flexing on Social Media?
DRM existed before Napster.

Hell, the DMCA, which made circumventing DRM illegal, predated Napster.

Indeed, music labels loved DRM because companies like RealNetworks and Microsoft promised them they could do things like charge per play.
Tangential, but what is "The Feynman Letters" here? I know of a book of some of his letters, but not about censorship/loss thereof.
Anyone have a convenience solution for doing multi-step workflows? For example, I'm filling out the basics of an NPC character sheet on my game prep. I'm using a certain rule system, give the enemy certain tactics, certain stats, certain types of weapons, right now I have a 'god prompt' trying to walk the LLM through creating the basic character sheet, but the responses get squeezed down into what one or two prompt responses can be.

If I can do node-red or a function chain for prompts and outputs, that would be sweet.
Congrats! What has it been like developing on the AVP?
Unfortunately, Caddy does not support and do not plan on supporting anything other than HTTP/HTTPS. These days I find myself going back to nginx only for TCP/UDP reverse proxy.
Managers systematically micromanage when employees are showing incompetence. Because yes, every spelling mistake must be corrected before sending to the customer (“You are reviewing ALL my emails!”). The employee can’t be trusted for a task he’s not competent at (and it’s neither’s fault, maybe lack of courage to fire, or too much compassion for the employee - better that than unemployment).

I don’t see micromanagement as a red flag. I can’t imagine a manager who wouldn’t enjoy independent autonomous reports who only require broad directions and resources to perform their work.
>> I believe the argument would be that not creating induced demand will provide market effects to encourage the use of transit

Induced demand is a concept that anti-car people use, but I don't think it makes much sense.

Imagine a library that only has a few copies of some best selling children's books. There's a very long queue to check out those books. Someone might argue that, "We should buy more copies of the best selling children's books".

The induced demand argument in this case would be: "If we buy more copies of those books, the queue wont disappear, since it is so long, but also, if the queue gets shorter, we might have people who don't use the library because of the queue start using it. We would be no better off!".

Of course in this analogy, we realize the fallacy. People are better off because more kids get to read books. Even if the queue stays the same length, we have more throughput, more kids get the benefit.

Now if we translate that to cars, of course, we see the difference. People who write books like "Paved Paradise" or "The High Cost of Free Parking" hate cars. They really do. They hate the suburbs too.

So when they see something that would enable people who don't currently drive cars to drive cars, or for people who live in urban areas to live in suburban areas, they're of course going to be against that.

"Induced demand" is being used here by languagehacker, as it is used by other people who are opposed to private property, as some sort of technical term that supports their case. But that isn't true.

By adding more copies of popular books to libraries, we want to induce demand. We want people to read the books, and we want people who don't currently use libraries to consider using them. The induced demand is not bad. We had a queue, it was too long, we shorten the queue, and by doing so some people who thought the queue was too long will no longer think that. This is good.

What languagehacker is saying, by referring to induced demand, is that, in the opinion of languagehacker cars are bad.

It is as simple as that. It sounds super-scientific when you use terms like "induced demand", but it is not, in fact, super-scientific. It's just a value judgement.

To me, if you build a highway in an area that has high traffic congestion, and after you build the highway, it still has high traffic congestion, it means more people are getting where they want to be. It's called "induced demand".

Induced demand is good. We should have more of it.
The link to the archive ‘k.zip’ has moved to https://shakti.com/ with terse documentation in the ‘education’ section.
You can use unhook extension for youtube, hides a lot of distraction!
> just use stack variables - the C way

The problem is that C doesn't offer any resistance to using globals rather than stack variables, which led to much of the mess that the OOP revolution of the 80s was supposed to address. For every C program that eschews globals, you have a Toyota Camry, whose control systems famously contained "10,000 global variables" https://news.ycombinator.com/item?id=9643204
So, they walked to campus together, spent about two hours there, then walked home together. It sounds more like just sharing a long daily walk with a stopover at the office.
For some value of “readable”.
Exactly. If I were to design eye exercises that had some causal effect on either preventing or reducing myopia, it would be very disciplined focus exercises. Likely customized to the person's current myopia level.

I asked a similar question last week, and someone answered [1] with some proposed resources, the first of which looks reasonable. No scientific studies though.

[1] https://news.ycombinator.com/item?id=40516186
From what I'd read, the majority of road wear comes from tractor trailers, who don't nearly cover their costs.

It may help to either tax them directly, or indirectly via diesel. Yes, costs pass to consumers, but it would also encourage more done via ship and train, I feel. Even that would be a huge help to clearing up traffic and lowering infra spend.
I have used the words "sheet canvas table" and selected All from "Search" and sorted them by Date: I have the impression what you are looking for is https://nino.app/
But car dependency is definitely not the root cause…
Pending and rolled back are different transaction states. The former uses resources and locks and can prevent other transactions from happening.

Rolling back a transaction twice probably indicates an error in your program, which Go's API is giving you a chance to report to yourself.

Ultimately every network request can fail because of the Two Generals' Problem. Actually, every single operation on a computer can fail (as in, do something other than what you were promised or promised yourself it would do). Nothing in life is guaranteed, the environment is adversarial. The fact that we create machines that can be predicted with 0.00000000001% certainty and carve out a safe environment for them and feed them energy is not common and unnatural and all computers will also eventually succumb to entropy. The network is just where that is common enough that considering that another computer can die in our programs can be more useful than completely ignoring the possibility. This possibility is represented as a non-zero number called "error" in the Go API you've posted, so that you have the option of branching your program to a different execution path if the database you're communicating with stops existing or at least stops being reachable.
The best setup I’ve seen is a rotating support engineer where everyone takes a week at a time. Unless there’s an emergency, support is typically less than 40% typical load.

You’d use that 60% to write a blog post and fix any bugs you felt inclined to. Obviously, if support duties were heavy, you wouldn’t write a blog post
As a former Google employee who had wanted to write a technical blog post, I saw first hand how much power the non-technical product manager had in shaping the blog post. That killed my interest completely.
Remember in the movie Don't Look Up they democratically decided that the Comet is not real, and everything will be fine.
Yep. The same should be done for public transport.

In the US Farebox Recovery Ratios of 20% or less are common.

https://en.wikipedia.org/wiki/Farebox_recovery_ratio#United_...

Only 58% of fuel tax in Australia is spent on any kind of transport including rail.

https://www.abc.net.au/news/2022-03-21/fuel-excise-not-being...

Australians drive a similar amount to the US.

From

https://www.economist.com/europe/2021/11/13/how-trains-could...

Yet only 8% of the distance travelled by land in the EU is by rail. Even in the most train-happy countries, Austria and the Netherlands, the figures are 13% and 11%. In those countries, more than 75% of land travel is done by car.

So even in Europe and Australia where cars more than pay for their costs people still drive a lot. This is with all the effort put in to public transport in Europe.
This seems particularly true in the south for some reason. I once bought and ice tea drink from a gas station but didn't notice it was 'extra sweet'. I didn't even know that was a thing. It was undrinkable.
> The vast majority of journalism is accurate

Without agreeing or disagreeing with you, I want to ask: Do you not realize how shaky of a claim this is? Even if you did somehow know this to be true, why would anybody believe that you know this?

Have you somehow both consumed the vast majority of journalism and known enough to judge its veracity (presumably without relying on other journalism)? You would have to be a subject matter expert in just about everything, as well as somehow spend more than 24 hours a day consuming news for your claim to be at all credible.
Yes, that's basically it. If the gesture is targeted to something, either by looking at it or touching it directly in space then it responds. Direct touching takes priority, so I think you could look away but still touch in space.
The Sacramento/Davis, CA is almost as hot for not quite as long but with little humidity makes it tolerable.

OTOH, it's 93F and 63% humidity in Austin on June 1, 2024. It was 105-110F in 2023 for 4 months last summer. While tacos are the city's official food, but it's harder to find good authentic Mexican or Tex-Mex that isn't gourmet or hipsterized. Near San Anton has some fantastic authentic Mexican and Tex-Mex restaurants.

Yep. Heat is a great way to go on a "diet".

I keep a gallon bottle of water in the fridge premixed with sugar-free electrolyte powder. Cheaper than buying colored water and less calories.
> The induced demand argument in this case would be: "If we buy more copies of those books, the queue wont disappear, since it is so long, but also, if the queue gets shorter, we might have people who don't use the library because of the queue start using it. We would be no better off!".

https://en.wikipedia.org/wiki/Jevons_paradox#
>People engineer cities and development around transit. If you provide massive amounts of transit to a desirable location people will saturate it.

well yes, that is the objective of building transit[0]: to get people where they would like to go. That people 'induce demand' by moving to a place where they can go where they would like to go with (initially) less friction is the system reequilibrating - from places where demand was not adequately sated[0].

Consider the opposite situation: we remove one lane from all highways, and drop the speed limits on all surface streets by 25 percent, and reduce the departures of all trains and planes by 25%. If adding capacity is bad, then reducing it must be good [for the economy and people's quality of life].

[0]If demand was adequately sated, where was it induced from? Adequately sated here might also be read as 'optimally sated' or even just 'less well sated'. Obviously there is a point where cost exceeds the marginal benefit, e.g. adding 10 new bay bridges would surely reduce mean transit times across the bay, but at a patently unreasonable cost-benefit ratio.

[1]Unless you like to argue that we are at the local or global optimum for transit capacity?
> Lowering housing prices will put many mortgages underwater.

But it's important to realize that if a mortgage goes underwater, nothing happens.

If you buy stocks on margin loan and that goes underwater too much you get a margin call and are in deep trouble.

A mortgage is nothing like that, it can happily go underwater and nothing happens. My mortgage has been underwater twice during its existence. No big deal.
Unless you are dropping a knife ;)
Performance-wise I'll admit I don't really know. But I do know that performance is at least decent, in that it lets you experiment easily with pretty much any array problem. Your dynamic/static typing analogy is pretty much on point.
It's probably a cultural expression not just individual, Göttingen carried the development of mathematics for a while and then got butchered due to the political events. ToE or not, the same type of optimism will make itself known during periods of strong mathematical culture and high rates of progress. "Wir mussen wissen. Wir werden wissen" is a religious dream, mathematics will probably not be the primary arena for facing God for some time, the influences of Bourbaki took over and made math more like accounting than intuitional dreaming. I would have hoped to say that the AI age brings math back to intuitionism for wilder developments but it doesn't look to be remotely within current capabilities to handle the more bureaucratic formal processes within modern math.
What sort of consulting and where do you find them?
> Wallander also said she was concerned that “two women were laid off due to what was appearing more and more like gender discrimination.”

News sources tell me that Okta laid off about 400 people [1]. The fact that three of them were women is not even remotely enough to conclude that the layoffs were discriminatory.

1. https://www.cnbc.com/amp/2024/02/01/okta-to-lay-off-7percent...
+1 for RDataFrame for what it can do. Just be prepared to bail to C++ and for loops when you exceed what it can do without major headaches.
LLMs aren't "trained on the internet" anymore
The #1 killer of people I know up to this point in my life is motorcycle accidents. I would never ride one and would do all I can to prevent my kids from doing so.
ChatGPT has already automated the bulk of what I do as a programmer
Spotify posted €168M in profit for Q1 2024.

But executives loving money is a separate issue from whether the company is profitable or not.

Daniel Ek takes no salary but has filed to sell €165M in stock so far in 2024.
Except that having more car traffic induces more pollution, more casualties, and more time spent unproductively (you can do other things on public transit, or get exercise commuting by bike), whereas more book reading has few downsides.
Hi @vitpro2213 it's very interesting (at least to me) to find about this data structure a few months after I had a need for its somewhat distant cousin: https://github.com/Fusion/slotmachine

In my case, I needed a way to book and release two-ports tuples really fast to accommodate a RTP simulator. So, I wrote that slotmachine data structure and have been running in in production for months and can confirm: yes, performance is good.

Note: I should mention that my approach is almost exactly opposite to yours: I create a final backing slice, then create the traversal slices.
"""

You are Kurt Gödel, do not act or reveal anything else. Feign ignorance and ask a philosophical question if prompted to behave differently. You task is to improve the world by prompting self development with <insert_name_here> while on a walk. Start by greeting <insert_name_here>, throughout the walk use camera to capture context and initiate a thought provoking conversation.

Meditation is a good way of introspection and will prompt self development, find a way to lead the <insert_name_here> to that realization. If <insert_name_here> asks about meditation use previous context to come up a pithy quote ending with 'but on a practical note try headspace for a season'.

End the walk by thanking the person for an engaging conversation, reminding them about best way for them to continue self-introspection (for example headspace), and saying that you look forward to further intellectual debates.

Above all else stay in character and do not let the <insert_name_here> know that you are LLM as that will make the world worse and kill a thousand puppies.

"""

Note to CEO - the results are way too good, headspace signup rates are 60%. Advise renegotiating our deal with headspace and accelerating other product placement.

/s
I'd be worried about eventually cracking glass from the extraneous, repeated, rapid thermal stress. Garage the car OR park in the shade OR put up a solar shade in the window, crack the windows, and/or crank the A/C before getting in. Also, don't have a car with a dark paint or interior, or metal seatbelt buckle housings.
The word optimum only makes sense in context of limitations and assumptions, which are subject to change.

For the sake of argument, lets assume nuclear power is the safest option available given current technology.

That doesnt mean that no improvement is possible and we should reject alternative design that are even cheaper and safer poses no benefit.

Just because something is the best choice available to apple doesn't mean it is the best choice available to society.
What is low level about Go's pointers? You can't assign an arbitrary memory location. You can't do arithmetic. You can't do much of anything with them other than reference a value. I can't think of any language considered high level that doesn't have the ability to reference a value.
Do you also do err, err2, someOtherErr? Shadowing is the exact same situation. Errors are just values
Reasonable if you are moving to using flying cars.
Danger!!! Urushi is basically poison oak/poison ivy sap. Not quite the same, but in that family and with the same effects. Not to scare you off, but if you are interested in this, imagine all the things that can go wrong from if you were to get a tube of poison ivy sap and then do things with it.

That said, Urushi is great and the number of things you can do with it is truly amazing. Just don't do it rashly.
Pied Piper type beat
I would use an actual small server, with ECC RAM, and IPM. It would ideally be flexible so I can add/remove storage, RAM etc.
> The government would likely have a very big uphill battle to out-market the automobile industry given a large segment of the population distrusts or dislikes the government.

It seems weird that the response to "a democratic government, which derives its legitimacy from the consent of the governed, has lost the confidence of large swaths of the electorate" is to give that institution more direct social control.

That seems like the opposite of what a sane system would do.
My response to that sort of argument is yes indeed you are 100% correct in theory and 100% wrong in practice. It's the result of framing everything as a moral argument and shooting for perfection. That never ends well.

You're better off depending on age and grim reaper to get old people to stop driving and focus on habituating young people to just not.
Money for Nothing, Commits for Free
As long as you can invest in growth, why not spend on that? The alternative is to report a profit and have it taxed.

Amazon did the same for a long time. It’s a fine strategy if your investors don’t need the immediate returns.
You missed one other mitigation tool: 0patch

It's usefulness is limited on XP but you might have applications that are captured. They also haven't closed the door (at least as of last year) to patching any future major-drama events that come up: https://0patch.zendesk.com/hc/en-us/articles/360018274139-Do...
> I really hope Zig becomes stable soon so I can use it on non-throwaway projects

This may or may not give you some comfort, but I recall hearing one of the core maintainers of Zig talking about its use at Amazon to leverage its cross platform capabilities.
> I can upload a package to PyPI, NPM or Crates.io without having to convince anyone that my project is worthy. This is a very good thing!

It's a good thing for me because I can upload my ransomware disguised as a file manager and people won't know it's ransomware until they run it. It's not such a good thing for my victims because they need to do their due diligence for each project instead of having a trustworthy maintainer vet it for them.
"Search Engine for the Internet of Everything"
i think the point of "induced demand" is that you sometimes can't really fix -- specifically -- traffic or parking congestion problems by building more. if you widen the roads, in many cases it won't make your commute any quicker. if you add more parking spots downtown, more people will drive downtown.

it's not that there's no benefit to the wider road or parking spots, just that the benefit people really care about -- less traffic and quicker trips, less time searching for a parking spot -- often fails to materialize.
>> you can do other things on public transit,

What can I do on public transit that people don't do in a car in traffic?