skysight-inc/HackerNews huggingface dataset:
>But who gets to decide what is truth and lies? If twitter was bi-partisan, sure, but the people in charge clearly have a heavily bias.

You believe that and I respect your beliefs. I don't use Twitter, so I'm not really in a position to agree or disagree with you.

That said, so what? The shareholders of Twitter own the company. If the company is doing what the shareholders want (within the strictures of the law), then so be it.

Free speech cuts both ways. I can say just about anything I want. But Twitter or Facebook or HN, for that matter, is under no obligation to host my speech.

The only entities that are forbidden from censoring by the First Amendment are the Federal government,(and through the 14th Amendment) as well as state and local governments.

So if Twitter censors (or doesn't censor) content that you think shouldn't (or should) be censored, you are free to argue for your point of view and encourage others to do the same.

And Twitter can do the same.

Even if (and I take no position one way or another) Twitter is biased and acts upon those biases, so what? That's their right under the First Amendment.

It's messy, and it pisses people off, but there's no provision in the First Amendment that speech must be orderly or inoffensive.
Hey, thanks for your reply, it's clear that you're passionate about the topic and that we're on the same page. Your writing on the topic is lucid and convincing, I would only point out that it's liable to get lost in the noise here on HN. I would encourage you to write essays on this and post on a personal blog and link to it on social media, or similar - or contact journalists who you see writing on this topic.
Everything seems faster in CL, both in repl interactions and super fast startup of CL applications. That said, both are beautiful languages that spark joy to use.
Cousine has very few glyphs by comparison.
It depends. If it's in a github repo and there isn't a massive backlog of issues for a software that hasn't been updated in a while, I might think that.

One good thing about stat counters for packages combined with GitHub for issue tracking of you can kind of tell.

It does take some level of die diligence and isn't easy. But neither is anything relying on say system installed libraries in C projects.

I'd rather have the package managers than not.
Though it’s a nice way to get their dev costs covered for a thing they wanted to build anyway.
It’s mushroom mania. I’m assuming they are running the show at the moment. Yes, your next boss may be a neural mushroom network.
My CS systems PhD advisor used to say, 'you waste the abundant resource' in systems design. Lots of CPU cycles available, lots of bandwidth available (except when not!) - so waste it and save programmer time.

At least, in theory.

It's not about knowing assembly or not. It's resources, time, cost, money, ROI.
How is that a meaningful distinction from the end-user point of view?
Virgin Hyperloop selects West Virginia to test its futuristic transport system
Your "repeated" refutations include a claim of $1400 per kWh-year of hydrogen storage with a link to a report [1]. That seemed way too high for me so I grabbed the report - which, by the way, argues that hydrogen is economical for storage of spilled wind - and have no idea where you got this figure from.

It appears you've mixed up kW and kWh at the very least. The figure you're reading also appears to include the cost of buying the electricity at market rates, which is shown to not be economical. But it isn't what parent argued for, and you explicitly state it does not include.

Reading further in to the report, it breaks down the capital cost of a hydrogen system minus storage at $550/kW, and notes the very low cost of underground storage at large scales (for smaller scales, it argues for using tanks and being geographically independent).

So you disagreed with parent, threw out a nonsensical figure and linked to a report as proof that agrees with them, not you.

And hey, it looks like someone informed you of your mistake 3 months ago [2], which you didn't bother to reply to or correct yourself.

This is a repeated theme with your accounts (your main and your sockpuppet). Every time I dig in to the numbers you throw out I get a sour taste in my mouth that you've caused me to waste my time. I believe that you are arguing in bad faith, cherry picking whatever numbers you can find, in context or not, to make a pro nuclear case. Which is a bit sad, because I think there are still strong (but dwindling) cases to be made for nuclear.

[1] https://prod-ng.sandia.gov/techlib-noauth/access-control.cgi...
[2] https://news.ycombinator.com/item?id=23741288
This feels like half an article.
That's not true at all - Samsung, Huawei and other stores have the same feature set as Play store.
You have to accept that compilation is on the fly, so you cannot test the actually binary code your customers will run. There is an attempt at AOT in a library but it did not look stable last I checked (when Julia went 1.0).
Yeah it's mentioned in this blog post https://blog.jooq.org/2014/01/06/the-sql-languages-most-miss... that SQL is missing Common Column Expressions, and that using Common Table Expressions reuse columns is simply a band-aid fix over the lack of those.

For example, your example would have been more naturally expressed as

SELECT partcol1
FROM (tbl WITH partcol1 AS AVG(col1) OVER (PARTITION BY col2))
WHERE partcol1 > 10.0
> there just isn't much else to do than pay attention.

I don't disagree with anything you wrote but, for some, paying attention just doesn't work that way. Take ADHD, for an example.
True, but SROs have a lot less oversight than the SEC.
The Russians engaged in a campaign to disrupt the US elections. That is not in dispute. They were effective in this by hacking the DNC and Podesta and by using thousands of troll accounts to pretend there was anything scandalous in that data.

Cambridge Analytica had negligible role in affecting the election. That was just a privacy scandal for Facebook.
Sony doesn't own the trademark for PS5 in India, may delay launch
As inconvenient as it is, I tend to agree. Having worked with C#/.Net where almost everything in the box, Node, where very little is in the box and a miniscule amount of rust which is more towards the latter, I prefer the latyer.

Now, I am somewhat supposed that say tokio or similar hasn't made it in the box yet, it allows for much greater experimentation.

Aside, I wouldn't be surprised to see MS generate a massive sure if libraries if they shift more internals development to rust. Not sure if it'll be good/bad or otherwise.
> In order to support preprocessor macros and C++ templates, referencing a module means recursively "including" a bunch of header files (i.e. reparsing them from scratch), meaning O(n^2) complexity where n is the number of modules. You can speed it up with precompiled headers, but you will still need to separately parse each sequence of references

Not sure I really get your point here. Even if you remove macros and templates, reading headers is actually necessary just for the sake of knowing the size of structures, the offsets of attributes, etc.

How can _any_ language compile a unit passing a struct Foo on the stack without knowing the size of Foo (and thus having to read, say, foo.h)?

Now I agree that if you play with preprocessor to have conditional things in your headers, reparsing will be necessary, but I guess this has been solved by include guards/pragma once a long time ago. 99% of preprocessor usage is project wide configuration, so wrapping the whole headers is fine.

Not saying this is the best solution, but in practice, that shouldn't make much difference.

A subtle distinction that can make quite a difference though is to provide independent forward declarations. A lot of times, your compiler will just need to know the symbols and signatures (e.g. When passing by reference), and providing the full structure definition is overkill and slower. I don't see enough people taking care to that, which is a pity
As someone who is generally a "slow responder", I'll guess at the root cause. My guess is that being a slow email responder is correlated with (a) higher propensity to procrastinate, (b) general indecisiveness and (c) lower self-esteem, all of which are not hard to see why they would negatively impact business success. Of course, I could just be projecting, but when I am slow to respond to an email, it's usually because I want to overthink the response, or that something about writing the response is generally uncomfortable so I practice avoidant behavior (same thing feeds into procrastination). That root cause trait has proven very inhibitory for me achieving my goals.
The next post is even more mindbending: https://aphyr.com/posts/341-hexing-the-technical-interview
Why not charge for the app AND then with the income you have incentive to keep supporting old devices.
What I really want to know is:

1. Have I clearly gotten my ideas across? Am I reaching people?

2. Am I even right?

Fluctuations in votes helps answer #1, and responses help to answer #1 and #2
I guess our conceptions of CLIs are different. I wasn't thinking of developing complex textual formats that need to be parsed as input to a CLI program, I was thinking more like simple flags like `--do-operation=value` as opposed to a button in a GUI doing the same thing. If you have a function you want to call named foo() it should be pretty easy to just look for a `--foo` flag and run it. The problem becomes trickier if you have to parse some inputs from text. However, most CLIs I've seen for third party services use mostly simple flags, each of which corresponds to some simple operation. They may take an arg or two (e.g. `cli-client --foo 34 --title "Hello"`). If there is a more or less one-to-one mapping between functions and CLI flags, then it should be pretty easy to test. Testing a full-on parser for complex CLI commands is definitely harder, though.
Yeah freedom in America tends to favor 'freedom to' rather than 'freedom from'. Cutting these disinformation sources off gives us freedom from some amount of manipulation. Meanwhile, if we're more concerned with the freedom to say anything anywhere, whatever limits imposed will be perceived by default in a negative light.

There's merit in examining from both perspectives for any given issue. However, if our objective is a better signal-to-noise ratio of truth in the context of slamming every human's stray thoughts, emotions, and urges into each other in realtime, the 'freedom from' perspective is probably a better approach right now.
That's true. The US dollar reserve status is a contingent factor however.

How do we maintain it? An obvious factor is our military capacity. That means defense spending. Under a capitalist system that also requires a competitive commercial defense sector and also a strong economy capable of sustaining such a sector via tax revenue.

Most tax revenue comes from individuals. In an era of mobile capital, corporate taxation is sub-optimal. So the economy's health is linked to the prosperity of individuals, in aggregate. Prosperity can come from competition, but the most durable forms of prosperity are tied to increasing productivity.

Continuing on this first principles trajectory should lead to a stable structure. It's not one that is dominated by "print-and-export-dollars"-style industries.
>Opting out isn't a very practical solution.

It works for me.

I don't use Twitter (or Facebook for that matter) and I don't lose anything by not doing so.

and so, why do you believe that? I'm not being combative or snarky here. I honestly don't understand why not using Twitter isn't "practical."
> For context, only a single major version of a package is allowed to exist in a version set at a time.

This is not entirely true. A version set can have an arbitrary number of major versions of the same package. This is convenient if you have multiple applications feeding from the same upstream version set. You can add a new major version to the upstream version set and the applications can all switch over independently. This is of course how different applications can all consume from the "live" VS which has multiple major versions of many packages.

What you can't have is multiple major versions of the same package in the runtime closure of your application. It's fine to have multiple versions of build and test tools, but you can't deploy multiple versions of the same package via a VFI, which includes just the runtime closure. (You also can't have multiple packages providing the same file at the same path, but it is surprising how uncommon that is when you think about it).
Well the privileged extension requires root, which is what I was alluding to in my post :)
I had a course like that in my CS programme, and even though we really, really didn't go deep, we wired our own super simple 8-bit processor, and wrote the microcode, and then wrote a program in assembly to do something.

Stepping through the fetch-execute cycle one cycle at a time, watching your CPU do its little thing, and then realizing that that is exactly what actual CPUs do, they're just doing it billions of times per second, that was amazingly eye-opening.
I can bet $100 even if someone could raise a $100 billion they will still have no chance of breaking the current Mono/Duopoly of iOS and Android.

As much as I wish there is third option ( I cant believe Microsoft is something I considered, giving what I went though in the 90s ) the Smartphone moat make it pretty much indestructible.

I still remember thinking, we could make something better than Microsoft with tens of billions dollars, decent management and strategy in the 90s. Despite my disagreement with Apple's App Store, I am not sure I can make something better than Apple. It is so well run, with so many loyal customers, that when they were doing good ( Under Steve Jobs ) I was very happy. Now under Tim Cook, it is damn right scary.
Isn't that exactly why you'd use a package like hyper that wraps the pieces together for you?

I'm less experienced with rust, but with nude, there's many times I'll use a specific dependency over another because it's already in the dependency tree.

Aside, it's rough actually trying to keep node dependencies in check in a project. Especially in web UI projects using npm.
I didn’t get that impression at all. I just want to make clear the orders of magnitude we’re talking. I do 100:1 multiplexing with pgbouncer; There’s a few hundred connections open to our Postgres database, from application servers that have tens of thousands of connections open, all multiplexed through pgbouncer.

You’re definitely right that hugepages make the allocation pretty small, but it still has to walk the page table to copy it; I’ve seen that be a real bottleneck in apps. Then again, I might be misremembering; The problems could have been simply from having a huge number of 4k pages to walk. What I’m trying to say is: A fork() call can be relatively cheap, but is rarely as cheap as an accept().

The biggest limiting factor in my experience is actually Work Mem. You can reduce it quite a bit from the default (which I was remembering as 10MB/connection, though apparently the default is 4MB; it might be AWS RDS Defaults that I had in my head). Even halving that, to 2MB, it still presents a significant overhead. A thousand connections takes two gigs of memory - Obnoxious, but workable. Ten thousand? Now you’re biting significantly into the size of your working set.
My 8-bit games just used rectangles; for circles I just overlapped two inside the geometry in a fat "+" shape. This was on a platform with pixel-accurate collision detection in hardware, and I always thought that the sloppy geometry-based detection was more fun for players.

N-squared for single-digit N worked just fine, too.
Saying someone “doesn’t know [something] from their own ass” is a dated, low-brow expression in English meaning someone is completely unfamiliar with something. A person could never realistically mistake anything at all for their own ass, so the expression implies an impossible level of ignorance.

The joke here is that the AI is both comically unfamiliar with onions (as the expression usually means) and that it may have literally mistaken the onions for being buttocks or breasts.
+1 fantastic book for the person in the right state of interest.
Thanks a lot for this! It's really helpful
"removed from the play store" makes that difficult. Yeah there's probably an APK floating around somewhere...
It is not about wheel. Engineers operate with facts.

World should be Zero Carbon yesterday to keep global temperature rise below 1.5°C [1].

> The Russian Federation supplies a significant volume of fossil fuels and is the largest exporter of oil, natural gas and hard coal to the European Union.

> Part of the aim of the Energy Union is to diversify the EU’s gas supplies away from Russia, which has already proved to be an unreliable partner, first in 2006 and then in 2009, and which threatened to become one again at the outbreak of the conflict in Ukraine in 2013–2014 [2].

Natural gas is both climate and political issue. How much is 40 GW in bcm (Billion cubic metres of natural gas [3])?

40 GW year / 40 petajoules
31.54 [4] bcm

That and wind may help with 50 bcm / month winter time [5].

I am all for nuclear energy but it costs way more [6].

[1] https://ourworldindata.org/grapher/co2-mitigation-15c

[2] https://en.wikipedia.org/wiki/Russia_in_the_European_energy_...

[3] https://en.wikipedia.org/wiki/Billion_cubic_metres_of_natura...

[4] https://www.wolframalpha.com/input/?i=40+GW+year+%2F+40+peta...

[5] https://www.oxfordenergy.org/wpcms/wp-content/uploads/2020/0...

[6] https://en.wikipedia.org/wiki/Cost_of_electricity_by_source
Build housing and keep on building until prices stop rising.

https://www.forbes.com/sites/scottbeyer/2016/08/12/tokyos-af...

> Like so many other global first-world cities, Tokyo is experiencing explosive population growth, increasing by 1.6 million people since 2000. And unlike practically every U.S. city, it has almost no empty land. So it has responded through vertical growth, tearing down old structures and replacing them with high rises at a pace light-years ahead of anywhere in modern America. As FT’s Tokyo bureau chief Robin Harding wrote in the article, the city had 142,417 housing starts in 2014, which was “more than the 83,657 housing permits issued in the state of California (population 38.7m), or the 137,010 houses started in the entire country of England (population 54.3m).” Compare this, also, with the roughly 20,000 new residential units approved annually in New York City, the 23,500 units started in Los Angeles County, and the measly 5,000 homes constructed in 2015 throughout the entire Bay Area.
> This has stabilized Tokyo’s housing prices, wrote Harding, and has kept them far lower than in many U.S. cities.
I opened this expecting Python to allow you to define custom import handlers at runtime, but this is cool too.
"A software emulation of 32-bit ARM would be needed, with perhaps a 10x performance drop."

Well, my Archimedes was 8Mhz, and my Pi is 1500Mhz, so we have some room there perhaps?
I will also say that it's been my experience that a lot of Amazon developers find Brazil very opaque and frustrating. It reminds me of my experience learning git. In my early days I'd just try to mimic procedures without understanding what I was doing and eventually I'd get in a painful state that I couldn't resolve. It took quite a while to understand how to use both tools to solve problems in idiomatic ways.
Has anybody here deleted their LinkedIn profile?
LinkedIn is the last form of social media I use. It seems like a big waste of time. I’m wondering if it’s possible to fly on a resume alone.
Is that because users are free to install a different store, or because manufacturers are able to implement their own specially-privileged store as well?
Elon Musk's Floating Starman Finally 'Drove' by Mars
ML Links and Lessons Learned
Hi Peter, Thanks for the AMA.

I am on H1B visa with I-140 approved. My country of origin is India and I am on EB2 category with long wait times. If I happen to move back to India, will I loose my I-140? I am planning to move back to India and work on a startup but want to see if I can keep my I-140 if I happen to come back to US after few years.
Of course you could use revenue from paying customers to support moochers, but there's no real incentive to do so and it's arguably unfair.
Zlib is pretty small.

TLS implementions are often giant hairballs but one that many things depend on. You can think of it as a somewhat "system level" dependency.
Keep in mind this business finds gig workers to clean houses. That is its mission and passion.
Me too... I keep refreshing HN to find something new. Most of the time I just scroll through comments to see what others think about the post. It's addictive.

_/ _ _ \_
(o / | \ o)
|| o|o ||
| \_|_/ |
| ___ |
| (___) |
|\_____/|
| \___/ |
\ /
\__ __/
U
I am not threatened by obvious lies told by nut jobs. I do feel threatened by the lies (often by omission) told by the New York Times, the Washington post, CNN, Fox and every other gatekeeper often in coordination with intelligence agencies about the middle east, domestic corruption, labor issues etc. Hyping disinformation from anonymous internet troll campaigns while ignoring the truly Orwellian lies being told in every news cycle just means you love big brother.
Yeah I was a little bit surprised by all the passion talk.

Granted I could see being passionate about building a business but ... yeah, to an extent it was kinda weird to read in that way too.
I think the distinction is not Google vs. others but preinstalled (can do everything) vs. sideloaded (e.g. Epic/Amazon, can't do background install/update).
This is actually supported by the Play store itself where you can serve older APK to phones with older OS.
If we capture just 0.03% of that fast growing cloud stuff...

And then they actually did it.
I loved that book, I got a better understanding about how computers work from bits up from that book than I did from undergrad CS.

He’s really a great teacher.
You might have your finger on something, but that explanation as written doesn't make much sense. If workers don't have the market power to prevent being reclassified as contractors, they certainly don't have enough market power to lobby for real wage increases.

The structural shift to contractors is part of a broad trend after 1970 suggesting American labour isn't, economically speaking, a growth engine.
Cool solution for small scripts! Hopefully this will lead to more virtualenvs and dep pinning in Python. I wonder if this works cross-platform...

Would definitely recommend Poetry for anything larger, it's been a great experience.
I built 3 houses acting as my own general contractor. That's not what you are asking about, but I leaned some important things doing it. The most important was my estimate that there are about 10 years required to build a 3-bedroom conventional house giving a job and other obligations. The second is that to do it yourself will likely result in a divorce. This is a very tough road to follow. Consider designing exactly the house you want (it takes me about a year to design a nice house) and then act as your own general contractor hiring sub-contractors to do the actual work. Even then it will probably be the hardest thing you have done and take over a year. Getting a house up and looking good on the outside is relatively easy, quick, and cheap. Finishing the inside is much more expensive and time consuming that a person expects.

Good luck!