skysight-inc/HackerNews huggingface dataset:
What Investors Will Ask About Your Startup's Revenue Plan
You can't. Along with energy, it's the most finite asset you have. Which is why it's critical that you store it in the best medium possible.
Generate a PDF in JavaScript Summary and comparison of libraries
I expected Rust to be faster than trivial Go code.

Any specifics on why it's not?
Herb Sutter, a C++ expert, said that is possible (but it's not the general case) to simplify C++ by adding features. IIRC, on such feature is the "spaceship" operator <=>, which simplifies writing comparisons.

You do need to think carefully about how to add features, though.
> They say this is the future of making money as an artist -- that the true value of their art is finally being appreciated.

Does that also work for physical art? My parents were full-time artists, but did not know how to sell anything, so now I have inherited hundreds of paintings. Should I create NFTs for them?
(The C code.) Using hcreate and the fact that posix describes this interface which uses a hash table singleton, is just mind boggling. :) So ugly, and you'd hope anything as non-reusable as that is deprecated with a strong wording.
The Making of a ‘European Yellowstone
I'm fine with banning apps that permit organizing violent insurrection in response to independently certified elections.

That isn't the case here however and I expect some resolution will come.
> Therefore, if you want to abolish the clock changes, which seems like an excellent idea to me, the safe and conservative way to do that is to use today's winter time all year round.

Please take into account that people will settle into their own equilibria.

Ie just because the government suddenly calls noon 3pm, doesn't mean people will change what 'real' time they get up at. Especially not in the long run.

You can see a bit of that in Spanish vs Polish habits.

'Nominally' Spanish people dine very late, but that's partially because they share the same timezone with Poland.

Measured by 'real' time, they differences aren't nearly as crazy.
What a terrible decision. I use compact density and, if anything, I would prefer them to introduce something like "even more compact density".
>And because they use the hydroelectric power, other people must use the coal power for electricity

Not necessarily; the excess power goes to waste after whatever batteries the grid has are filled.
The Ars Technica System Guide, Spring 2021: Gaming Edition
I have no problem with this. Currencies are not trivial things. I'm fine with bitcoin staying underground. The only way for anybody to trust a currency is to have a government regulate it.

Authorizing crypto exchangers without tight regulations opens the door to money laundering:

https://imgur.com/a/TSf8PPc

Only criminals and hardcore libertarians will argue against regulations.
can anyone speak to companies like Cellbrite? how haven't they been sued into oblivion by phone manufacturers?
India needs a digital gold currency that is physically redeemable.

Electronic p2p and a network of gold dealers that exchange electric for physical gold.
Bitcoin trading increased in nigeria after it got banned there.
That sounds terrible. Although I agree that life is complex enough to require sacrifices at times - it's simply unavoidable sometimes, I find it hard to swallow that people are required to go through this. Because you shouldn't have to go through this if we would've done a better job and organising society and economy.
this can be used also with an Hackitosh https://www.tonymacx86.com/buyersguide/building-a-customac-h...
Just get up earlier? Moving around what we call the hours of the day doesn't change anything real.
You mean that thing which google controls 90% of the rendering engines for? [Yes, they have much less power, but its not exactly independence either]
Philosophy used to be a systematic attempt to answer just one question - What Is? (or what is real?)

Science emerged as a standard methodology much later.

Abstract bullshitting, which is mistakenly called philosophy too, may be considered as an art, like storytelling.

To clarify - fancy philosophical systems have nothing to do with philosophy. They are just piles of abstractions.
std::iostream is going to be hopelessly slow, but I would like to point out that -O3 is more appropriate for templated C++ code.

It seems that the two hot spots are the std::string constructor (unsurprisingly) and the vector constructor.

Making string faster is not easy. I would check that gcc is configured to use C++11 strings with the small string optimization and not the older C++03 compatible refcounted string. Writing your own string or a custom allocator are options, but probably overkill for the problem.

The vector constructor is more surprising. It is possible that -O3 could help a bit there. Wrapping the map iterators with std::move_iterator would also avoid a lot of string copies.
Capital controls are necessary to prevent complete failure of the financial system of developing countries due to hyperinflation where the rich can extract the maximum from the economy and runaway by investing in foreign economies. This is acceptable at a small scale but can cause serious issue if scaled up. The only countries that are safe from this are developed countries with reserved currencies like USD or are resource rich like Saudi Arabia
.

US doesn't need capital controls because their currency is treated as a reserve currency and the buffer to prevent hyperinflation is very high
TikTok Terminal Client
This is so sad. The opposite of what I'd hoped would happen... that the third world's failing currencies would make people there get into crypto first and end up benefiting them the most. Instead, the whole of crypto seems to be a 1st world number go up phenomenon.

I'll still be pushing Bitcoin Cash as a solution to people in countries that don't ban crypto.
> That's a really low bar for a political candidate to win your vote.

Actually, I think it's a fairly high bar. At least in my interpretation:

>> That's all they would have to do to get my vote....nothing else.

I interpret this as the candidate in question should not make any other promises.

> I'm sure I will get downvoted by some / many HNers, but seriously... Do you honestly think that this is the right approach to use your right to vote, considering that many people in the past gave their life to give it to you?

Eh, voting is a waste of time, if you goal is to change anything. (It's a good use of your time, if voting makes you feel good, or helps you with your tribe.)
Un, Myanmar could just deploy soldiers with machine guns or shoot rockets and achieve the same thing? How is that different?
I think the point is, that even if they are intelligent and capable and definitely contributed a lot to their initial codebases ( I don't know why you singled out Gates, but he most certainly did as well), all of these companies grew to the point where almost any code change requires a bunch of expertise with technologies that they probably have not been exposed to.

I don't know if they wouldn't get hired, I mean it's not like those companies never hire straight out of college, they obviously do, so expertise is not an absolute requirement. But they probably couldn't be hired as drop-in experienced SE's. Half their tech stacks are on technology that didn't even exist when they last touched code.

All of these CEO's are famous for their excellent early talent acquisition of software engineers. Microsoft and Apple for leveraging those engineers to initiate a new digital world, and Facebook and Google for attracting (and motivating) the worlds best to achieve global domination.
As someone from a working class background, I find your use of the term "lower class" problematic. It suggests you somehow perceive me and my ancestors as beneath you, or that we have less inherent worth as human beings. We prefer the term "working class". I find it strange that you're so keen to tell others that using inclusive language is a non-issue, yet you yourself are perpetuating stereotypes by using exclusionary and hurtful language.
You could ramp down coal plants instead of just wasting the excess power
Discussion from a few hours ago: https://news.ycombinator.com/item?id=26460907

The URLs merely differ in "us" versus "uk".
Regulating the Indian economy is like squeezing a water balloon - whichever direction you squeeze from, you only make some other part fatter. If this ban went into effect, average people might comply and divest from crypto, but wealthy opportunists will always find a way to subvert government regulation through bribery and political connections.

Look at demonetization - people with large amounts of illicit funds would bribe bank managers to create thousands of new accounts in their name, to overcome the reporting/exchange limits. The aam aadmi (Hindi for common man) ended up with the short end of the stick, as the cash supply dwindled and people had to spend hours waiting at the ATM.
Reminds me of when subway said my role was sandwich artist and I had that on my resume for a few years
I was not aware that there is actually something being done against some of the giants who think they stand above the law. It's going to be a test whether GDPR is worth its salt. If it can be bypassed by that simple T&C trick, then it's just has been another expensive waste of time.
I have a feeling they will allow that as otherwise Facebook's predatory business model will make no sense until they find a way to trick users into consent. Given that people are just clicking the boxes without reading now, this could work...
Yeah, that's a good example of how the rich can get away with anything in Thailand. In most places if you kill a cop the cops make sure you get what's coming to you. But here even the cops can't get justice for other cops if the perp is the brat son of the ultra rich.
This is very cool, glad to see an opensource version of brick building. As a Dane (Lego's Danish), I'm impressed that you manage to navigate the numerous pitfalls with copyright infringement and the like.

Also glad to see it being GPLv2 licensed.
> Does your approach allow for quality optimizations like sub pixel rendering for arbitrary curves?

The library only does grayscale AA for vector graphics.

Subpixel rendering implemented for text but comes with limitations: only works when text is not transformed (or transformed in specific ways, like rotated 180°, or horizontally flipped), and you need to pass background color behind the text to the API. Will only look good if the text is on solid color background, or on slow-changing gradient.

Sub pixel AA is hard for arbitrary backgrounds. I’m not sure many GPUs support the required blend states, and workarounds are slow.

> does that include drawing text as part of your transparent pass

Yes, that includes text and bitmaps. Here’s two HLSL shaders who do that, the GPU abstraction library I’ve picked recompiles the HLSL into GLSL or others on the fly: https://github.com/Const-me/Vrmac/blob/master/Vrmac/Draw/Sha... https://github.com/Const-me/Vrmac/blob/master/Vrmac/Draw/Sha...
These shaders are compiled multiple times with different set of preprocessor macros, but I did test with all of them enabled at once.
If India needed the gold standard, they could just introduce it.
Build a Raspberry Pi Kiosk
Don't underestimate how corrupt a cabal of old men can be.
Spain to implement 4-day work week in response to Covid-19
You stored one day in 2013, now you can take 500 days off your job and live off that profit instead.
http://www.brendangregg.com/specials.html#ltzip
There is a bias in this article and that is the context of time. Over time there will be less and less software engineers at the top of this list as software engineering becomes more common field of study. If you look at the people listed, they were people who set up these companies not to make money. I am not saying they are not interested in money, but if you were someone interested in mainly in making money within a reasonable time frame and you were intelligent at the times Google, FB and others were invented, building these companies would have not been the easiest way to make money at those times (dot com bubble etc). These people started these companies due to an obsession with the problem, the need to make a change etc.

These companies have grown to be insane empires, not because it has been software engineers running them, but software engineering is a new field that greatly impacts the world at this time and they are the people that solved the harder mainstream problems at the time. If this was in the industrial age, we would see more blacksmiths and manufacturers and railroad builders on the list, than farmers or accountants or whatever. It is a mixture of time, depth of problem and an obsession to solve it. Not that there is something intrinsically special about software engineers
Authoritarianism is defined by a lack of political pluralism, i.e. multiple parties, political mobilization and free voting. Nothing of this is part of everday things.
Those interviews select for different things. To start a company, you prioritize speed and the big picture when coding, when being hired by a big company, what matters is that you can conform to the way they do things. While related, they’re not the same
Guns enforce civility. Physically stronger person can not bully a weaker person. The power is balanced. Thanks to technology.
Labour can't move freely, why should capital be able to?
The company I work for has forbidden the use of Google and their services such as GCP etc. due to how they treat their Play Store developers and other customer, in particular that there never seems to be any human being that you can talk to and find out what you need to do to fix the situation. We do not want the same to occur to our servers or if there is an overflow from Play Store ban to GCP etc. The business risk is too high when you rely on Google's services.

Some examples:

Terraria banned - https://twitter.com/Demilogic/status/1358661840402845696

New project banned - https://medium.com/@amton15127/why-you-should-not-use-fireba...

Google bans company - https://www.reddit.com/r/tifu/comments/8kvias/tifu_by_gettin...

Google bans mail - https://talkingpointsmemo.com/edblog/a-serf-on-googles-farm

Ban app for communicating changes during covid - https://news.ycombinator.com/item?id=23221447

Adwords ban - https://news.ycombinator.com/item?id=23224791

Serverpunch bad support - https://news.ycombinator.com/item?id=17431609

Delete app - https://news.ycombinator.com/item?id=20826618

Google bans game with pandemic - https://news.ycombinator.com/item?id=23229073

Google bans dev with no recourse - https://news.ycombinator.com/item?id=15197357
This. They did a bad job of explaining why they chose an expiration date in the draft RFC[1].

> If information and resources referenced in a "security.txt" file are incorrect or not kept up to date, this can result in security reports not being received by the organization or sent to incorrect contacts, thus exposing possible security issues to third parties.

Yes, the information could change after you write the file. No, it is not possible to know, when you write the file, at what future point the information will become incorrect. The document should have a "last reviewed" date, then the consumer can decide for themselves if it has been updated recently enough to be trustworthy.

1: https://tools.ietf.org/html/draft-foudil-securitytxt-11#sect...
Expectation of difficulties of enforcement is not a legitimate concern that can exceed or override the need for regulation.

Lack of regulation can be much worse.

False dichotomy
compare to china where google is blocked, which as a result has dozens of competing appstores. each phone brand has their own, and then some.

i do believe that if google didn't have an appstore that it forces android licensees to use, then we would have a similar variety of appstores world wide.
As someone who lived there for more than 10 years. There are a lot of "grey areas" in China, much more than in other countries. Many things are considered illegal but still tolerated.

I actually like this feeling and most expats do as well but I believe this way the government almost always have control over individuals. If they want to find something to arrest you, they will find something.
I think you may be misunderestimating the original prediction.^ He predicted those drastic reduction in working hours within a generation or two, writing in 1930... It was supposed to happen by 1980.

The prediction was widely head, and relied on two non controversial ideas: income effect and substitution effect. Higher hourly wages make working more worthwhile, so people work more; Higher overall wages allow people to trade work less opt for leisure. It also relied on efficiency and gdp growth predictions which did really come true.

The orthodox reasoning for why the prediction failed is basically: We invented all this awesome new stuff. People prefer to work more, and buy more of this new stuff rather than work less. I don't believe this holds up, but it's what I was taught at uni.

Anyway... my point is that looking at the history of employment, it doesn't seem like these "economic" (in the literal sense) explanations have any predictive power. Actual changes in working patterns seem to be governed by "outside factors." Women joined the workforce. Children exited the workforce. People go to uni more. Retirement became statistically more common. Laws change. Norms change. Culture changes. Those things do affect how much we work. Economic factors like efficiency don't.

Norway is a small-sih country, and often an outlier, so IDK if it makes a good example. That said, I imagine that these changes in working hours were caused by rule changes: labour laws, union demands or somesuch. They aren't economic.

My point is that the model of the economy and the model of a worker used by Keynes to make the prediction, and by most commenters on the topic since are clearly bad models.At the margin, it doesn't even make sense to most workers. We (most of us) don't choose our work hours. We don't work 8% less because 92% of the money is enough. That marginal choice doesn't even exist. We work a job, and job hours are defined by convention.

Efficiency, GDP growth and such, over the last 91 years, haven't affected the number of hour we work. Work hasn't been static. It's just governed by other things.

If you met Keynes in 1930, you would be right to say "No. How rich we get, how technologically advanced or how productive our industries are will have no effect on how much we work...." You would have been correct. Keynes, and every economist from austrians to marxists would have been wrong.

Even today, after the prediction has long-failed empirically, economists have a hard time facing this.

http://www.econ.yale.edu/smith/econ116a/keynes1.pdf
Sounds like someone should run some randomized trials of shorter school days in winter.
Ten years ago, when I still worked in consulting, all my clients (large institutional companies) used Oracle and they'd say they were willing to pay the premium because Oracle was 20% faster than everyone else.
It's a demo of a Google library:

https://github.com/google/tf-quant-finance
I get some serious eastern Germany vibes from this. Next thing after capital controls are human capital controls aka walls and guns. A country should not try to fix symptoms like this, there is probably some cobra effect biting you back
this is insane.
I think its more likely to prevent capital flight by the middle classes than the rich. The rich always can and always will circumvent legislation anyway and dont need bitcoin
I really don't think these types of restrictions will succeed in western countries when you have people like Elon Musk and Jack Dorsey heavily involved.

If crypto only had the underground attention it had 5 years ago, maybe.
Interesting that you propose their success is based on the value fulfillment cycle which seems like something I would be far more likely to hear from an mba/pm than a software engineer.

IMO, the answer to why the biggest companies tend to be started by software engineers is far far simpler and something you can find in your ordinary econ 101 textbook. Your standard natural monopoly is one which has high fixed costs and low marginal costs such that the first one to dominate the market can usually sustain that because their ongoing costs are low while any new entrant has to pay down the high fixed costs to enter the market. While usually associated with utilities, software matches that pretty well and software companies tend to be started by software engineers.

Writing software (the fixed cost) is extremely expensive as you need to pay a lot to get good engineers and you need a ton of them to handle the complexity associated with the largest markets but once you have written the software, it is relatively cheap to run (the marginal cost). Once one company starts dominating a software market, they can amortize the fixed costs across the greatest number of users and continuously invest to make their software continuously better such that it becomes almost impossible for a competitor to catch up.

You can see this today with the cloud as AWS rakes in billions in profits because they have the most features, biggest head start, and most IAAS revenue while the other companies lose billions (5.6 billion for google last year for example) trying to catch up.
The original author of the Mach kernel was the chief of software at NeXT and Apple for some time, so you can at least get up to reporting to the CEO.
Ok,that's fair.

But I don't accept the smart fortwo as a typical small car.

If those are its numbers, then its a horrible car, both in terms of mpg and everyday practical use. It looks good as a quick city run around and that's it.

In Europe, a typical small car might be a Toyotal Yaris or Peugeot 208, both hitting 70-90mpg

https://www.carbuyer.co.uk/reviews/toyota/yaris/hybrid/14351...

https://www.topgear.com/car-reviews/peugeot/208/owning
I disagree, I think bribery would be cheap and legal. The value of the 40 year future payoff would be tiny compared to the value of getting what you want now.

You might be able to reduce this issue by issuing 1000 LPFs, giving politicians only 1, and making rules that they are only allowed to sell on the public market, not in a private deal. Then in order to bias the market you'd have to spend 1000x what the politician will receive.
DARPA Autonomous Vehicle Urban Challenge: Final Event Highlights (2009)
Finally, some sense.
Bitcoin is ridiculous and encourages global warming. Basically fueling global destruction with greed.
Governments needs to issue their own crypto currencies backed by central banks and make it illegal to privately issue coins. There are many cases in history printing money by groups against the states and it usually ends badly.
I'm using it Mozilla, so move the option itself if you want to satisfy your UI designers but DO NOT entirely remove it.

This is how it looks with compact
https://i.imgur.com/MXppXq2.png
Searching for recent pastes. got any?
i need some help. my friends and me are doing a presentation on passwords and how important it is to use safe ones. for this we need a recent paste with some working account data. hit me up if ya got any.
How to Monetize YouTube in 2021
I've lived in quite a few countries around the globe. I prefer an absence of DST shenanigans, too.

(The worst is when you are living in Australia and are trying to coordinate with someone in the norther hemisphere like Europe or the US, then you have to deal with double the DST shenanigans.)
Four Centuries of Crises in New York
Sounds logical. I don't understand the downvotes.
Why shouldn’t both be able to?
Since 2013, the price of Bitcoin has increased 600 fold.

Neither the global money supply nor inflation has increased by 600 fold. No other asset class has had a 600 fold increase in this environment either. Not equities, not gold, not commodities.

Yes, every position is more or less speculative, but BTC is pricing in tremendous future potential that needs to be realized to justify the price.