skysight-inc/HackerNews huggingface dataset:
Compiler engineer here. In practice, compilers for higher-level languages often have a lot of difficulty getting anywhere close to the efficiency of comparable C code. If you take Python, for example, you have to do a lot of inlining to eliminate various abstractions. Inlining is actually non-trivial. Yes, inlining, by itself, is an easy program transformation, but knowing where to inline to get the best performance is very hard. If you inline too much, you increase code size, and you lose performance. You have to know precisely which inlining decisions will pay for themselves, and your large codebase might have tens of thousands of call sites and a call hierarchy 40 functions deep. Python also adds the fun little problem that you can redefine any function at run time, which makes it hard for the compiler to know which function you're actually going to be calling. To complicate things further, inlining decisions affect other optimizations. For example, if you inline foo into bar, do you then also inline into bar the functions that foo is calling? Do you unroll the loops from foo into bar? Etc.

Also, there's an aspect that I feel is constantly overlooked, and this is the way that objects are laid out in memory. In Python, JavaScript, Ruby, you have a lot of pointers to objects. You get a lot of pointer-chasing as a result. This is BAD for caches. Each object you touch, each pointer you dereference means pulling in a new cache line. In C, you can design very compact and flat data structures. You can use 32-bit floats, 8-bit, or even one-bit integers if you want. You can have a struct within a struct, with an array inside of it, all without any pointer-chasing.

Modern CPUs are constrained by memory bandwidth, and it's very hard for any programming language to beat C on achievable memory efficiency. What's worse is that we have little to no academic compiler literature on automatically optimizing for memory efficient data layouts. It's an overlooked and understudied problem. You would have to prove that integer values lie within certain ranges (hard) and also do object inlining (collapsing objects into parents) which AFAIK is also hard and not done by any mainstream compiler.

So, yeah, keep thinking that a sufficiently-smart compiler will do everything for you. You will assuredly be very disappointed. Until we have strong AI, the sufficiently smart compiler is basically unobtainium. If you want efficiency, the best route is generally to have less layers of abstraction, or to only rely on compiler optimizations you know for certain will happen.
In this thread, we're discussing how to ameliorate the regressive aspects of sales taxes. Poor people spend most of what they have, so they are subject to proportionally more sales taxes than rich people who spend very little of their vast accumulated wealth on goods subject to those taxes.

The initial, flawed response to this issue would be to construct some "massive political and logistical complexity" in order to track everyone's income and spending and family situation and lots of other stuff too and calculate their VAT refunds based on some formula. The much simpler solution is to just give everyone the same amount of money. Poor people will spend some portion of it on sales taxes, and they'll use the rest for other purposes of their choosing. Slightly richer people will spend all of the UBI on sales taxes but will come out even. Slightly richer people will be able to offset some portion of their sales taxes. Really rich people won't even notice they got a UBI.

Perhaps you really meant that "massive political and logistical complexity" is required to get anything through the legislative process? After all, the more complicated it gets, the more places lobbyists can hide loot for their employers.
Don't Europeans average less than one per person? I had the impression that was true for a very long time now.
Or you can live in this house, which is >2k sq ft, on 0.53 acres, in a 10 rated school district and only 16 miles from SF

https://www.redfin.com/CA/Orinda/28-Tara-Rd-94563/home/19147...
The gold standard was the least of the Bretton Woods Era problems.

I also wouldn't call this new fiat regime with rising property prices and stagnant wages as a "net win" over Bretton-Woods, the gold standard was probably the only thing keeping the federal spending under control, and real wage growth up.
Isn't this a bit disingenuous though? If somebody had designed an algorithm capable of breaking RSA given supercomputer-level resources, that's still breaking RSA even if they may not be able to provide ironclad proof.
One Shot Keto Review (Feb-2021) – Scam – Pills – Side Effects
What's Known One shot Keto?

One Shot Keto may be portrayed as an extreme wellbeing supplement which can be considered to arrive at brisk weight reduction. As expressed by maker, the body weight decrease wellbeing supplement is built from natural fixings which cause weight decrease without negative outcomes.

https://www.bignewsnetwork.com/news/267992654/one-shot-keto-review-updated-price-side-effects-shark-tank-scam#google_vignette

http://wintersupplement.com/one-shot-keto-shark-tank-reviews/

https://medium.com/@jasonparkeri/one-shot-keto-one-shot-keto-review-100-pure-natural-pills-2021-offer-21a9e4f28846

https://www.bignewsnetwork.com/news/267992654/one-shot-keto-review-updated-price-side-effects-shark-tank-scam

https://www.nananke.com/cadet/general/one-shot-keto-breaking-news-no-1-weight-loss-pills-ingredients-2021
It says that it will make a copy of the object. However, that was not what caused the charges.

The charges were caused because (a) selecting all does not select incomplete multipart uploads, which are hidden in the interface, and (b) I believe the operation is not recursive.

If it created a copy of the object as described, the charges would go away.
Amazon makes a bajillion dollars a second. They could have made him happy and an evangelist for their customer service at zero impact to them. They just wanted to be dicks about it.
Good example of Poe's Law, I thought.
This is correct, but Loopring can only do basic trades. It can't run arbitrary Solidity code...yet. zkSync, that I linked above, is working on bringing Solidity and the Ethereum VM to zkRollups. They claim they can pull it off by this summer. Many DeFi projects, including Loopring, invested in zkSync as a result. I'm hoping they pull it off.
Even allowing that, it still doesn't come close to Ricardo's Law of Rent implying that

> all the bounty of our efforts will accumulate to the holders of fixed assets, namely land and human talent.
Give the phone number and zip of the store asking for the information. This way if there is data leak it is theroretically possible to track who originally asked for the data. This self-reference trick can be done with email address as well. The idea is that, in the event of unwanted data sharing, the consumer needs some way to know where the personal data came from originally.
Goto considered harmful is from 1968, so yes.
one of my problem why the email has copyright label of 2018, another issue the email from the recruiter received around 4pm today, later on replying, auto reply say the recruiter are on training, so to partial understanding if no good explaination is given.
Azure has the feedback forum: https://feedback.azure.com/forums/34192--general-feedback

It supports ranking, and you can even assign 1, 2, or 3 votes for a specific issue depending on how important it is to you.

Of course, this doesn't matter, because this is just where customers are told to go complain by support. It's like telling an upset child to shout at a wall to get their "feelings out".

A casual stroll through the list of suggestions will quickly uncovers hundreds and hundreds that would be a trivial fix, but has a huge impact on customers. Some of these have languished for years with either no feedback or "WONTFIX".

Azure Active Directory in particular has some shocking open issues.

My favourite is that you can't stop an App Service so that it stops spending money! You can only delete it. If you downgrade it to the Free tier, that removes features by wiping and corrupting you configuration. This keeps coming up over and over, and the response is: "We don't want to, shh, go away"

https://feedback.azure.com/forums/287593-logic-apps/suggesti...

https://feedback.azure.com/forums/169385-web-apps/suggestion...

https://feedback.azure.com/forums/169385-web-apps/suggestion...

https://feedback.azure.com/forums/169385-web-apps/suggestion...

The next best one is that the Portal team absolutely refuses to implement a default region option in the GUI, forcing 100% of their GUI users to click through that unnecessary extra selection every single time.

https://feedback.azure.com/forums/223579-azure-portal/sugges...

https://feedback.azure.com/forums/34192--general-feedback/su...

It's a fun page to dig through, some of the gaps are just so glaring as to beggar belief.
And even if you tweak your game to encourage more play and profits, you'd be well aware of that and have already made the decision to shrug off such criticism.
Yes it is?

It’s specifically citing a change inhospitikization rate based on the vaccine received.
> To be cynical about this: why do you expect it will increasingly be women capitalizing on women’s interests in new media (i.e. producing content with the aim of amassing a large female following), rather than men?

For context about this, the overwhelming majority of female-targeted Japanese fiction is written by females and with that I mean that I do not know of but a single example of a male auctor having published anything in the female demographic.

The reverse is not true; — there are a great many highly successful male-targeted works produced by female auctors, by which I mean some of the most seminal and influential works in both action and romance.

I'm not usually a gender essentialist, but there's a certain style of some Japanese media of which I often feel that without knowing for sure I can say with 95% certainty that the auctor is female, but I can never be certain of that the auctor is male.

I'm also not sure as to why it would be cynical. If anything, I would feel that it would be good for marketing if it were known that a male wrote it, because it's as said a novelty and many would want to see it because of that. Perhaps you believe that, as the article suggests, this is actually some kind of new development? Be not misled by spectacular news reporting, as otome games and fiction are a very old and commercially viable market rather than some new innovation. — it is certainly not some new development that someone realized this and there are thousands of such games, novels, strips, television series, audio dramata, and whatever other medium, nigh all of them written by female auctors.
Ask HN: How are “deleted” files recovered?
Recently, I accidentally wiped my entire USB disk and I could not view any files with my regular explorer. However, some recovery software were able to essentially view all the "hidden" files. How does this mechanism work? And is there any open-source recovery software where I can explore this topic?

Many thanks in advance for your help and support

Kind regards
Ask HN: How to model impact of interest rates on the Stock Market
Any one know of a tool or site or method to model what the VTI ETF or the the S&P 500 Index would be at if interest rates were 2% with everything else the same.
I don't have a formal economics/finance background and would like to plan a bit for the future
>> I'd call that computer science.

Yes it's Computer Science but it's implementing normative-ethics.

Why not provide the AI descriptive-ethics instead and let it decide for itself?
> If I copy your MP3, you still have your MP3 and haven't been deprived of anything. The world is actually just a better more abundant place now.

As a creator, there are many things I want people to copy, fork and share - all my open source stuff. Then there are things for which I expect to get paid for - my training videos. I'll be upset if someone started distributing or copying them for free.

As a creator I should be able to make that decision - not the consumer. Or you are claiming that digital goods are not goods at all.
It's already invalid to pass non-null terminated strings to functions that consume null-terminated strings.
For me it would be my only device (I never make calls anyway) if it had a full OS or, maybe, if iOS could run full dev environments without shooting/freezing background processes. Not seeing that happen though...
I'd agree with that if he had merely tweeted about RSA. However, he put the claim to "destroy RSA" in the abstract. Claims made in the abstract do need to be substantiated, but RSA isn't discussed in the main text at all.
It certainly does... it's the main reason fortran was often faster than C, isn't it? Aliasing prevents automatic vectorization, among other things.

Whether or not the compiler will be smart enough to autovectorize is a different question.
Please enjoy your imminent crucifixion at the hands of the wokesters. It's what they do to people who use logic like that.
Creating a copy was not what resulted in the extra charge. It's a warning about a completely different thing.
The satirical piece is actually well written.
I can't help appreciate it even if i used to make money just the way it criticised.
looks like a B.O.T , british offshore territories , #dontcare mode
It is not clever to build a completely reversible computer. No one wants to undo the computing to erase the disk after training a neural network for a month. Reversible computing is not always more energy efficient. The "proof" follows from the Bennett's time space tradeoff: https://www.math.ucsd.edu/~sbuss/CourseWeb/Math268_2013W/Lev...

As the coarse graining process goes, the ratio between computing time and garbadge space size increases exponentially. Erasing space is more energy efficient when E_compute/E_erase > N_uncompute/N_erase, where E and N are energy and number of instructions.

BUT, it is very likely to have a reversible computing device like GPU that can do part of works.
The key point is: most reversible computing devices CAN erase information, although with energy cost. We just need to switch between uncomputing and erasing at the right place. e.g NiLang is an eDSL that lives in function level, while most other reversible programming languages are standalone.
The presence of a warning or documentation does not mean there isn't a problem here. The word 'edit' implies it will apply to the selection, which is different than copying the item to the new storage class. This is akin to 'solving' a user interface problem with training instead of fixing the underlying issue. Amazon failed to properly incorporate human factors in their design.
Less Is More: Orthodox File Managers as Sysadmin IDE
> Is S3 marketed towards nontechnical folk like this?

Honestly, even as a quite technical person, understanding AWS is not that easy. I've been in the situation of trying to run a very small app with basically zero budget on AWS a few years ago, and the sheer amount of services I needed to involve and things that needed to look for where quite overwhelming. I can easily imagine a non-technical person getting completely lost in the interface.
> Yeah making PulseAudio play nice with JACK seems to be tricky.

for me https://github.com/brummer10/pajackconnect has worked flawlessly... but I've switched to pipewire and I'm not looking back !
I think the parent comment was intended to be sarcastic.
There were 9 deaths in France already among the people vaccinated. Saying it's zero is a pure lie. Whether it was caused by the vaccine, its consequences, or something else is unclear.

https://www.ladepeche.fr/2021/01/22/covid-19-neuf-personnes-...
Show HN: Front-end data stores/services as DOM elements
After 8 months and many messages, they didn't waive a single dollar.
Are the figures on Levels accurate? https://www.levels.fyi/company/Okta/salaries/Software-Engine...

Seems fairly par for the course?
That may be so but it can never be as efficient as not shipping it halfway across the world twice in the first place!

Of course that’s a big change, to bring those jobs back to the States of course with tons of implications and potential outcomes.
Reordering or hinting branches has virtually zero impact on branch prediction performance on modern architectures with advanced hardware branch prediction.

What's much more important for good performance is memory layout and good use of CPU caches. And in this area managed languages struggle a lot. For instance, every object in Java has 16 bytes of overhead for an object header (on 64-bit openjdk jvm). Or you can't organize objects in a flat array. Or there are some guarantees about memory zeroing which often lead to needless memory writes. Or you have to live with GC, which often wastes a lot additional memory and regularly brings unused but reachable memory to caches. Project Valhalla is going to improve some of these limitations hopefully some day, but don't expect the level of C, C++ or Rust performance.
I'd always return a list. Makes the client code simpler.
I did this years ago with the DNS name for a large CDN (think akadns.net but it wasn't Akamai) and also saw lots of interesting stuff behind it.

Its hard (maybe impossible) to identify identify scale, so I don't know if it was 1%, .1% or .0001% of traffic, but I was seeing hundreds of requests per second.
M1x benchmarks leaked recently, and it's on the same TSMC 5nm process node with double the big CPU cores and double the GPU cores and double the RAM.

https://www.tomsguide.com/news/macbook-pro-m1x-benchmarks-ju...

Quite a healthy bump.

Next year, we should see an M2 on TSMC 3nm with it's ~40% die shrink and either a ~25% power reduction or ~15% performance increase.

I would personally expect them to take the power/heat cut like they did at 5nm and bump up the core count once again.
OP here. The warning doesn't actually have to do with what resulted in the additional charge, unless I'm missing something big.
Just a personal anecdote, but it regularly makes a substantial (like 2x+) difference for me in tight linear algebra loops. It seems to be required if you want to coax clang to emit vfmad instructions for common C linear algebra idioms. Narrow use case, I know, but it can definitely make a big difference in some domains.
Wouldn't this be an argument to go in the opposit direction? If you are using high level functionality that you dont know the implementation details of, you are running the risk of unintended consequences.

I am a C programmer who have implemented string to number parsing for this very reason. I know exactly what it does and how fast it is.

If you do use code you didn't write, The chance of a standard library being poorly implemented, is probably lover then most other libraries, so picking a non standard lib as a grantee against bad performance seems misguided.
He means they should format their c:\ drive.
try attach your printer and print something (hint: no drivers)
A New Morality of Attainment (Goodhart’s Law)
In the US, (e.g. NYC) landlords do very nasty things to get their rent controlled tenants to move out so they can raise rent to market rate.

And then, if the tenants sue because of course that is illegal, then the public court records can be and are used by all the landlords in town to avoid renting to them, who would dare to exercise their rights.

I happen to know this, not because I've ever lived there or had firsthand experience or anything, but I once happened to see a court document on the internet, in which the judge considered an emergency request from a plaintiff to not release information about their lawsuit at an early stage, because it would prevent them from having anywhere to live.

In other words, this corrupt system is well known enough that the housing courts acknowledge it as a matter of course.
I'd agree with you if it was -3 months, but not noticing this amount money for 8 months? For all Amazon knows, this person was just out to scam them.
Tim and Sonia are not part of the trials being talked about
As far as I understand it, the operation creates a copy and deletes the original, which should succeed in reducing costs. What it doesn't do is delete incomplete multipart uploads and it may not operate recursively.
Hashed passwords. Not encrypted. Encryption is reversible. Turning the hashed passwords into plaintext requires hash cracking.
Shouldn't any sensible person see a red triangle with an exclamation mark and read the notice?
> Can you actually be faster than C?

Sure, in any language that provides more semantic information than C does. For example, D enables a "pointer to immutable data" type, while C does not. This can improve optimization.

On a pragmatic note, C makes it easy to use 0-terminated strings, and clumsy to use length-terminated strings. The natural result is people use 0-terminated strings.

0-terminated strings are inefficient because of the constant need to strlen them. When I look to optimize C, I find plenty of paydirt in all the strlen instances. D makes it easy to use length-terminated strings, and so people naturally prefer them.
Latin America developer livestream review-Huawei Developers
>If you don't feel like doing that, a good alternative is that you should not be definite about any of it.

I can be definite about anything I want. Additionally, how do you know I haven't already looked at the enormous amount of research?

Either way, the research supports my views in a pretty definitive way.

I'm just saying that game genres should cater to the definite biological differences in interests between men and women.

Do you disagree? Fine. I accept your disagreement. Let's agree to disagree and not let this turn into a gender flame war. I'm not going to reply this thread.
The first DIGIX Lab in APAC opens its doors in Singapore -Huawei Developers
Ah - yup, was confusing the plan with something that had happened already. Apparently the rover will drive to a better takeoff site, then go through that process.

But the helicopter will, indeed, be expected to survive on its own, not even landing back near the river.

https://www.scientificamerican.com/article/the-first-100-day...
Shopify is larger than Royal Bank by market cap. Kudos to them.
Boosting the performance of virtual machines with Jump-Start
Event Review:Online Awards Ceremony for Huawei Developer Day Contest in UAE
Reinfection due to mutation is only a problem in the absence of vaccine. Once you vaccinate an entire community, mutation there stops because transmission stops...
as long as you can sequence and identify new, externally introduced mutations to generate boosters using the same mRNA or protein subunit approaches as the original vaccines. Rinse and repeat for other communities.

> Anderson Brito, a Brazilian virologist at Yale University, said his lab alone sequenced almost half as many coronavirus genomes as all of Brazil had. While the United States has done genetic sequencing on roughly one in 200 confirmed cases, Brazil sequences about one in 3,000.

A year into this, sequencing is a problem that could be entirely solved, even in Brazil, by throwing money at the problem and organizing at the governmental level to hire and train the necessary people. One has to wonder how much damage Bolsonaro has done to the health and welfare of Brazil by discouraging a proactive response from the early days.