skysight-inc/HackerNews huggingface dataset:
That particular implementation probably returns the result of the last fputc() or equivalent that it called.

puts() returns EOF (typically -1) on error, or some unspecified non-negative value on success.

fputc() returns EOF on error or the written character, treated as an unsigned char and converted to int, on success.

Don't expect all puts() implementations to do the same thing. For example, the glibc implementation appears to return the number of characters written on success. Implementations are free to rely on implementation-defined behavior. User code that's intended to be portable cannot.
Obviously that doesn’t reflect what I actually said, so no.
It doesn't seem like the same thing as asking dumb questions to uncover the truth that nobody has yet synthesized.

When you already (think you) know the answer, then it's a pedagogical technique. That's ok unless you happen to be wrong about the answer.
i always start my questions with something like "maybe i'm being a bit thick but..." which works well because it signposts up front that you're not trying to be awkward or obstructive. Most of the time it turns out that a bunch of other people had the same questions but didn't want to appear stupid
You already have to be wealthy to win an election...no one in Congress is there to build their retirement fund
What about high end Japanese green tea? Are they the same?
As opposed to what? Hosting your own server for $120/yr in electricity, but with hardware costs on top?
Fed says trading activity by top officials under independent review

Fed leaders have said the trading activities of its top leaders complied with existing, albeit insufficient guidelines. But the Fed’s latest statement reflected a more concerted focus on the trades themselves.

https://www.washingtonpost.com/us-policy/2021/10/04/fed-ethi...
Veritasium reply on YouTube:

Tom, I’m happy to receive your constructive criticism, but I’m disappointed you didn’t fix any of the factual errors we alerted you to via email before you launched this video. Examples:

23:42 You cherry-picked this quote to make it seem like the NTSB blamed automation for the crash, when the report focuses squarely on human error: “The National Transportation Safety Board (NTSB) determined that the probable cause of this accident was the flight crew’s mismanagement of the airplane’s descent during the visual approach, the Pilot Flying’s unintended deactivation of automatic airspeed control, the flight crew’s inadequate monitoring of airspeed, and the flight crew’s delayed execution of a go-around after they became aware that the airplane was below acceptable glidepath and airspeed tolerances.”

32:37 Self-driving cars have maps including traffic control so they would know where stop signs are meant to be even if road markings aren’t there or stop signs are obscured. Plus they have better obstacle detection and avoidance than human drivers.

39:16 I’m not saying rare accidents don’t happen, I’m saying they happen less often than common accidents, many of which could be prevented by self-driving cars. I sent you an academic paper that recreated in simulation 72 real-world fatal accidents that occurred in the area where Waymo operates. In almost all cases the accident was avoided or mitigated by the Waymo driver. Why did you omit this study?

47:03 It’s well understood that autonomous cars properly coordinated could reduce traffic because they don’t have the same reaction time delays as humans. For example all cars at an intersection could start moving together instead of one at a time as we currently do.

47:10 We don’t have to increase the car utilization rate to 100% to reclaim significant value. If cars were parked 90% of the time instead of 95%+ we would only need half as many vehicles.

Isn’t it ironic that a video purporting to call out misinformation itself contains so many distortions and factual errors? (Which we pointed out in advance but you didn’t feel compelled to fix)

On the issues themselves, I like public transport. I also ride a bike, and enjoy walking to get around when it’s practical. But cars will be a part of the transport mix for the foreseeable future. And it’s my opinion, based on the evidence, that roads will be safer the more cars are driven by computers than humans. No one has to pay me to tell you that.
"Don’t rely too much on tools. They will let you down." What a terrible, terrible, terrible advice. I cant, cant, cant pass on this as i find love in programming tools. Your saw has to be sharp when you cut the trees. Programming your own tools and relying on them... thats good advice, using other tools too. Some people write same shit all the time instead of automating, not surprising ppl burn out. Boring is boring, doesnt matter if its picking fruits or writing crud for your entities that in fact should be generated :D ahh... and tools? Yeah, thats how im having my coffe while drawing in 3d to later play with models in blender in vr... while my job gets done ; ) dont use tools, never, theyre evil and will let you down... and work hard, not smart.
It is true that the small fines for violating the STOCK Act aren't an issue. But the SEC prosecuted Congressman Christopher Collins and a few others for insider trading
>"As soon as you add a shit load of processing and plastic and other stuff it's not "wood" anymore than gasoline is a dead dinosaur.

This is priceless. love it.
Yeah, but I think the question was why EOF and "\n". It could as easily just return 1 or -1 for example, and it would make more sense I think.
And even co2-negative, if made with captured co2
If you have 1 TW and 50 devs, it will speed things up a lot if the devs can at least churn out the rough drafts and the TW can clean them up and link them together.

Learning to write documentation (which is really just trying to write them over a long period of time) is a skill that improves your overall communication skills. Devs should want to improve those skills (as everyone should), so they should want to write at least some docs.
eBay billionaire Pierre Omidyar is backing the Facebook whistleblower
I prefer to use Github Pages
Or, you could just not base your thinking on choosing a side which is ‘the lesser of two evils’ to be your savior, and recognize that the behaviors are a problem rather than the team.
Heavyweight industry chops are a prerequisite for a Fed board job, none of them is a pauper.
It’s a decoy. https://hstalks.com/t/3538/the-economist-a-pricing-experimen...
There's actually a workaround for WSJ's paywall: submit the original URL to archive.md and you get the full text of the article. Here's the link for this one: https://archive.md/fSpLd
I periodically re-read the following to keep my perspective on AI:

"ARTIFICIAL INTELLIGENCE MEETS NATURAL STUPIDITY"
by Drew McDermott

https://www.researchgate.net/publication/234784524_Artificia...

(click on "Read Full Text" and then scroll down a half page.)
Previous discussions:

https://www.reddit.com/r/science/comments/q0s3tl [2021-10-03] (53 comments)

https://www.reddit.com/r/science/comments/q0lnl1 [2021-10-03] (53 comments)

All discussions: https://discussions.xojoc.pw/q/link.springer.com/article/10....

Discussions with similar title: https://discussions.xojoc.pw/q/Covid%20increases%20unrelated...

Archive: https://archive.md/newest/https://link.springer.com/article/...
You certainly are.
They already can do this.
No, web3 is decentralized web. Crypto powers it.
I have shared this link with my company in the hope that we can do something similar. It encourages people like me (I'm only an engineer) to bring it up with people who can make decisions in a small company. ,
first google result^ for: fasting gallstones

> Fasting decreases gallbladder movement, which causes the bile to become overconcentrated with cholesterol.

^ https://www.hopkinsmedicine.org/health/conditions-and-diseas....
Would certainly be better but I would say ten years is not a crazy long time when it comes to borrowing decisions that often have 30 years timetables.

Also doesn't capture in the the unequalness of gains. Which is better - the fed doing something that has 90% chance of huge gains or a 10% chance of catastrophic economy shattering loss? Or an 80% chance of huge gains and a 20% chance of gains netting 0? The first is much more desirable if maximizing a bonus and could be tempting - but I dont think we want that risk.
There are several studies that show that IQ correlates with income, at least at the extremes. However the studies I've seen found no correlations between IQ and overall happiness or contentment with how their life turned out.
My argument is an example, from which one should be able to easily imagine other scenarios. A general class of "Remove artificial geographic constraints from knowledge work".

And our students do "need" foreign language training. This isn't something they're doing for funsies; their employers are paying for them to take the classes. These aren't executives looking to wine-and-dine business partners in China, these are diplomats, foreign aid workers, and intelligence analysts.

And these other methods aren't working to meet the demand for fluent speakers. You're not going to learn how to tell an old, former-Soviet base commander, "show me the nuclear storage facility access control logs now or expect some UN sanctions" from YouTube.

There is an international ranking schedule for foreign language acquisition, ILR Level, that roughly quantifies a person's fluency. Untrained, you start at 0. Most people get to level 1 by the time they finish college. Level 2 is basically competent enough to survive without a translator in-country. Level 3 is considered the minimum to be "competent enough to do work". There are a few higher levels, but everyone's goal is to get to 3.

With current training methods, almost anyone can be trained to level 2, 2.5, but there is still a big gap between what those people are capable of doing and where they need to be to do their jobs. We need more 3s and just doing "video chat" isn't working. Think, "the US military just sunk a cool million into your education to be able to translate intelligence on the fly, you better start showing results."

But there is some evidence that VR not only improves learning in general, but that it's particularly suited for language acquisition. UMD for example has a body of research they've been developing over the last 20+ years that shows there are real, psychological changes to people who perform language training in VR versus traditional and even flat screen simulations.
I do and it is!

Ping me on Twitter @finereli, let's connect!
Gay marriage is not a human right. The UN didn't even discuss LGBT rights at all until the 90s and while the UDHR was adopted in the 40s (and then additional treaties in the 60s) countries only started to legalise gay marriage in the 2000s.

In 2008 the great majority of the world including Western Europe with a couple of exceptions did not allow same-sex marriages. And in the same year, it seems that about half of California was against gay marriage. So not only was being against gay marriage (as Eich was) not an abominable opinion, it wasn't even weird - it was normal!
Petroleum is definitely more environmentally friendly than the timber industry. You probably haven't driven around tree farms - monoculture that destroys the environment for hundreds of square miles. Even worse is when they pulp existing forest for things like toilet paper:

https://www.rcinet.ca/en/2019/02/26/u-s-use-of-toilet-paper-...
I guess people don't like my answer but that's basically what the CEO said. He knew it was coming and didn't do enough.

“While we anticipated some degree of business disruption, the new Apple-provided measurement solution did not scale as we had expected, making it more difficult for our advertising partners to measure and manage their ad campaigns for iOS,” Spiegel said in his prepared remarks.
FWIW that's just CO2 - can't ignore other nasty stuff (like benzene - the stuff that people lost their shit when tiny bit was found in sunscreen) that reduced significantly.
It's all fun and games until you write (or review) C/C++ test cases for a compiler or disassembler ;-) It never stopped to amaze me how good the compiler was to figure out that I actually wrote very complicated "return 0".
This. Twitter markup is so heavy I avoid clicking it for fear of my browser locking up.

If I really really really want to read an interesting-sound thread, I open it with Nitter.

Otherwise, I take a "medium is the message" approach to Twitter, and just assume I'm not missing much, just like with Medium or Reddit: If someone chooses Twitter as the medium, their message probably isn't worth my time either.
> That does not mean there isn't a general underlying "cognitive ability" factor.

Careful. "g" is a statistical regularity, not proof of a generalized "underlying cognitive ability."

From the same Wikipedia article:

>It is a variable that summarizes positive correlations among different cognitive tasks

>Yet, there is no consensus as to what causes the positive correlations between tests

This whole subject is a scientific, statistical, and ethical can of worms (as pg alludes to in the essay), and this isn't the place to get into it... I just want to flag that it's a bit more complicated/controversial than it might sound at first.
It identifies things visually, and optionally with OCR as well. If it moves likely no issue. Changing shape or size too much, as well as not matching OCR can cause failures - as expected. If it is an expected update and the test needs updating, we smartly suggest updates to the target if we can find one. Alternatively we have a crowd-based service to help write abs maintain your tests; it’s usually used by teams needing high leverage when managing a lot of tests.
Moving to a district heating system that used a high efficiency combined heat and power system, that produces electricity and captures the waste heat, would substantially increase the heating efficiency of peoples homes. It would also substantially reduce the amount of emitted CO2. Doesn’t eliminate the use of fossil fuels, but has the potential to substantially reduce the environmental impact to something more sustainable.

This isn’t even a new idea, most homes in Russian cities are heated using district heating. At scale it’s so efficient that they don’t even bother metering the heat.

Additionally with a district heating system, geothermal, and ground source heat pumps start to make a significant amount of sense. Their both technologies the benefit significantly from very large installations.
> I've watched them succeed while I didn't finish college due to ADHD driving me to distraction. Luckily I have the computer skills requisite to be a successful network architect- but I'm quite aware I could have been a surgeon, a constitutional lawyer, a good to great political commentator or a quant if I had that next bit of mental concentration and memory.

Welcome to the party, pal :-)

I still think it's a hell of a lot better than being not smart and saddled with those problems, as guilty as I sometimes feel for not "living up to my potential". I'd probably be homeless or barely making ends meet while bouncing between minimum wage jobs, instead of living really well with shockingly little effort. My deficiencies are very frustrating and trigger lots of negative rumination when I think about what might have been if I'd had just the right person take notice early on and intervene in just the right ways—until I remind myself how much worse it could be, which is a whole damn lot worse.

> I'm one of eleven kids- I was the 'smart one' and what an absolute drag that title was and is. The title still sticks despite having a brother with multiple award winning plays, another brother being a successful serial entrepreneur, and sisters with published books.

Ah, a member of Salinger's Glass family, I see. ;-)
More illegal immigrants cross into California in a single night than in the entire history of the Inner German Border.

That said, I don't think any sane person would favor using things like SM-70 directional mines to secure the American border. We can make a dent on illegal labor and more importantly get some idea of who these people are without resorting to the tactics of the DDR.
Genetic link between Alzheimer's and severe Covid-19 outcomes via one gene
BYD is also a competitor in the electric vehicle space.

https://en.wikipedia.org/wiki/BYD_Auto

(They make great KN95 masks, incidentally.)
> Everything feels like sidesteps. There is no feeling of permanence to your knowledge, unlike a lawyer or a doctor.

Then you are doing it wrong.

Focus on the fundamentals, not the implementation. Any job or degree that doesn't value growth and a good grasp of the fundamentals is a pretty big red flag.
A piece of cloth to clean your Apple devices will cost you $19
Better:
* can charge to 100% all the time
* no rare earth minerals
* stable

Worse:
* not as energy dense
* US doesn't make a lot of this type of battery
Firstly those characteristics are quite similar for different metals.

Secondly Aluminium is normally alloyed with other metals bringing the two even closer.

Finally it's a light, strong metal and used in many similar industrial products as Aluminium.
The trillions spent on nukes have backfired on everybody that spent them.

There is a reason that China only has a few hundred bombs. 300 bombs is enough to devastate any country in the world. It's pointless to spend on building any more. Better to spend those other billions on high-speed rail transport instead.
Yeah, when twilio acquired segment I told my clients (I'm a consultant) that this is not likely to improve the core data infrastructure product. The deeper integration with twilio makes of course sense for twilio, but not for customers that need/want a reliable data pipeline / data broker. You can see that Ina few ways:

2019 segment launched their custom functions, a logical and useful extension to ingesting data into segment and moving event data to destinations not supported by segment. It was great.

Fast forward to now, two years later and what's the new cool segment feature? A IMO lackluster extension to personas called journeys (or recursive personas / personas with extra steps as I call it). This isn't part of product that ensures smooth movement of data, its an addon to a marketing tool... Well... All clients I work with already have marketing tools...

As a segment user this conference was a massive waste of time. If you're a deep twilio customer I'm sure it was a great conference along the lines of "here's cool new twilio stuff, which btw you might want to run through segment"
Why is this question relevant? Anti-science views are anti-science regardless of the short term mortality rate you can attach to them or who is propagating them.
Dell Precision 7xxx series is the best linux laptop. Dell pioneered official linux support on laptops and they are still the strongest player in this market.

Another thing - Docker only natively runs on linux, on Win and macOS it launches a linux VM which eats resources and will never be as fast, obviously. Kinda ironic too when you consider the whole idea behind Docker.
Index funds aren't necessarily 100% stocks. A basic target date fund will taper down the stock percentage as you get closer to the targeted retirement date, not to mention the myriad of dedicated bond funds with every focus/tilt you can imagine.
I haven't been this excited about a website builder for a long time. I can definitely see myself switching from Squarespace to this!

Could you please clarify whether we can use something like AWS CloudFront or Cloudflare in front of this without issues?

Edit: Really need hierarchical nav menu's though. That's an immediate killer. I'll switch right now if you say that you can support submenus in the next month or so.

Edit 2: Another suggestion, can we have per-page injection? And split the content injection capabilities so we can inject in either the header or the footer? This would be useful, for example, if we want to inject less important scripts or styles at the bottom of the page so that we don't drop lighthouse ranking. This is a low priority feature request.
I live in a wood framed 5+1. Its great being in renewable wood building - but the downside is its a huge fire risk. Plus because of this the sprinkler system is vast - and keeps flooding apartments.
Perhaps. Although can't you superimpose almost any narrative onto any story? Listen, I definitely understand that Mr. Cixin is likely hinting at certain things symbolically in his stories. Clearly, the CCP requires no less of highly visible people in Chinese society. But I don't personally believe that there's some grand, singular purpose behind TBP that is hiding in plain view. Mr. Cixin, like the rest of us, is a multi-faceted human being that happens to be from a certain country.
Modern air to air heat pumps works up to -20.

New homes built to A++ standard need so little heating people are just opting to use electricity and use saved cash to build solar plant (provided your grid lets to store power long term).
It's "self deprecation", depreciation is something different.

I'm not sure what kind of audience you think it works on.

I tend to get (particularly from people under 40) one of two inappropriate reactions to reflexive self deprecation - either exaggerated sympathy for my plight, or treating it as an exposed weakness to attack.
So Tesla's Li-ion batteries are going to have a significantly higher mass energy density - these are around 150Wh/kg vs 230Wh/kg that Tesla can currently muster. This is somewhat mitigated by the fact that LiFePO4 handles 100% charges and 100% discharge, so in practice the protections on Li-ion means you can only really get 190Wh or so out of them every day, significantly narrowing the gap.

However, these are going to be ~4x cheaper for the same capacity, and are much safer, so some weight might be gained, but they won't take more space, possibly less space because they are prismatic.

To give you an estimate on the possible cost savings, BYD has it's own EVs, and the one they are releasing using these batteries costs 20 000$ before subsidies for 51kWh.

LiFePO4 also has much higher durability - that means that you can get away with more efficient pack designs, and probably that they can handle much faster charging.
The optimization engine is of course great (despite occasionally missing hard), but I am not referring to it. I am referring to the way that PostgreSQL executes query plans, the way rows are pulled up the execution tree, is very similar to first iterations JavaScript engines - a tree based interpreter. Picking out columns from rows and evaluating expressions used to work the same until PG11, where we got a bytecode based interpreter and a JIT for those. But so far rows are still working the same way, and it hurts pretty bad when row lookup is cheap and the rows end up either thrown away or aggregated together with basic math.
> puts(3) only returns "a nonnegative integer on success and EOF on error"

How does it decide which nonnegative integer to return?
I mean splitting and fusing atomic nuclei is something that happens all the time. Hard to claim he was wrong, just a few orders of magnitude off on the energy required to do it.
I guess Go's "defer" is from "rescue" in Alef (the Plan 9 language). Kinda the same guys. But "rescue" was only executed on signals.
While it might be a silly way to pitch your book, I think your anecdote captures what he is saying pretty well. Rampant contempt is bad for everyone. It doesn't help you or the people for which you hold contempt.
How about just actually making the bad stuff illegal and actually investigating and prosecuting it? Note that we’re discussing known bad things that congresspeople are doing.