skysight-inc/HackerNews huggingface dataset:
Or we could just stop kidding ourselves.

As Bill Gates and others who've done the math have repeatedly said[1], there is no storage solution anywhere on the horizon. Batteries are orders of magnitude too expensive.

You have to consider the problem holistically. Steel and concrete production. Places like Tokyo that go days without power. Countries like India that are not going to pay a premium.

If you're concerned about climate change, please take a serious look at nuclear energy[2][3][4].

1. https://youtu.be/d1EB1zsxW0k?t=520

2. https://www.gatesnotes.com/About-Bill-Gates/Year-in-Review-2...

3. https://ourworldindata.org/what-is-the-safest-form-of-energy

4. https://www.forbes.com/sites/michaelshellenberger/2019/02/05...
I'm completely good with the idea that everyone should try to reduce their consumption and strive to reuse materials.

I just think it's crazy to compare that to what Exxon has done.

For example, as you stated:

> In this quote, substitute for "Fossil fuel industry" and "Exxon", "we" and see how well it fits.

And let's try applying that to the quote:

> Our own scientists warned their managers 40 years ago of “potentially catastrophic events”. Yet rather than alerting the public or taking action, we have spent the past few decades pouring millions of dollars into disinformation campaigns designed to delay action.

Uhhhhh no? I have had scientists telling me about global warming, but they were not hired by me, or direct reports of mine. They didn't advise me on how I could steer my business, as it is one of the major contributors to this problem.

I have not spent millions of dollars a year trying to create a culture that questions scientific facts.

It's incomparable.
After a couple of reloads it finally got stuck on https://trackersimulator.org/tracker-reporting-nojs which seems to be offline. I'm on Firefox 70 with NoScript defaults (all blocked) for panopticlick.eff.org.

EDIT:
Whoops, I had it blocked in /etc/hosts:

# [EFF Tracker Detection]
0.0.0.0 trackersimulator.org
0.0.0.0 eviltracker.net
0.0.0.0 do-not-tracker.org

(still, I had to allow scripts for eff.org to see the results)
In that particular example you won't get boxes of boxes- `baz` gets instantiated for each impl of `Baz`, so the call to `self.foo()` is resolved statically and the return type is fully known.
You can pull os multiple ways including looking at the packets and tcp headers. Also installed fonts will give away OS.
I worked remote for 3 years and I did midday gym visits. It helped.
They weren't common. It depended mainly of the server configuration, language used, etc. Most of the websites were static with some dynamic pages. Includes becane really popular with the rise of PHP and ASP language.
I wonder what the CEO knows, that it took that much money to keep him quiet.
It's supposed to be about cost of living, increase in energy prices, etc. Not sure if the pension system is related. But pension systems have always been dubious in my mind. 401Ks + social security have seemed to be the best of both worlds.
Kind of Deja Vu
> most of those languages (1) have a GC that makes boxing a much cheaper operation than in Rust

Why is that? I would intuitively think it is the other way. (Is a malloc/free pair not cheaper than an allocation on the GC heap + collecting its garbages?)
Ppl think they prefer good things

Yet they put up with less than good

Never ask people what they think is good, because they will put up with less than good.

Sound advice, Nassim’s abstraction is as tight as a drum.

/s
As someone who has this flexibility, it's expensive and not that fun to go work in a hotel in a strange city for a couple weeks. I'd rather have a week off to ignore work and immerse myself
I was under the impression that a properly tuned mpm_event and fpm has very little difference to mpm_prefork and mod_php. What sort of machines are you running this on and what sort of child proc numbers are you running?
It's impossible for the US public to change their mind quickly as a whole. Would you disagree if I said that the US public is the public that is the most affected in the world by corporate media and marketing? Even prescription drugs are advertised here and it's rather shocking to realise that's just normal here. Similarly, greenwashing and lobbying really work and have impact on the US public. Nearly half of the US public don't believe in man-made global warming, a striking difference from the 97% consensus among climate experts [1]. You must ask yourself where this gap comes from? Big oil is and will be doing everything to slow down the public from going away from fossil fuels and the US system is built do support big corporate money.

[1] https://en.wikipedia.org/wiki/Surveys_of_scientists%27_views...
Carry your stuff to the parking garage. It’s slower, but depending on how much you value your time cheaper than a ticket. IMO, the larger issue is your apartment not having a loading dock, they are basically taking public space for private use.
Pretty cheesy. You can’t use trademark law like this which clearly is the reason they didn’t try this against a company that would have the resources to handle a baseless lawsuit.
Sure, all that makes sense, 'the only computing device they will ever own in their life is a smart phone' is simply not accurate, though.

What you really mean is that the only computing device they have owned so far is a smart phone.

You can't claim that in multiple decades smartphones will be the dominant computing platform. It could be anything; AR goggles, brain implants, hell, we could have gone back to the stone age and be mucking about with abaci. ;)
It's unrealistic to expect someone to spend 30 full time days (6 unpaid weeks) on that kind of material in one go. I've done it myself and gave up multiple times in the process. More than 2-3 days full-time and I burn out immediately. Even doing it just on nights and weekends is incredibly tiring (especially after a normal days work). It's incredibly tiring to do leetcode or similar for 8+ hours/day every day. Especially in the beginning when you start out - because you will feel completely hopeless with the process.

Just FYI - this interview process isn't a one and done thing. You have to refresh yourself at least every year with ~80 hours of prep. Otherwise, you're going to be really bad at it when you search again.
People certainly want quiet roomy restaurants with no line, but they also want good food. All of those downsides are a consequence of being known for having good food.
Did I not open by saying that I have more context than most people would? I have a Librem 5 dev board, too. They may end up shipping a phone to at least some of their customers, but it's going to be a disappointing product with crippling problems.
I’m confused by all of the positive feedback here. This doesn’t work at all. Even the cached default render for “HELLO” that the creator claims to have implemented in the past hour (which would be incredibly simple to implement and difficult to mess up) doesn’t work.

People unable to access this site need to stop being “polite” and just post their honest negative feedback. Then everyone else can see the negative feedback in the comments and they’ll know not to waste their time waiting for something to load that will never load.
I wonder if you'd have to recertify after each pr merge
This reminds me of a quote from Margin Call: "There's only three ways to succeed in this business: be first, be smart, or cheat." It's not entirely relevant (the context here is art, and given that it's on HN it could also be applied to programming too) but the essence is the same.
As I understand it, “I don’t know why anyone would want to do that” comment was referring to showing a plane animation flying from origin to destination, while “we like IE very much ... but I’m using Netscape for this demo” was a quip and sarcasm. He was great at connecting with the audience.

Another example was when he switched screens and the car website appeared instead of the flights website, the audience laughed and he said something like “we recommend them driving instead of taking a plane”.
Ok, someone could take the pew research numbers on illegal immigration by metropolitan region, and then correlate that to Spanish radio listenership in those metros based on the Nielsen tlr data. As much fun as that is, and as much as I appreciate the HN readers demand such validation, I’ll let someone else run those numbers.

https://www.pewresearch.org/fact-tank/2019/03/11/us-metro-ar...

https://tlr.nielsen.com
I think the more accurate translation into modern Postgresql would be to develop as an extension. This should more or less cover same functionalities.

One downside is that you need to be careful around upgrade procedures and backup because postgresql extensions weren't initially developed for persistent data. So you have to declare clearly in the extension definition which table should be backed up and kept when updating the extension.

Also if you manage your repo wisely extensions are a great way to version control. I'm currently toying around with a mostly sql app delivered as an extension and so far it's working pretty nicely. But it's a side project and it's not really ready for prime time.
I wrote about my experience of moving away from a city in Sweden and moving to a small community[0].

And although the article focuses on digital nomad, I see the same problematic with the move we did as I both starting working remotely and moving away from my friends. Finding a social life, or "rooting down", is to me the most important thing for me. While I do talk with coworkers a bunch I do need to supplement it with social interactions outside of work.

[0]: https://www.jonashietala.se/blog/2019/10/18/we_moved_away_fr...
I'm working on one: https://reworkin.com . I do think there are some discord/slack channels too. There's also nomadlist but it's mainly about nomadism
>I think it’s MS Outlook that only shows the name in email chain when forwarding.

I complained to support about Outlook iOS doing this, not just for forwarding... but all received emails display only the name. I receive AppleID phishing attacks constantly to my old hotmail account, Microsoft helpfully sends all them to my inbox and Outlook shows them as from 'Apple' unless I click the sender name and then it shows something like totallynotlegit@paypalappleidscams.tk. Their link scanner is effective around 50% of the time. It's not good enough.

Microsoft does not consider this a bug or a threat in any way. I have been active about this on social media and have had my screenshots and complaints picked up by largish accounts like @swiftonsecurity.

At this point Microsoft is complicit with the phishers. Oh well, not the first time an entire industry thrived off their lack of security.
I have noticed that business folks roll their eyes when "tech debt" comes up. I sympathize, as it didn't used to be that way. COBOL on a mainframe would remain current for decades. Tools and languages are very fragmented these days. I recently tried to get a popular node.js app (tech radar) up and running, but npm just kept bombing out on abandoned packages. The project is 2 years old and already "debt ridden".

Funny, because it's all client side/ browser JavaScript. Node isn't really needed, but that's the toolchain. So it's borked for no good reason.
Individual EV drjvers can set the start time for charging. It's polite to set it for sometime after midnight. This isn't fancy smart-grid stuff, just a new kind of basic common sense that will emerge as EVs get more popular.
Add to that Cookie Autodelete and uMatrix
Part 0 is fully self contained and it summarize very simply why it boils down to arg min problems.

Some linear algebra basics may be needed to follow the derivation, but with far less prerequisites than anything else I've read.
Where did the author get the info that this is open source? I haven't seen Unity state anywhere that this tool we be open source.

I could see them giving source code to people who pay for some enterprise license, but I doubt it will be open source. At least not the part that extracts data from BIM software.
Kotlin coroutines are just async/await with different syntactic defaults. That is, when you call a `suspend fun` it is awaited by default, and if you want to get a promise/future/etc from it instead that's when you write an extra annotation.

Rust went the way it did syntactically because annotating the await points lets you see them when reading a program, and possibly out of familiarity.

Rust went the way it did implementation-wise (stackless rather than stackful) because it's more efficient.
If they didn't view it this way then I presume they'd probably be opening themselves to litigation - in some country...
Disagree - "investing" is an activity that can be deferred without anything but opportunity cost; "paying off debt" expresses that not doing it has real consequences.
He is a national treasure.
The intersection of the sunk cost fallacy and super-voting shares are the root of this ridiculousness. There's nothing unique about Neumann. Charlatans like him are everywhere.

What's interesting about this case is that both labor and capital were screwed by the willingness of an investor to accept the existence super-voting share with an extreme ratio.
> maybe the indictment needed here should be aimed at capitalism, which enabled such an absurd and outrageous outcome

What an absolutely ridiculous, botched up non sequitur. As if capitalism inherently favors the corrupt, while socialism magically kills evil.

Washington Post only continues to exist because of the generosity (??) of a billionaire, who is the very product of the evil evil capitalism that this writer dispises, is sweet irony, and reminiscent of the massive cognitive dissonance afflicting the modern American socialist.
Humility doesn't buy you a house in Silicon Valley.
That example is generated by a macro, not part of anyone's actual program source...
What about Cannon Lake and Ice Lake then? Both of those lines are supposed to be 10 nm.

Cannon Lake had a fumbled release last year and Ice Lake processors started shipping with some newer computers last month.

https://en.wikipedia.org/wiki/Cannon_Lake_(microarchitecture...

https://en.wikipedia.org/wiki/Ice_Lake_(microprocessor)
I started a company in 2008 where all the founders were remote. We didn’t force location on anyone but gradually we settled on three offices where gatherings took place and people who were local would check in. Eventually the company developed a unique office culture in each and you generally identified as belonging to one or the other. I liked the way it developed because we didn’t enforce a set of rules, we let people be adults. The ones you knew that were more preoccupied with marathon training rather than getting things done worked their way out of the company pretty quickly anyway — usually they were so detached, forcing them into an office wouldn’t have mattered. As for me, I lean remote especially when I need to stay focused. But I do like the ability to see a new office and be a part of a larger in-person community.
I found the stats for DNT interesting. 1 in 1.92 have DNT header enabled. So having it as False gives more bits of info. Presumably that's just stats for folks using panopticlick, so heavily skewed towards folks who know about privacy.

> DNT Header Enabled? |
0.94 |
1.92 |
True
How does this work behind the scenes?

Seems rather alot of work to put text on candy - can you explain the purpose of it more please?

Presumably it is made with Blender at the back end judging from the random quote generator "Created while running away from a squad of offensive drunk guys who are fans of the black skills of Blender."

UPDATE:

This looks like an interesting thing - I'd like to hear more about it - but I've tried several times to render and it always eventually loses connection to the server.

It looks like it was too early for it to hit the front page of HN, some more scaling testing was needed.
> at a page granularity, which is too much for lightweight concurrency

I don't think that's been conclusively shown. 4kB is smaller than a lot of single stack frames. It would be interesting for someone to measure how large e.g. Go stacks are in practice—not during microbenchmarks.

> Another possible contributing factor is that perhaps ironically, in one respect Rust is a higher-level language than Java or JS, as it compiles to a VM -- LLVM/WASM -- over which it doesn't have full control, so it doesn't have complete control over its backend.

It's not really a question of "control"; we can and do land changes upstream in LLVM (though, admittedly, they sometimes get stuck in review black holes, like the noalias stuff did). The issue is more that LLVM is very large, monolithic, and hard to change. Upstream global ISel is years overdue, for example. That's one of the reasons we have Cranelift: it is much smaller and more flexible.

But in any case, the code generator isn't the main issue here. If GC metadata were a major priority, it could be done in Cranelift or with Azul's LLVM GC support. The bigger issue is that being able to relocate pointers into the stack may not even be possible. Certainly it seems incompatible with unsafe code, and even without unsafe code it may not be feasible due to pointer-to-integer casts and so forth. Never say never, but relocatable stacks in Rust seems very hard.

The upshot is that making threading in Rust competitive in performance to async I/O for heavy workloads would have involved a tremendous amount of work in the Linux kernel, LLVM, and language design—all for an uncertain payoff. It might have turned out that even after all that work, async/await was still faster. After all, even if you make stack growth fast, it's hard to compete with a system that has no stack growth at all! Ultimately, the choice was clear.
As always, it depends on a lot of details. A generational garbage collector can be made to allocate extremely quickly; IIRC for the JVM it's like, seven instructions? For short lived allocations, it sort of acts like an arena, which is very high performance. malloc/free need to be quite general.

It's always about details though. If a GC is faster than malloc/free, but your language doesn't tend to allocate much to begin with, the whole system can be faster even if malloc is slower. It always depends.
It was so hard back in the late 1990s to overcome the indoctrination we all went through. I built an AMD Athlon system but it took a lot of work and self-searching to make that leap. It was like leaving a cult.
There is important context about Chile that people need to understand. Chile is by far the freest economy in Latin America: https://www.heritage.org/index/ranking. Chile also has the highest per capita income: https://en.m.wikipedia.org/wiki/List_of_South_American_count.... And it has the highest human development index: https://en.wikipedia.org/wiki/List_of_Latin_American_countri...

Unsurprisingly, many people don’t want to rock that boat. The current center-right government was elected in 2017 by a decisive majority. (The President won 55-45 in the run off election).

The protests in Chile are largely socialists and labor movement that are trying to get policies passed they couldn’t get through the democratic process.
Depends on the (not-yet-implemented) implementation of async functions in traits. But currently, with the async_trait macro, there is only one version of Foo::foo, and it returns a Box<...>.
But it is true we could imagine the compiler generating two versions: one for when the static type is known, and one if dynamic dispatch is used.
Is there a mac binary or homebrew formula?
Yes, primarily music, media, social media, mostly interactive experience.

I should have been a bit more clear about "sharing/receiving information," or rather, reworded it as "viewing static documents."
> There are two domains that are hosting the phishing content, live since March 2019. The associated IP network block and Autonomous System Number (ASN) are known to have hosted malware

At which point the article fails to include the one actionable piece information - the IP blocks and ASNs.

It's so like the tech press to write a comprehensive article that omits the only info that could actually help.
I think he knew it was a dumpster fire, but regardless, SoftBank had to pay him to give up his shares if they wanted control of the company
I've been working fully remotely since 2012, except for one year when I had to go to the office every day. Points described in the article are valid, quite a few have occurred to me, but loneliness is the nastiest one I've been struck by. With that being said, I was so happy when my wife was let go from her job... Sure, extra income always helps, but having a human being around me helps a lot. I will sit down at my work desk, a designated place for work and work only, at around 9am and often wouldn't come out of my cabinet until 6pm, but taking the occasional coffee/pee break and seeing another person feels so much better! I started talking to my cat while my wife was still working, it helped, but not a lot. I also started having so many bad habits, like skipping meals, not doing any physical exercise or vaping at my desk, with my window open, not even bothering to go outside on the balcony. Humans are social beings and choosing to be alone is way different from being lonely. I don't think anything good has ever come out of loneliness.
Ask HN: What are interesting features of older programming languages?
Hey HN!

What are interesting features of old(er) programming languages that haven't made it into mainstream/newer languages?

Unusual control structures, etc.

For example, I find it interesting that Common Lisp is image based, which I haven't seen in any other language except Smalltalk.
> I never quite understood why so much Americans are out there just "to make a lot of money".

As a counterpoint, the US is perhaps the most charitable advanced nation (in terms of charitable giving per capita). Take from that what you will, but perhaps the conclusion should not be “Americans are more greedy or materialistic than others”.

> I learned from an early age that talking about money all the time is not what good people do

For better or worse money is a major component of agency both in your own life and in society at large. On a personal level, reducing your working hours to spend more time with your family requires a focus on money to make that happen. On a societal level, there is no universal health care, affordable education or shift to clean energy without deep and involved conversations about money.
It's not about the difference. It's about ability to encode to anything you want transparently. You need to have lossless source for that. For portable devices I prefer all of my audio in Opus.
Our marketing team understands the power of framing a concept in a favorable light as they are constantly correcting our use of "eating our own dog food" to "drinking our own champagne". Of course, I paraphrase this to "drinking our own dog food".
I mean social media is not new and don’t recall a time in the last 15 years or so when it seemed like there were so many happening simultaneously
Isn't watabou the guy that made the original Pixel Dungeon?

edit: yes, it is, it's in his page

I've used the code of Pixel Dungeon to teach programming - particularly the vision and path finding algorithms.

Of course the code was not built for that but what it lacks in didactic qualities it makes up for in _interest of the students in the domain_
source on the front page: https://news.ycombinator.com/item?id=21369866

please check for duplicates and better links before submitting
Osamu tezuka must be spinning in its grave with you ...