skysight-inc/HackerNews huggingface dataset:
Ask HN: Why are there so few good resources for learning C in 2021
Every C book I crack open reads like a reference manual that presets some syntax and then shows its usage in some toy five-line program. Rinse and repeat until every feature is covered. Why are there no books that teach you the concepts by building something somewhat substantial from scratch?

I can pick up books on Python or Go that teach you the language while building an entire REST API. C++ has books that teach you its features while building games. C seems to lack really good learning resources and I can't imagine why for a language so ubiquitous.

Does anyone know of any C resources where you learn by doing? It doesn't have to be some crazy project, just beyond the single file toy programs I keep seeing.
Keep Defective by Design Fighting
SQL is a good language, but a terrible API.
That’s fine. If someone ever wants to know whether it was 49km/h or 51.3km/h we can figure it out. It’s just not knowledge that is very essential most of the time.
Very good point, for example, I think of dragon fruit as being 100% an Asian food so I was shocked to find out it's indigenous to the Americas.
The Rise of the Ethereum Economy
While I agree to an extent, because we don't see examples, a lot will depend on the two or more people in the conversation, their past experiences in general as well as with each other. Overall culture will influence this as well. Is it normal to just state facts in your culture or do you usually use extra polite language around it?

A great example I like to cite is this: You are at a company offsite. All the department leads from around the world are there. The mandatory to attend main event is about to begin. The main coordinator goes around to the various groups doing small talk ahead of the event and tells each of them: "If you would be so kind to proceed to the main event hall when you are ready, we are about to start".

Main event starts.

Someone notices that the department leads from Germany aren't there and still outside finishing up their coffee and patisserie, talking loudly.

They don't understand at all, why the coordinator, who is from the UK (or Canada) is upset that they didn't follow her instructions to go to the main event now.

(in case you're wondering, the Germans would have expected you to come up to them and say something like: main event is starting in 5 minutes. Make sure to be there, it's mandatory)
I don’t know if people are upvoting this page because of the cool retro look of his home page, but I’ll mention that he’s well known for his TTL Cookbook and CMOS Cookbook. Everybody who was into digital electronics in the early 1980s had them. More than once visitors to my place took the “cookbooks” from my shelf expecting to see some delicious recipes and were sorely disappointed.
Deno 1.8 Release Notes
It's useful (if it doesn't die) for scouting. From above, it will have a better look at the terrain, helping mission control do path planning and terrain/risk assessment. I have no information telling me that's going to happen, but this is my fairly educated guess as to how the drone could be used.
One problem with eSports and the Olympics is that Olympic games tend to be relatively timeless. For example, wrestling or shotput seem like much more natural fits for the Olympics compared to Starcraft 2 or the latest League of Legends. It would be weird if patches, new releases, and private companies fundamentally changed the Olympics.

I also think games don't belong in the Olympics. I would differentiate games from sport by saying that games are purely mental exercises - that is, if I only knew which chess move to make I could play chess perfectly, whereas I may know exactly what to do in a sprint (run as fast as possible) but still couldn't sprint very well. Thus, chess is a game (purely mental/decision making) and sprinting is sport, which requires not only that you know what to do but that you physically can do what you know you need to. eSports are much closer to the "game" end of the spectrum, allowing for things like "Can you physically move your mouse with such precision and react in time".
This comment seems to fairly controversial for some reason. If someone reads this still and disagrees, can you let me know why?
The answers for that are going to be different for everyone. For me, personally: if you can come to work and be nice to Joe and his husband Steve, and don't talk about their air-quotes "marriage", and you're not a raging asshole about it online, fine. If you're not sure about trans identity but still call your coworker Jane by name as Jane, and refer to her as a woman, and aren't a raging asshole about it online, then fair enough. And by the online behavior part, I mean I'm personally not going to hate you for discussing the topics civilly and in good faith. If you're nice to Joe at work but on Facebook talk about "the gross gay guy at work", and it got back to me, I'd definitely have issues with it.

Some people will have a much lower tolerance for such opinions, just like I know for a fact there are people in the midwest who wouldn't hire me because I'm an "out of touch coastal liberal" or such. Like, I could name names. Similarly, there are people who wouldn't think a thing of it.

Also, I truly don't believe there's such a thing as "cancelling". In every case I've seen of it, the root cause was someone who had been making an ass of themself and the people around them had enough.
It seems to be the other way round to me. Certain Bitcoin fans can't stand that other "hackers" don't buy into the Bitcoin story as religiously as they do.

As the other comment pointed out, for FOMO to be this "powerful force" everyone would be constantly enraged they didn't buy Tesla shares 10 years ago, or save that collection toys from their childhood that suddenly became valuable, or any number of other things.

FOMO is only a problem if you struggle with envy.
Also 10-20y down the line, the incentives to invest into and maintain a rent controlled unit being very small, they will be in a really poor state.
> So, you're telling me you want less responsibility and want to live in a crowded place. I feel bad for you.

Are you joking? You're not, but part of me wants to believe you are.
Also notable for his library of hand-coded PostScript used to manually generate his newsletters.
dead on arrival.
The bubble has been around for a while. It's just each time it gets anywhere near popping, Fed prints more money [0]. So the market-cap/dollar ratio hasn't hit a historically expected correction, but the purchasing power of a median salary has been declining and will continue declining as long as this policy is in place.

But don't worry, the media is working around the clock to convince the general public that owning a detached house, starting a family, eating meat and going on a vacation is evil, so we must welcome the declining affordability of these things and be grateful for a unique chance to put custom pronouns in our bio. /s

[0] https://tradingeconomics.com/united-states/money-supply-m0
There is no reason why housing cannot be much much cheaper than it is now -- so cheap that it is nearly free. Larry Page, in an interview in 2014 discussed how. "Rather than exceeding $1m, there’s no reason why the median home in Palo Alto, in the heart of Silicon Valley, shouldn’t cost $50,000" [1] and attributed this entirely to a policy problem.

The answer is continuously increasing supply in a manner that outpaces population growth dramatically.

If we reorganized the market such that there were incentives to massively build new housing, this would be a solved problem. The price of housing could effectively be the marginal cost of construction as opposed to the market power driven pricing derived from scarcity.

Couple that with remote work and efficient high speed transit both within cities, to the suburbs, and to other cities, and we should be able to enable the demand to spread out (enabling more diverse supply to compete) and to add significantly more supply everywhere.

It is infuriating that a simple problem of supply and demand has not been able to be solved by developed governments. I recognize that it isn't as simple of a market problem as say a true commodity because location matters -- causing heterogeneity in the goods. But that location difference is alleviated by the increasing supply in high demand areas and by empowering more competition across areas through transit and remote work.

This honestly doesn't have to be that hard.

[1] https://www.ft.com/content/3173f19e-5fbc-11e4-8c27-00144feab...
Maybe this https://en.wikipedia.org/wiki/Facebook_Aquila
>Reviews of "Emergence of a novel SARS-CoV-2 strain in Southern California, USA"

>https://rapidreviewscovid19.mitpress.mit.edu/pub/jrlok92l/re...

>Reviewer 1 (Takahiko Koyama) | ◻ Reliable

>Reviewer 2 (François Balloux) | ◻◻◻◻ Misleading

>Reviewer 3 (Lee W Riley) | ◻◻◻◻ Misleading

Interesting
I remember the first time I used VueJS after being a long time JQuery developer. It was incredible how much power VueJS and similar frameworks put in your hand using such simple concepts. Not having to add event listeners to everything and manually re triggering things is revolutionary.

I was building dynamic UIs with ease that would have been massive and bug prone jobs in jquery.
True! Comparing symmetric speeds for SHA256 to the operations needed in RSA is iffy at best. But for illustrating the point that brute-forcing the keys used in current RSA is a braindead way to attack things that doesn't really matter. It just further enhances the point. Brute force just isn't the attack to use for comparisons.
Ok, but the plants a cow is eating are inedible to humans, and they mostly graze on infertile land. Most food they are fed in the finishing stage is farm byproduct that would otherwise get thrown out. Only 7% of a cow's lifetime food intake will be crops that compete with human food demand.

What a cow is really doing is turning inedible sources of food into nutritious human food.
This article was a good dive into the technical feats of bitcoin. But this fact still stands:

== Traditional currency ==

- needs central authority

+ energy efficient

== Bitcoin ==

+ doesn't need central authority

- energy intensive

If there already is a central authority you can trust, it doesn't make sense to go through the song and dance of having a trustless currency system designed to work under adversarial conditions. Bitcoin isn't on the cusp of taking over the world, it fulfills a specific niche.
Good point on the carbon fiber thing. I forgot it's max operating temperature is 150 degrees Celsius (bursting to 180 degrees), while stainless steel can go to 820-870 degrees Celsius.

Rocket Lab never wanted to do first stage recover on the Electron, but they later chose to and have succeeded in soft ocean landings under parachutes and will soon try and catch the parachutes with helicopters.

I fully expect they're are running the numbers on second stage reusability but unlike SpaceX [1] they don't tend to announce things until they are sure that's what they will pursue.

Rocket Lab only promised the Neutron will do 8,000kg to low-Earth orbit, and people are suggesting the rocket tanks can be stretched for added performance.

If SpaceX wasn't pursuing Starship they would continue to spend resources on second stage reusability for the Falcon 9. Even less than 2 years ago Elon Musk was still talking about using a ballute to recover the Falcon 9 second stage [1], but they later decided to put all their resources into the Starship.

But yeah 2024 far enough away that Starship (and New Glenn) should be operational by then, so the competitive landscape may be different. But that's all the more reason for Rocket Lab to pursue second stage reusability.

[1] https://twitter.com/elonmusk/status/985655249745592320
Goodbye UTIs: Scientists develop vaccine strategy for urinary tract infections
Field corn is hardly a byproduct. It's inedible to humans, yes, but a different crop could be grown instead.
Obligatory: https://youtu.be/bkJZbyrfx-Q

It’s really too bad that PBS canceled infinite series.
The Long Fuse: Misinformation and the 2020 Election - The Final Report
> What about not believing in gay marriage and trans identity?

The problem is usually with what backs that opinion up, e.g.: not believing in gay marriage because at its core they don't find the relationship legitimate in the first place. Even discussions on immigration don't have to be bad at their core, it's the "why" that's usually the problem.

Trans identity is a different matter because it's essentially: "what difference does it make to (figurative) you?". (i.e.: one's identity shouldn't matter to someone else)
Surely the real trick is to activate it blindly with your hands under a table or whatever? (Yes, also with a delay so you can have your hands visible when you get the call)
Did you happen to do a chargeback in the past month?

I'm aware of a situation where a user wanted to cancel an account with an app they had subscribed to via the app store. To do so they did a charge back on their credit card. Because he bought via the app store he ended up charging back Apple.

Apple then blocked his icloud.
At least in my area of mathematics, journals still do some copy-editing, mostly to conform to journal style and fix obvious grammar / spelling mistakes.

Journals do sometimes advertise, and that can be expensive. It's also one way to get a large impact factor etc.

About university presses: I don't know how they're funded internally (despite being faculty at a university), but I would not be surprised if they have to fund themselves. It's hard to see student tuition dollars supporting a university press, nor can research dollars flow that way. It's possible some public funds (at state universities, at least) can be used to support university presses, I guess.
something the government need not do is this
The name of the sport implies that it's more than just correcting imperfect throws.

I think the brushing can curve the stone more than just adding some spin. Also, you can brush so other stones move further after collisions.

However, I don't see why a "perfect" thrower couldn't beat a world class athlete if they're accurate enough.
I was dabbling in smart watches for quite some time - jumping between Huawei and Samsung watches mainly. They are very cool, but after a while I switched back to my vintage seiko automatics and Oris mechanicals for two main reasons:

1. The current crop of smart watches felt bulky. I know the newer apple watches are quite slim but they don't suit my tech ecosystem, but the android/etc offerings just feel 'big'. I know this will improve as time goes on of course.
(I do have a gshock which I love, but that's another matter)

2. (And this is the main point,) the smart watches made me feel like it was increasing my anxiety. Even though you can disconnect the watch from notifications, having various alerts and things happening all the time with haptic feedback was making me look at the watch more often, fidget with it, and use it as that kind of social escape thing that you do with phones. Once you disable the 'smart' features, it becomes nothing more than a gimmick, and when using the features it seemed to equally help my productivity the same amount that it hindered it.

I don't want to knock anyone who uses a smart watch though, because I do think they're cool. They just so far haven't worked for me.
I've spent the last year vegan (only eating meat again this week because I'm in quarantine and can't get vegan food) and I:

- Firmly believe that lab grown and plant-based imitation meats will be the thing that makes the world vegan, not somehow convincing everybody to stop eating meat and dairy

- Would invest in lab-grown meat for profit if I had money to invest - it just makes sense to me that it will eventually become cheaper to manufacture than traditional meat for obvious reasons, and when it does, the McDonald's marketing machine will be out in full force to convince everyone that lab-grown meat is the manly masculine option (completely different to being one of those 'pussy vegans', right!?) and will succeed massively

Beyond is a plant-based imitation meat, not a lab grown meat (which I think will make more of a splash due to their variety and authenticity), but I still think it has its place and wish them success.

Even if you don't are about the animal cruelty, animal agriculture is a huge contributor to climate change - far bigger than international flights - and not eating meat is usually the best thing an individual can do to lower their contribution.
I believe fltk was originally intended to mimic the API and widgets of xforms.
There are cargo bikes
(https://nyc.streetsblog.org/2019/12/03/breaking-city-to-anno...)

A single car lane can move 600-1600 people per hour while a two way bike lane of the same size can transport 7500 people per hour (https://nyc25x25.org/#report)
You think its a small problem? Imagine as many horses as cars in a dense urban environment, each one using those bags. Now how do you get all those bags out without garbage trucks? It isn't as easy a problem as our modern minds might imagine.

Of course, cars as the savior is also an oversimplified narrative, but it was a fun one.
Also, libraries can and do exclude journals for cost reasons. My university is starting to do more and more of this. They haven't gotten rid of anything critical to what I do, yet, but there are certainly journals I don't have access to (thank goodness for arxiv).
The Wolf of Wall St would agree with you. Although I agree with the the following article, I have taken a small position and bought the hype. My intention is to exit long before the jig is up.

https://wolfstreet.com/2021/02/28/the-big-buy-hype-bitcoin-c...
Yes. The players are trying to react to a bunch of other things, not just 1 possible move. It's in this context that 20 frames is the cutoff where moves start to be considered "fake" (i.e. getting hit is an unforced error)
Michael Perry on Immutable Architecture
If there are 1000 units and they are being rented out then people are more willing to move to a residence that suits their needs better. When it makes sense people move away.

Once you add rent control people might stay simply because of the low rent, even if they are fully capable of paying market rate rent. They might have to commute to the edge of town and it still is a better deal for them. You get a stagnant housing market where people rarely move. The vacancy rate goes down and instead of renters always being able to at least visit an apartment with the fair chance of competing with say 5 people at most you now have dozens of renters all looking at the same apartment. This gives the land lord more power to charge higher prices and since he has to cancel out the losses from existing rent controlled apartments he might not even have a choice and simply increases the rates when possible.

The problem is that the land lord is being put under more pressure to perform and thus he becomes more selective and only gets the "best" tenants which favors the wealthy.

Of course, all those people getting paying dirt cheap rent are happy since they benefit personally from an externality.
It reminds me of https://en.wikipedia.org/wiki/Time_Cube
Cfx.re | Remote-only | Full-time & part-time | Software Engineers | Open source | https://cfx.re

We are the developers of FiveM and RedM, creating the next generation of online multiplayer with a unique game modification framework. Cfx.re enables gamers to play multiplayer on fully customized dedicated servers where creators can develop their own game-mode, build custom worlds, and much more in a variety of scripting languages. With years of extensive research, our mission is to provide a one-of-a-kind experience within the game industry. Topping the Steam player charts with over 150k concurrent players, we work on one of the largest active game modifications around.

Cfx.re is looking for passionate people with an affinity for games. You will join a remote-only team with developers from all over the world, and will have a highly flexible work schedule. With multiple roles available, we are looking for highly-motivated people who want to help us create and innovate. Some of our open roles:

- Software Engineer, game development (C++, C#, Lua, JavaScript)
- Software Engineer, web development (Kubernetes, C#, PHP, JavaScript)

Interested? Contact me at technetium@fivem.net
Why sharing code between Linux and Windows drivers isn't always a win
What you see is very far from "real deal" and what you think you are is a model you have about yourself. It is models all the way down.
Similar! I can immediately and clearly tell the difference, like water and vodka!

A similar texture, colour and presentation does not the same thing make.

It may have been due to the spelling, but I found it utterly fascinating that a dead comment below stated even their toddler was able to differentiate!

I didn’t throw it out. I donated it to a friend. I have a basically never throw food out policy.
>Secondly, studies have shown that 10% increases in supply lead to 1% decreases in price, more or less.

That's more than enough to justify building an infinite amount of housing.
Would you please stop posting these unsubstantive flamebait comments? You've been doing this far too much lately.

https://news.ycombinator.com/newsguidelines.html
All purpose flour is fortified, doesn’t make it a supplement. Did you even read your own source. It literally says that nutritionally yeast can be unfortified and it have b12
> If A pins version <= X of dependency B, but C depends on B > X, component D can include both A & C as dependencies & it will still build & work correctly.

Actually, I believe that's only true if the two versions of Bs have semver-incompatible version numbers.

So, for instance, if your dependency A requests B=1.5 and C requests B=2.3, then cargo will do what you say and compile both versions separately.

But if A requests B=1.3 and C requests B=1.4, cargo will try to find the highest semver-compatible version that satisfies both constraints. If A pins B<=1.3 and C pins B>1.4, cargo will give you an error.

https://doc.rust-lang.org/cargo/reference/resolver.html
One could just as easily say that you're missing the opposite point: why should policy prevent new people from moving in? In either scenario, policy will disadvantage one group and advantage another. Any policies that aim to give stability to long-term tenants is liable to disadvantage new and shorter-term tenants. There's no natural law dictating that people should be forced to move out, but there's also no natural law dictating that newcomers should be forced away.
And the amazing cheap video cookbook! Given that it uses the 6502 as a glorified state machine it is a good model for building FPGA based CRT controllers.
That's an interesting way to say, "A sorry piece of shit named Carmen Ortiz trying to make a name for herself."
And slack too (if it's written in Electron..)

Can't wait for a snappier slack experience.. that lag kills me.
LeftLeads – Digital Marketing for MSPs
> Lots more happens to make it so than just having an email inbox to accept submissions.

Not really, and what work has to be done is typically done on a volunteer basis by academics.
They did mention it in the paper. They don't have time because every throw it does in the game is part of the game so it can't waste them searching for a good one. It does use previous throws but from other players as well as itself. You can't use other player's throws with a classic closed loop control system.
Can we not do this, your suggestion prevents anyone from understanding what is at play here.
Any source of meat is not ethical to the animals.

Affordability almost doesn't matter. Staple foods like rice, grains, and beans are staple foods for a reason.