skysight-inc/HackerNews huggingface dataset:
> I'd say that the amount of knowledge and effort required to get to such a level of optimization is similar to optimizing Javascript.

Really? After reading all of the articles in this series (the original about porting to Rust, the rebuttal about optimizing JavaScript, and this one)?

I'm more familiar with Rust than JavaScript, but I found that other than the algorithmic optimization, the rest of the JavaScript optimizations were very non-obvious in order to achieve an effect that is entirely natural in Rust.

There's no need to be careful to avoid particular types of function calls, since there are no dynamic variadic function calls in Rust. There's no need to resort to using the equivalent of `eval` for monomorphization, it's a natural feature of the language. There's no need to do manual memory management by encoding values into typed arrays of integers; you can simply allocate vectors of structs, borrow references, and so on.

These are all things that had significant cost in JS, and needed to be worked around via some intensive profiling and knowledge of how JIT engines work, but just doing things naturally in Rust leads to a pretty much zero-cost solution.

It's true that if you want to really get into the nitty-gritty of micro-optimization in Rust, you need to learn some more and do things like profiling and inspecting the generated code to see what optimizations the compiler was able to apply or not.

But the Rust rewrite of source maps did none of that; they just rewrote it in fairly idiomatic Rust, and achieved a similar speedup to what a JIT engineer armed with a profiler, a deep knowledge of what affects how well a JIT works, and a willingness to do manual memory management in typed arrays was able to do.

> Having worked/interacted with a lot of people working with Rust on different experience levels, most of them (that includes me) don't have a deep knowledge of what Rust concept maps to a specific concept with which performance implications

What parts of Rust do you feel like you don't understand the performance implications of? I feel like the mental model for performance is relatively similar to C or C++, with relatively few things that would surprise you if you're familiar with modern C++ (in fact, a lot fewer performance surprises than modern C++ offers, in addition to the extra safety).
> I used to get angry at ads on my laptop, but uBlock Origin took my worries away. That left my Android phone

Firefox on Android supports uBlock Origin very well. It's awesome.
Moved to LA from Beijing, no comparison unless there was a forest fire going on.
Ummm... because it’s an O(1) array lookup not a search at all? Infuriating.

It’s read-only static data. Spending even 60ms on the response is ridiculous. Reading from files in blob storage... WTF?

Ctrl-F Redis - was disappointed.

Actually, even forget Redis. Pre-generate each of the 1 million possible HTTP responses and store in a string array. The 5 character hex is the index into the array. Write < 100 lines of Go to load the data structure and serve it. What am I missing?

This is like “Hello World” in those HTTP Framework Benchmarks that used to make the rounds every few months.
I'm reminded of why we have a need for soft, comforting things (Harlow's monkeys): https://www.youtube.com/watch?v=OrNBEhzjg8I
ScaleFactor, Inc. Is Hiring a Senior Software Developer
The conversion to LED based lighting really is the only thing that crushed Jevon’s paradox. Other energy efficiency standards were incremental improvements.

LED and its mass adoption was an 80% drop in energy consumption if you kept using the same amount of lighting.

It’s really, really hard to spend 4-5 more on lighting. Instead of the usual 4 hours of lights, you’d have to keep them on for 16-20 just to break even. So even if you kept lights a little longer, it was still a small blip in total energy.

So really, the LED really is the game changer that it was touted to be.
> You aren't "creating a bubble" simply by hanging out with people your own age or liking certain foods or cafes.

If that is not the epitome of a bubble, what is? I completely understand why someone might find themselves in that kind of bubble, and even like it that way, but that is not the same as the bubble not existing. I expect you will find that 22-30 year olds in SF themselves are a minority.
So nice to see progress in privacy but please someone explains how GDPR will help EU startups!

GDPR is inevitably going to hinder any new company forced to abide by it. So the next Uber/Wechat will first flourish in US/China/Russia and then come to the EU, not the other way around.

Entrepreneurs / investors also want their time & money to be used to build value first rather than solve yet another accidental complexity that is irrelevant until your revenue model is proven.

What am I missing? Is GDPR implementation cost marginal?
The Air You Breathe Inside your home, and what it does to you
How many industrial factories were serviced by the TVA 10 years ago vs today?
I had similar memory issues once and was able to trace it using valgrind, which afaik did something similar under the hood.
> Maybe it's just me but I don't want optional typing, or rather optional type hinting. I want static typing.

A ton of the community (and in particular teams using Dart at Google) felt the same way and the Dart team has been adapting the language to reflect that. Flutter uses Dart 2, which is statically and strongly typed.

> Garbage collection

GC is a nice value-add to the developer — most of us don’t really want to spend a ton of time thinking about reference cycles etc. but as you note, it has the downside of being a potential source of jank. We mitigate this in Flutter by timing the work we do building frames and scheduling small GCs during idle time. Code here:
https://github.com/flutter/engine/blob/8109be8e21604df249b87...
Or a self driving bus with children could get confused by a weird sticker and jump of a bridge, hit a giant truck stopped in the middle of the road.

We are speculating here, we need numbers to see if this self driving cars are better, how do we get this numbers though? Is it fair for the citizens of a city to be forced to be part of this tests?
Are we sure the correct number of incidents are reported from this tests? are the tests good enough for real world (are they testing in all conditions are avoid some streets or some weather to keep the numbers looking good)
What harms could happen to someone who is dead?
Isn't flatting electricity demand and actually reversing it what we have all been pushing for? Utilities should have been preparing for this to happen eventually.
It's a good question, but household consumption is also dropping, and it's not clear how would that be outsourced.
I don't and won't understand either. My job is ~5 minutes by car, 15 by bike and I did that on purpose. To spend 4 waking hours essentially unable to do anything other than listen to music/podcasts/books while putting up with other drivers and weather would drive me insane.

I have to imagine that there are extenuating circumstances that force people into these absurd commutes.
> You’re thinking about it in terms of pieces of information, but GDPR thinks about it more in terms of the uses of that information.

That seems sensible but is that really based on the actual text of the law or is this just your own summary?
I'm guessing you didn't read the linked article, at all, given that its been ten whole minutes since I commented. For real, bowing out of an unproductive conversation now.
They're called Air Showers - https://en.m.wikipedia.org/wiki/Air_shower_(physics)
> unable to use or sell vehicles they bought in good faith.

In Germany, there's a "right to sell"?
this is absolutely wonderful. having a log of what has changed on a element through javascript is awesome
uBlock origin can do this in advanced mode, as can uMatrix if you want more power
My point was that at Google, a single person should not be able to break things to this degree. The automation should roll it back automatically. This is, technically due to the drop in recall, a bug, unless it is overridden as a special case so it is not recognized as a bug. To break things this bad you not only should have to make the change to the code but you should also have to "sign off" on the dynamics flagged by the X% rollout test as being acceptable somehow.

So no matter what this paints Google extremely poorly -- either Google Shopping is one git commit away from going down completely, or they're placing shipping a hacky, poorly executed political statement higher on their priorities than potentially damaging the livelihood of those who are collateral damage.
A Variant of the Abigail Oath

I am hired because I know what I am doing, not because I will do whatever I am told is a good idea. This might cost me bonuses, raises, promotions, and may even label me as "undesirable" by places I don't want to work at anyway, but I don't care. I will not compromise my own principles and judgement without putting up a fight. Of course, I won't always win, and I will sometimes be forced to do things I don't agree with, but if I am my objections will be known, and if I am shown to be right and problems later develop, I will shout "I told you so!" repeatedly, laugh hysterically, and do a small dance or jig as appropriate to my heritage.

Original: alt.sysadmin.recovery
You reconcile it by accepting that they're two different business strategies with two different goals, and thus successful for different reasons.
The breach data isn't updated that often. It was 6 months between v1 and v2, so a long cache is totally fine. And then invalidate the cache if there is an update.
Actually - do we know if this is new? I found this from 2012, for example:

https://www.forbes.com/sites/frankminiter/2012/07/05/google-...

Edit: The Telegraph picked this up just now, saying Google are "looking into" it...

https://www.telegraph.co.uk/news/2018/02/27/wine-lovers-cann...
I'm not sure what you are arguing at this point. Newegg is not required to collect sales tax, nor are they incentivized to do so either.
The screenshot looks like the IDE is Visual Studio Code, but I only see instructions for setup with IntelliJ and Android Studio (Is that Android Studio? I've never used that before)
On illumos you can use libumem to replace malloc() via LD_PRELOAD, and then you can instruct it to do the same thing via the UMEM_DEBUG environment variable. It's a fantastic technique for catching these issues without completely destroying application performance.

See also: https://illumos.org/man/umem_debug
I think they fall in the SV Wannabes category.
I'm afraid that in the end, this is the only one that won't involve some compromise of our health:

https://www.theonion.com/health-experts-recommend-standing-u...
This is probably a very dumb question, but what exactly do you mean when you say you run bare metal servers at a data center?

I run a kind of similar setup sans Visual Studio, so I'm very interested in understanding your setup a little better.
I really wish that this was in Kotlin - a truly beautiful language which only won because of the community and not because of a large commercial enterprise.

Kotlin Native is already doing great.

If Flutter was in Kotlin, I'm willing to bet that it's adoption would be 100x of what it is right now. In addition, it gives devs a safe migration path from android to fuchsia.
When I was around 16 years old and started training with weights (just like what my father recommended me doing), and gradually increased the weights, there were joints and muscle groups in my body that just could not adjust. I had no way of improving triceps reasonably alongside the rest for pushups for example, and my right shoulder had the weirdest pain points whenever I moved weights with it beyond the initial smaller scales. So I eventually gave up.

Fast forward a decade, and my right shoulder still remembers these pains - I dunno if the weights caused it or some previous injury, but when I started training with my own weight, one sign that I was getting ahead of myself was that small pain. Now I can progress slower, but still I have to be very careful. Some of the exercises with heavy weights are just not natural for the body and simply exhaust/strain it more than it should. If you are experienced, you can work around these limitations, but I prefer body-weight exercises now.
My local utility has an online store for customers with amazing deals on LED lightbulbs (not as cheap as normal bulbs, but not as high as you see at a Home Depot). I've replaced every bulb in my house.
5 Eye Health Tips for Maintaining Long-Life Vision
Sure there is. Use a counting bloom filter.

In order to increase the count for a given key, you expand the key into your probe sequence, find the minimum counter across all of the probed locations, and then increment all of the values equal to that minimum value. One generally uses saturating addition to avoid overflow. If you want to support removing items, you actually increment the values at all of the probe locations, at a cost of increasing the expected deviation from correct counts.

To read the count for a given key, you generate your probe sequence and return the minimum of the values stored at the probed locations.

Note that a regular Bloom filter is just a counting Bloom filter using 1-bit counters.

In this case, I presume one would generate a counting bloom filter and then either store logarithm or quantile of the count, since there isn't a common use case for distinguishing between 4,096 and 4,095 occurrences of a given password.
have you watched KEDi? :)
I'm gonna have to call you on that one. Even high-end brand LED bulbs are so much more cost efficient than incandescent bulbs, it's the rational act to immediately replace nearly every single incandescent.

Whether you're interested in saving energy or saving money, you should remove and smash your incandescents.

Here's a blog entry I wrote with some of the simple math: https://blog.sense.com/articles/smash-incandescent-bulb-swit...
Absolutely, you're right. But as a singular entity, I'm a human, and an AI is "other". I know I perform better in 2 cases, and AI statistically perform better in 100 others, but I believe I'm more special than statistics in those 100 other cases, so I only care about the cases where I could have made a saving difference.

I guess I'm suggesting there's bound to be a (n irrational) paradox where everyone wants other drivers to be replaced by AI, so they themselves can drive safely and avoid the edge case accidents.
Craig Wright Accused of Swindling $5B in Bitcoin
To reinforce this, I was reading an article (can't remember the source now, unfortunately) about Caesar's switching to solar power and having to pay the Nevada utility ~$90 million dollars to offset the "lost revenue" to the utility.

Caesar's wasn't obligated to pay, but they chose to to prevent the utility from passing that cost on to the residential customers.
This article is talking about squatting as an alternative to sitting, not the exercise.

But to be fair, one should not skip leg day.
Iceland is a nation of ~300k people, so in the grand scheme of things that's a minuscule amount.
Hilariously bad, and it doesn't seem limited to "gun" alone.

This fails: https://www.google.com/search?tbm=shop&q=assault+rifle&

This works: https://www.google.com/search?tbm=shop&q=assault+rifel&
How about typedart? j/k.

I really wish there was a way to pass type information into JS VM so that code could be optimized better.
Aside from the pleasant aspects of not drowning in a monoculture, it also helps with keeping a better sense of how people think outside of tech. A balanced perspective is definitely better than just a novelty in my opinion.
At odds with this: Our local utility subsidizes efficient bulbs and appliances.
Oh, absolutely only my own interpretation based on the reading I’ve been doing. IANAL and I’ve only skipped through the legal text.
Understanding the Slim Framework
Thank you for your hard work.

Why no plans to support non-mobile? I think it would help increase popularity to have a full solution.
A bloom filter can be pushed to clients. Everything is static and could be served from a CDN. If there is a hit you could then do a secondary request to perform an actual lookup.
For passwords which have not been pwned there'd be a 100% savings on CPU.
Huawei MateBook X Pro
I think it depends on exactly how the question is framed, yes.

It's very useful to recognize when we aren't 'made' for something, because it implies we can get benefits from either avoiding it or supplementing our performance at the task. When we are "made for" a task, like walking for long periods or throwing objects with good aim, it's tough to improve on human baseline. (At least, not without serious side effects. There's a reason drugs to boost strength and physical endurance tend to be risky.)

But that distinction has to be kept separate from a values judgement. As I mentioned in another comment, "reading a good book" is something I'm not evolved to do. That might mean I should be prepared for challenges with the task (e.g. back pain if I sit for too long), but it's unrelated to whether I want to keep doing it.

The 'ancestral environment' stuff is likely to be easy or optimized-for, but that's not the same as being a better way to live.
It sounds you tried different scripts, tones, outcome frames, pacing/leading, pausing, emphasising key words, right people on the phone etc..?

Somebody liked the sound of your voice, however the sales numbers suggest something isn't lining up. Read your script out loud and record it with iPhone. You can pretty much sell anything cold calling enough people.

Could be the product you are selling, but sounds like there could more efficient ways to proceed if you ever start cold calling again.
> Is it just me or is the obvious biggest problem in capitalism that you always need to have growth?

Need and want are different things.

> I don't need investments that constantly grow in profits.

Until your rent increases or inflation makes your money less valuable or you have a child or you incur some unexpected expense.

Most people don't like living paycheck to paycheck because its stressful. Large businesses are no different. But just because they don't like something doesn't mean a capitalist economy is going to bend over and hand them something. Unlike a planned economy where two year plans forced wasteful industries to continue wastefulness.
Congratulations on your good fortune! In my case, I would either need two incomes or significantly reduce my family’s standard of living (live in a cramped apartment or townhouse) to move closer. Welcome to the Bay Area!

Self driving cars will be life changing. They can’t come soon enough.
I have the same miner blocker and it says it's never caught anything which I find interesting. Has yours?
For shy lazy people there's not much I'd recommend more strongly than lifting anyway.
HVAC, appliances, and “other” are the major drivers for electricity consumption in commercial and residential customer bases. In industry, 50% of the power is consumed by machinery.

I wonder if the decrease in lighting (driven by LEDs) is offset by the increase in electronics in commercial and residential sites.
What seemed absent from the article is the effect of flat revenue on both their ability to make bond interest payments (pay down debt used for legacy transmission infrastructure), and the potential of higher interest rates on rolling debt (like utility bonds.)

Debt could make utilities catastrophically vulnerable to disruption from sustainable players and battery makers, whose business models do not need to factor in those same debt/infrastructure costs into their energy prices.

Not only would it be cheaper than grid power, the utilities will have a structural pricing disadvantage because they need to incorporate their debt and increasing interest rates on older debt into their cost model.

Question is, what is the "it," that forces this change? Graphene capacitors?

Interesting how uber exploited a similar dynamic with taxis, where medallion debt was a significant factor in cab ride prices. It suggest debt markets might be a place to hunt for disruption opportunity, where carrying costs create a structural price disadvantage for incumbents.
You are right though, this is not a fight for either, I should reiterate that I think that STARTING with BW first to help your body adjust, and when you have an initial, flexible and durable base to work with, you can go crazy with whatever next goal you set. That is what I would prefer for myself I could go back in time, anyway :P
Where did you get this number?

All the studies I read pointed to a figure of 35% at most.
So it's like Xamarin -- there's UI for iOS, UI for Windows, UI for Android, but you can also use "Xamarin Forms" and have a similar appearance everywhere. But there's nothing stopping there from being a "React Forms" or whatever that does the same thing, is there?
> Matt Cutts, the Google engineer who designed SafeSearch four years ago, said his algorithm looks for a "relatively small" number of trigger words in a Web page's address. If one of those words appears, the SafeSearch algorithm puts the address on a block list and does not take the next step of evaluating the content of the site. "We try to find the best trade-off of precision, recall and safety," Cutts said. "People who opt in to SafeSearch are mostly OK with us being on the conservative side."

Matt “Cutts” your traffic since 2000. Though he’s not at Google anymore he was always emblematic of the stop-doing-that-on-my-site-(that-I-crawled-the-internet-to-put-you-on) culture at Google. Always taking a machete to a scalpel fight and always to the customer facing side first and never to the ingest and analysis side
You can test vehicles that don't have (internal) controls for a human driver (e.g., no steering wheel, pedals).
Well, to be honest, the MTA is kind of shit. We'll see what Andy Byford can do to elevate it from third world squalor to something functional.
this particle physics is just silly and it will never lead to anything but more tiny and faster particles which do inexplicable things. such useful science ... really...

Here's something actually interesting >.> but no one care about it....
http://aip.scitation.org/doi/abs/10.1063/1.2423240
The big circles around shanghai are a completely different beast than just "major road". Just like Paris "périphérique" is in a league of its own.

I've had a 6h foot walk just 2 days ago in shanghai (inside the first circle, travelling all around the city), and i can tell you the amount of dust i inhaled was nothing compare to what i'm feeling when i walk inside Paris. Now maybe CNY is a huge factor indeed, unfortunately i won't be there anymore to see for myself... All i can say then is that it's a great time to visit the city ! :)
Right because MTA isn't an old broken down mess (I read too many articles about this and I don't even live near NYC)
Linking to the project might make for a better submission, https://github.com/asyncanup/vasco, because the RAW PDF just downloads, and it's slides rather than something that people can try out.
What I loved about usenet as the author described was that the "barriers to entry" were pretty high. Because only researchers or highly technically competent people could generally gain access, the quality of discussion was really high. Less cat pictures, more learning. HN I think has retained some of the great spirit of the original usenet forums though... I hope we can keep it.
Formula 1 to launch F1 TV, a live Grand Prix subscription service
> Do you truly believe that gun ownership in the US could result in a bunch of citizens overthrowing the US government should it become tyrannical?

no. it's not about overthrow. it's about meaningful #resistance in the face of braindead authoritarian pepperspray cops without the spine to think for themselves.

gun owners aren't at the range practicing political science, and international business, and and learning to be lawyers (though some probably are)...

they're protecting their inalienable right to resist authoritarians