jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
"I recall reading that CO2/mile for a coal powered EV is typically similar to driving a high efficiency hybrid gasoline car like a Prius, but I can't find the reference right now."

No, that's not even close to being correct, the most efficient Prius model you can currently buy supposedly only emits 75g per km.

Tesla Model 3 consumes 14.9 kWh per 100 km, coal plants in the US on average emit ~1kg of CO2 per kWh. The energy loss between the power plant and consumer seems to be between 8 and 15%. So using 8% it's 160g of CO2 per km. I'm not sure if the data reported by Tesla accounts for charger efficiency (which is at maximum 92% and might be as low as 70-80% if you're charging at home) if not that would at least another 8% making it 173g per km or more.

Even a very efficient petrol car like for example WV Golf Rr 1.5 TSI is quite a bit lower than that at 116g per km.

https://www.eia.gov/tools/faqs/faq.php?id=74&t=11

Switching to Natural gas would decrease CO2 per kWH more than twice, from 1kg to 0.41 kg per kWh would make Model 3 about even with the Prius (71 vs 75 g per km).
Seeing as the prime (and arguably only essential ^1) use cases for C are 1. O/S kernels and drivers, 2. embedded code for tiny microcontrollers, 3. language interpreters/runtimes and JITters, 4. bootstrap compilers, 5. portable command-line utilities, 6. low-level/mixed asm routines for performance, and 7. the large body of legacy apps of course, are there any examples for successful implementations for these categories in Rust? I'd imagine developing a nontrivial language runtime using Rust's memory model could be hard or impossible to do performantly. But that is or was the mainstay of C programming on Unix - implementing higher-level languages such as shell or awk.

^1: This is of course opinionated, but my reasoning for not including application code, and in particular long-lived evented or multithreaded app servers is that I personally think these are beyond C's memory management capabilities (even if you get malloc/free 100% right, there's still the problem of memory fragmentation) and are basically erratic outcomes of 1990's multithreading code originating from corouting in GUI programs
Who would need floppy disks and glue in this crisis???
Exactly seems like a pretty tough thing to answer. What's the exact effect on the climate of X or Y company?
Regarding the zombie companies. A high stock price wouldn’t keep a company from going bankrupt. They could try to do a capital raise but that’s going to raise a lot of eyebrows if the fed is buying your newly released stock. I’d be curious how that works.
Re security issues: are you referring to the nameserver domains being available for purchase leading to a potential DNS takeover of potentially all .io domains? Or the reliability issues with multiple reported cases of DNS failures? Not to mention the ethical issues mentioned in a sibling post.

I did not know about these myself until just now. Yeah, I'll be skipping .io for my own stuff now.
>> Lovely ideas, but very far out of reach. Some of our elected officials would rip apart planned parenthood and impose strict rules on birth control if they could.

Much of the opposition to planned parenthood is their being a provider of abortions. Witness the new healthcare law requirements for insurance to cover birth control. But then Hobby Lobby wants an exception. I'm just advocating the offering of permanent procedures, which should be cheaper long term.
No, but perhaps I will take a look into it though.
Consultants are also part of the problem.

I did a Master's degree that shared half its classes with the MBA, and we had some case studies where a consultant was the hero by literally tearing down a wall between sales and operations (the small company had communication and "empathy" issues).

I always end up linking to this summary of Chapter 12 of Peopleware:

http://javatroopers.com/Peopleware.html#Chapter_12
I'm not able to access your site. I'm getting "Unable to connect" in Firefox. The rest of the net is fine.
oh, Hi Noam Chomsky.
And engineers in Europe or the US have never had criticality incidents ;)
The last part made me throw up a bit in my mouth.
I'd jump on the web and see the grades posted by the professor on the course website actually. I always got numeric grades at the end of the semester unless I waited long enough that the course website was nuked, or unless that professor was lazy.

You could also just go ask the professor at their office for your grade, but using their site is easier.
Perhaps the terrorists knew this would happen all along. They knew our paranoia would surpass any efforts they could ever hope accomplish. Instead of terrorizing a few thousand, they could terrorize a whole nation—daily and officially.

It's brilliant and pathetic at the same time.
I had the same problem. Also very slow.
I strongly agree; a programmer that understands the problem domain and the business layer as well as the superficial "requirements" foisted upon him is about 10x more useful than one that merely follows instructions toward some sort of end that is not particularly accessible to him.
Complexity is not all bloat. For a given set of data with a given list of goals, there's an optimal level of complexity. More than this and it's bloat — but less than this and you're not accomplishing what you set out to do.
"I love solving problems too, but conceptually not through coding."

What's the difference? In my experience, finding a solution to a problem with a good programming language is easier than trying to do it entirely in my head.

That said, I don't count PHP as a particularly good programming language. Certainly not one I'd use if I could avoid it :)
According to an interview about Gene Roddenberry (with one of the writers who had worked with him), this is the problem that deflectors (which are separate from defensive shields) are designed to solve. The dish on the front of the Enterprise's drive section projects a cone of force in front of the ship, moving dust and other small things out of the way.

I believe this was on one of the TNG seasons' DVD's special features.
Stories need a time-ago description, like the comments, otherwise, I hope it succeeds.
What are you currently using for storing/accessing your spatial data?
Shows what I know. :P Why is everyone speculating that they might come out with a Verizon phone then? Surely this is basically a broken leg on the possibility of that happening until 2012?
OPEN SOURCE, dudes. Protection from your vendor is why you need it.

This is something you learn after getting burnt by a vendor of $L33T_TOOL_OF_THE_DAY a few times.
X3D seems to be the modern continuation of VRML

https://www.web3d.org/x3d/what-x3d
"The Caucasus or Caucasia is a region at the border of Europe and Asia"

"It is home to the Caucasus Mountains, which contain Europe's highest mountain, Mount Elbrus"

http://en.wikipedia.org/wiki/Caucasus

NB I've always thought of Europe stopping at the Urals, the Caucasus and the Bosphorus.
Where do you get the filter list to modify /etc/host ? Or Is there a easier way to get the filter list from ABP or mu-block ?
Have to downvote.

You have powerful editing rules, so you could certainly tune all rules and lists to your liking:
"
List of your dynamic filtering rules.

Rule syntax: source destination type action.
"
followed by a GitHub wiki link to the doc.
Competition is healthy. :)
https://www.npmjs.com/package/tweenr

Besides, different authors will tackle the problem a little differently.
Everyone at Automattic is remote, from the hiring page linked to in the list:

"Everyone works from their own home or office, and we’re spread out all over the world"
(3) also probably takes something akin to an MBA, from what I've observed. Not a hard and fast rule, but just what I've seen.

I would also add that the "billion dollar VC series-B startup or bust" is not the only alternative to grinding away under the yoke of someone else. If you find a nice little niche that isn't drenched with developers (non-profits, serving lawyers, etc.) - You won't be a billionaire, but you stand a much better chance of creating a $million+ sustainable product or service company in that space.
I agree 100%. Marco just posts random complaints these days. There are no specific examples of what is actually broken. An OS is about as big of a project as you can get. What evidence is there that Mac OS X is any more broken than any other widely used operating system?
If you are a fan of cancel culture, you're free to express that opinion.

But what you seem to be saying is "cancel culture exists, but is not a problem IMO", given that you quoted several instances of it existing, and literally said "People from these last two generations are more vocal about their beliefs" (and thus, in their own words, cancel people).

I'm not sure what you are imagining as the strawman of "cancel culture" which you are asserting doesn't exist?
The one thing that's kept me from getting one of those is the measly 8 GB storage and not even having an SD card slot.
> The average consumer has to have the latest and greatest every 2 years whether the old phone still works or not.

My experience is that my older relatives get new phones frequently because they get their old ones so malware laden that they no longer function correctly.

That and apps grind to a halt because the developers use top of the line hardware and don't notice how wasteful of resources they are being.
Planting trees is great but long-term it won't be enough, just based on land area available. We need to scale up other ways to sequester carbon too.
This comment actually shows why surveillance in a society is bad. You are altering you behaviours simply because of worry you may be judged and not for doing anything wrong but just for looking.
Go back and reread my original comment. I stand by my statement. Can you open 10k accounts right now? I'm sure you can't.
I am neither a C++ developer nor a Windows user but as an IntelliJ user just wondering if you have tried CLion?
Self-named? It's clearly named after the mathematician, though curiously they don't mention him on the homepage:

https://www.ramanujanmachine.com/

https://www.wikipedia.org/wiki/Srinivasa_Ramanujan
I think information density per visible page of code in the IDE matters. It relieves you of a lot of mental overhead. By visible density I include mouse-over tooltips. For this reason I don't like code lenses because IMO they waste lines in the visible reagion. When I want to look at a signature I mouse over it.

I think from the syntax, strong typing, and algebraic type signatures F# is the most information dense language I have come across, while still allowing for readability. Maybe something like brainfuck is more information dense.
Unfortunately, the article doesn't make clear which exact vaccines it's discussing.

So it's entirely possible that the specific vaccines approved in Europe are supply-constrained, while other vaccines are in the situation described in the article. All that means is that saying that "the problem problem is production" is very specific-vaccine and specific-regulatory-unit dependent and needs to be evaluated carefully.
Yeah, i'm not sure how you would monetize a place like 4chan. Most high paying ads would likely shun it like the plague, so as to not have their brands forever socially tainted.
I have a math background, no physics. Whenever I try educating myself about this stuff I get hung up on the contradictions and can't/don't want to just take certain concepts as given in order to understand more advanced concepts.

For example (from the pdf of the intro to this course, https://courses.edx.org/c4x/BerkeleyX/CS-191x/asset/chap1.pd...):

"Logically, we can ask which slit the photon went through, and try to measure it. Thus, we might construct a double slit experiment where we put a photodetector at each slit, so that each time a photon comes through
the experiment we see which slit it went through and where it hits on the screen. But when such an experiment is performed, the interference pattern gets completely washed out! The very fact that we know which slit the photon goes through makes the interference pattern go away."

I read that and say, really? The fact that we know about it? How does the photon know that we know about it?
I always feel like this is just a layman's way of describing what happens, but there is actually a more rigorous understanding among physicists. Is that the case? Because after reading that sentence I want to stop right there and redo that experiment until we figure out what's really going on.
This is scary. I had no idea how much of that stuff is - basically - just lying around.
Interesting, a cup of sweet tea killed my A1243. Water got inside and shortened some pads or tracks, since pressing one key instead generated 3 or 4 others. I tried to dry it with rise and silica gel for weeks - didn't help. Then I tried to open it and that was an excellent example of an Apple product which feels great while it works and has 0 repairability, so is an e-waste when broken. Disassembly of any other keyboard would allow to fix such a simple problem. At the end I've got a used A1243 from ebay and am typing on it right now :) (if it breaks I would probably go to Logitech MX keys for Mac).
> But it's noise not disturbing a good signal.

The signal will always be weak early on.

Look at the comments now and it's clear that the upvote/downvote mechanisms are working sufficiently to address your concern.

This should not be surprising. It's typically faster to not read the article and spew superficial off-topic comments than to write on-topic, substantive, and technical comments.
So it's not really universal and ultimately it boils down to welfare and benefits as they exist, e.g. in Europe. So what's new?

Edit: for example in France there is a minimum income benefit that everyone is entitled, one might call that 'universal basic income', then: https://en.wikipedia.org/wiki/Revenu_de_solidarit%C3%A9_acti...

The suggestion that this should be paid to everyone then clawed back from most people though taxes is rather odd. A lot of these discussions on UBI in the US seem to either be utopian or try to reinvent the wheel...
If UBI were to be implemented in the US, there's no way it'd be $5900/mo. Andrew Yang's plan (https://2020.yang2020.com/what-is-freedom-dividend-faq/), which was actually realistic, would've given out $1000 per month.
I think UBI would work with half as much cash. Maybe 4k / month if it isn't in addition to free healthcare. $4k per month is how much I spent in NYC not including health insurance.
Non-partner Amex's are considered "three party card schemes", and therefore not subject to the interchange caps [1].

This means that there's a chance your merchant has been paying more for each Amex payment.

[1] https://curia.europa.eu/jcms/upload/docs/application/pdf/201...
didn't give them $5,900 monthly, that was annual. $5,900 monthly would be more than most people in US make after tax.
Async/await paradigms exist in several languages, but with C#, async/await is generally considered the "modern" and unified way to handle both IO bound and CPU bound tasks.

The runtime will generally schedule IO bound tasks to run on the threadpool.
OP, your entire submission history is this same question repeated 6 times, including one with 178 comments - why do you keep asking this?
>Interestingly, this development comes at a moment of history when interracial marriages and children are at a record high.

Because most people don't give a crap about race. There's a loud vocal minority that shapes the policy nobody cares about.
I think that those two features in particular are more polarizing than anything. I don't think there is a wide consensus as to which is better even though most programmers have an opinion. Many programmers would agree (I think) that Julia is cosmetically beautiful in a lot of other ways however.
"Even if nobody reads your essay, writing it will make an impact on you."

After reading a post in HN (https://news.ycombinator.com/item?id=5614689) entitled "why you should write every day", I've being doing it daily in a private blog. I do it in English to improve my second language. My main language is Portuguese.

I'm doing it since 09/22/2014. I try to write about my own ideas, because I believe is the right thing to do and it is the best subject to improve myself. It's not an easy task, and I do not feel I'm improving yet, but something in me tell me that I should keep doing it.
Because it is unethical. Giving this ability to 100,000s of people (even for the short time before this site is taken down) is the wrong way to highlight the faults in VNC.

E.g. We should tell people that guns are dangerous, but we shouldn't highlight this by giving guns to children -- someone is going to get to hurt.
I'm not a US citizen, but I presume that US allies which have the capability do unilaterally gather intelligence on the US.
Lines of code isn't a good measuring stick.
I'm 42 and have never successfully conquered my sleep issues. I am still a late night person and will stay up all night every now and then just to get back to a "normal" cycle (which never lasts).

Traveling abroad highlights my problem. In China I will be up at 5:00am (and enjoying it and wanting to make it last) the first few days, then my schedule will start to drift later and later until I am all screwed up again. As a dad I simply have to get up early sometimes and these fall asleep at 2:00, 3:00 or 4:00am get up at 6:30am days just wreak havoc on me and, sadly, I do not "adjust".

What's more, I had a job where for several years I had to get up every single morning at 5:15am. I was told "You'll adjust when you are forced to do it long enough". Nope. I never did. I'm becoming convinced some people just can't. It sucks, by the way.
Thank you for your feedback. I appreciate it. All of my projects on GitHub are new projects that I've started recently (within the last few weeks) as an effort to actually have something presentable, so everything on there is a work in progress. And many of them are assignments for coursework which is why there's so many languages in use.

SICP is my current side project, but having four main projects to work on eats up a large portion of my time unfortunately.
I would also suggest using an S-Corp instead of an LLC. It gives you the same benefits and flexibility as an LLC with pass thru profits and such but you can create shares more easily.

As far as paying your writers with equity, I like this approach defined in this article:
http://www.readwriteweb.com/start/2009/05/building-your-team...

It talks about forming a contract where you will pay them double there hourly rate which they can then buy equity with it once the business gets it's first valuation.
Within the past few generations, physical labor jobs have diminished while knowledge worker jobs have risen. Along with that, more and more knowledge worker jobs have become creative.

The traditional norms of working hours, work environment, management techniques, etc. established from past eras where physical labor dominated work are no longer relevant (and in some cases actively harmful) when it comes to knowledge work and especially artistic and creative work. Worse yet, many people do not appreciate or acknowledge the creative nature of many of these new jobs (software development being an excellent example).

As a result most working environments for a lot of modern creative work are wholly dysfunctional. Is it any wonder then why job churn is so incredibly high in the tech sector? If you're working in a dysfunctional environment then you are much more likely to switch jobs for a little extra pay or merely for a change.

Unfortunately, a lot of labor law is also very heavily biased toward physical labor as the model for all work. It'll take a very long time for these biases, bad traditions, and legal hindrances to be replaced by systems that actually work.
Follow your gut, for real.

Shop around for a better deal.

Also remember, your "we just need a few months" is probably off. You'll likely need more than that.
I can see the motivation behind this sort of "grades over learning" behavior in business school, since it's the sort of place where the Degree is all that matters.

For other disciplines though, where you're actually there to learn something, I just could never understand why you would do that. Why would you pay money to take classes, and then cheat on tests to avoid having to learn the material. Couldn't you achieve the same result by simply doing nothing?

I graduated with an Engineering degree, and a terrible grade point average. I could still, however, 15 years on, sit the final exam in any of my core classes and pass it. Somehow I doubt that the students copying each other's homework assignments as a "time-management strategy" will be able to do the same thing.
hahaha cracked me up
I had to fight with it for a while with Firefox on Linux. Hung up the browser. Worked on Epiphany first time. Finally got it working on Firefox. My CPU seems to have calmed down too.
Killer apps exist.
Ads, when not overdone, really just don't phase me honestly.

I tune them out.
I also get e-mails every 6 months from Google.

A few years ago Google required a 3.75 or higher college GPA. That is an amazing GPA for the college I went to, so I've never applied. I wonder if they have relaxed that criteria.
This comment may be lost in the fuss but shouldn't be under-rated.

You are a senior - you have mastered the technical. Time to move onto to different kinds of problems.
Still, something could be done - for example, I know that the M4 heads west out of the city, and so is subject to poor visibility during afternoon peak due to sunset.
Tweets come back ordered newest to oldest so there's nothing to order if you don't want to. And accessing since_id or max_id just to send it back to Twitter is exactly what I was referring to: no math to be done, just storing & accessing a value so it doesn't have to be in number format.

In a more practical application, a timeline comes back and the top-most and bottom-most IDs are stored. When a user gets to the bottom an API call is made to load more so you look at the bottom-most ID. If they want to load new tweets you look at the top-most ID. No math needed, just looking up values. They could've been strings all along and it wouldn't have mattered much.
s/Breaking News/Broken news/

One person had their me.com password stolen and another person on the internet had their iTunes password stolen.

But 6 ad displays per page view is 6 ad displays per page view. Good for you crunchgear.

End of story.
I like the check for /etc/passwd. For a second the thought that it might just be the most ghetto platform check heuristic ever blipped into my mind, and then I remembered that integer arithmetic is totally portable anyway so it doesn't matter -- and it's Java, so it doesn't matter. I hope OP actually saw this code in the wild somewhere; that'd be kind of amazing.
Not really, all that says is that it risks the name colliding with a built-in macro defined by the compiler. At worst that seems like implementation-defined behaviour.
This is my favorite C book ever, I recommend it wholeheartedly, and it recommends voidstars. =)
Yea, I feel like I'm in the same boat - only I'm the "business guy" at my startup so I do this to relax and learn about Python (which our code-base is mostly in).

HN member: endlessvoid94 is the guy behind Djangy - I hope he sees a lot of us begging for this!
I have used Notational Velocity, I like it, but I absolutely love Taskpaper. I have used almost every single task-manager you could possible think of, but taskpaper for mac is the only one I found to be no-nonsense and intuitive.

Mac only. if you haven't tried it yet, you should try it. You will love it. http://www.hogbaysoftware.com/products/taskpaper
Dear TSA: I really don't want you taking naked pictures of me or fondling my private parts but yes, I'd be happy to install your app on my phone. I'm sure you will not look at my contact information, calendar, podcasts, pictures or videos. Except if absolutely necessary, in the name of national security.