skysight-inc/HackerNews huggingface dataset:
> As the table reveals, every time this function performs a multiplication, only 8 out of 82 (9+30+28+8+7=82) instructions are doing the “real” multiplication. That's only about 10% of the total instructions. The other 90% are considered interpretation overhead. Once we vectorized this function, its performance was improved by nearly nine times. See PR #12543.

This is a misleading way to present this data. If I understand this correctly, most of the 90% "interpretation overhead" are time spent evaluating the operands to the multiplication, and this is also vectorized. So it's not just that vectorizing the 10% can give you a 9x speedup overall, although in my opinion the text tries to suggest this.

In any case, there must be even more going on here. The data being processed here seem to be Float64. On an AVX-2 processor like most of us have, you can only fit up to 4 64-bit floats into a vector register. This means that, even if your entire computation vectorizes very very nicely, you should only expect a 4x maximum speedup. Even if they have an AVX-512 server (they don't say) with twice the vector width, 8x would be the expected limit. In practice it would be considerably less because the processor reduces its frequency to avoid overheating on AVX-512-heavy computations. I'm not aware of hardware that uses even wider vectors.

So an end-to-end 9x improvement for the entire function here seems impossible to achieve using vectorization alone. I question both the measurement and the suggestion that vectorization is the only thing that changes here. Maybe they accidentally (? they don't seem to understand in detail what's going on) stumbled upon a much more cache friendly version of the computation they were trying to do, or maybe previously they caused the GC to interfere, or... something. But 9x due to vectorization of a Float64 computation? I'm not buying it.
>Moving software

Even if you have a perpetual license valid on any computer, it may still be impossible to move the license/software to different hardware, if you legally can't debug/reverse engineer it and pay someone to fix the incompatibility.
In NL these were electrical vehicles.
https://www.st.com/content/ccc/resource/technical/document/a...

https://www.sifive.com/soc-ip/dma-controller

These are far from "legacy" applications, I can assure you. Very little to do with the ISA bus, I can assure you.

The author neglects to mention how DMA works, nor discuss Stride size, etc.

Additionally, the topic of how the MMU integrates with DMA and the issues raised are merely glossed over.
https://patchwork.kernel.org/patch/10671331/

and yes, "address translation"... as DMA needs physical addresses.

to be sure, stuff like the R-Pi confuses people, as the CPU is a "device" to the broadcom GPU that drives the boot process/show, and hence "bus addressing" internal to the CPU...sigh.
They could fire them if they wanted, they'd only had to PAY for it. Harassing was just CHEAPER.
Quantum Bits: Rigetti Debuts New Gates, D-Wave Cuts NEC Deal
> knowing how to structure your tables matters

I think we can agree on that. What I don’t think we agree on is that storing all non-indexed columns as binary is a good idea.

There are a lot of non-obvious issues with storing blobs in your relational database.

I’m sure you can mitigate them, but ultimately I think it’s better to just not give yourself that headache.
Executives at a French company couldn't treat people as resources and fire at will because France has employee protection laws (sounds good but only in theory). So, the executives made employees miserable, intending to push them to quit. Instead, employees killed themselves. You want to fire people but you can't, so what do you do? Make them not want to be there anymore.

There is a case to be made that these employees would have killed themselves if they were fired. This is an important distinction because it's the loss of employment, not harassment, that lead to suicide.

It's crazy to think that there are people here who will read this and think that with this given, firing should be illegal and executives charged for manslaughter. You are thinking dangerously and need to study history. Or, you are French and there is no difference.
Implementation of the XY interaction family with calibration of a single pulse
Distinctions between Germany under Hitler, Russia under Stalin, or China under Mao are more or less sophistry. All produced similar results by similar means despite differences in details; principally, murder and enforced starvation of millions, and mass enslavement. China, anyway, did not adventure much beyond their borders (Tibet notwithstanding, and didn't), unless you consider that most of Chines territory was already under occupation.
Whether single-payment lifetime subscription (or what used to be called simply "buying the app") can be a sustainable business model or not in 2019 is an interesting topic.

But what I want to point out is that revoking something that was once promised to users, ridiculous explanations that the company didn't expect their product to last for so long, and finally deleting comments from their forum is a shitty move that Cerberus should be shamed for. As well as everyone who tries to do the same.
Which bring so much software poverty...
So many tasks have a state of the art accuracy only on tensorflow or only on pytorch.
So now someone that actually care about accuracy must learn both frameworks instead of one but in practice, he will just not use the state of the art when not available which is just plain sad.
I've had swingarm bolts not tightened on a scooter after a tyre change (one bolt come entirely free and lost on the road), a load of fairing clips missing after a service, steering head bearing notchiness not noticed on presale service, brake caliper bolts (!!!) not done up tightly enough or with threadlock so that the caliper came loose while riding - I only noticed because the ABS light came on.

More insidious things like final drive in scooters getting prematurely worn due to use of impact wrench for undoing wheel nuts; doesn't show up as much until you start getting grinding noises after 6k miles.

Like I said, delegating quality is hard, IME.

I always do brakes myself now, making sure to clean the pistons and not minimize time spent. I've done 3 final drive rebuilds on three different SH300s with new bearings because the parts cost about £50 but labour is closer to £1000, was recommended by a dealer to scrap (!) a £4000 scooter when the bearings failed the first time at 10k. I've done a couple of steering head bearings replacements too. These things don't save me time, but they do increase my connection to the machine I'm trusting my life with - I commute by bike every day.
Creative Selection - Inside Apple's Design Process During the Golden Age of Steve Jobs

https://www.audible.com/pd/Creative-Selection-Audiobook/B07D...
Also wonder about the proxy thing. Sounds like squid in offline mode would be broadly similar?

https://www.oreilly.com/library/view/squid-the-definitive/05...

You'd have to mitm ssl unfortunately:

https://wiki.squid-cache.org/Features/MimicSslServerCert

As for proxy switching, in addition to command line options, there's

https://chrome.google.com/webstore/detail/proxy-switcher-and...

Very convenient for using ssh as a socks5 proxy, for example.
If anyone is parasitic, it's people selling their software. They're all using a lot of free libraries and tooling to actually produce working software.

While I do agree that people deserve to be paid for their work, blaming others producing a superior product for free is not a sane worldview.

You should donate to free software, tooling etc you use and pay their developers a decent wage like that.

And if you're a maintainer for a free software, start to charge corporations for support. That's the only way you can convince them to part with their money.
If I were running the whole show, I'd introduce new laws that classify any private for-profit corporation with valuation above a certain percentage of the GDP as special entities that are not allowed to express any political opinion whatsoever. They would also need to accept additional auditing and transparency measures to enforce this. I'd set this limit high enough that only 50 or so companies need to do this at any one time.

I would set up a dedicated department whose entire job is to watch Google - and only Google - like a hawk. Same with FB.

Alas, I am not actually running the show, so for now I would just like people to realize that we're all in a big hole here and they should stop digging.
Having separate working groups make decisions on a single topic each doesn't work due to overlap. If the Committee of Environmental Protection and the Committee of Energy Production disagree about the correct amount to subsidize installation of solar panels, you need some way to arbitrate between them. Even if there's no overlap in topics, they'll still compete for their share of the total budget.

It's not like parliamentary systems don't have topical working groups already. If all members of a working group agree on a proposal and it fits within budget constraints, they can get it passed without much friction.

Huge senates voting the party line on topics they're unequipped to understand are the conflict-resolution process for when there's disagreement on a topic. Being affiliated with a party is a compromise where you vote with the bloc on topics you don't particularly care about in exchange for having the bloc vote your way on topics you do care about, but they don't.
The Kernel Change That May Be Slowing Down Your App
An SRE at PingCAP here.
Got it. Thanks! We found that using JS to toggle page visibility has some usability issues. We just removed the JS loading animation and will deliver content with good compatibility and progressive enhancement. Sorry for the issues with the display!
Wow that looks really useful, I did not know of this app. Did anyone here on HN use it successfully? Having a single app to allow navigating cities and buying tickets is something I have been wishing for lately (especially in cities where there is no way to buy tickets either online or via an app).
That was the case across the USSR. Really impressive reuse of glass bottles. Nowadays even the cheapest food comes in glass jars, not sure how that came to be. Nothing seems to be reused...
I Earn Up to $14,444 per Day Just Sending a Quick Email to People Who Visit
I put fixed sum to loan account to pay off the bank debt each month (amount may vary on some months, it's flexible so I can put 0 - 9999€ per month for example), then move majority that is left to "pseudo-savings" account which is only used to pay maintenance fees etc. and also 1-2 times a month to move spending money to everyday account (in case of theft i only keep small amount in account linked to debit card).
Vector instructions come at a cost, though — there’s implications on power budget and on thermals, so it’s very much a “just because you can doesn’t mean you should” piece of tech. Specifically, sustained use of AVX instructions on 256 and 512 bit registers will cost you a chunk of clock frequency even for all, so you have to pass the hurdle of having enough AVX instructions that the downclocking is worth it overall
You can check out the case studies from our users here: https://pingcap.com/success-stories/
I would appreciate it!
I use Citymapper extensively on trips to cities it covers.

It's at its best in London (where, IIRC, the dev team is based): there, it's a life-saver. It's also effective in other first-rank anglophone world cities, such as New York. I've found its coverage can be patchy/incomplete in some cities, presumably because the data sources they aggregate are incomplete or inaccurate: at its worst, it degrades gracefully to the state of an offline maps app with a public transit route-finder.

It has been around for some years and they used to integrate with Lyft: I think the idea is to tie into transit pass apps as a way to monetize their service.
> Trying to cut someone's tongue out will only make them double down in their beliefs.

Get the feeling many on all sides of every argument around still have no problem doing so.

Convincing others to change their views is difficult. Stopping an account from speaking anymore is trivially simple. The differential here leads down one path.
> So when you're saying that "No one forced these people to either work at the company or to commit suicide" – well, yes, they were forced because that's how everybody is raised in France.

That is very true.

It was even more true in national companies like France Telecom where it was a personal achievement for many to be there.

Often positions in these companies where even family thing, where your family except you to be part of when you are old enough.
Infinite scroll is an abomination and requires the JS the author wants to get rid of.

I prefer a page which loads completely and which I can search (directly or via Google)
At this point Python/Numpy is really the array processing language I prefer to use. You can even use libraries like Cupy to switch the backend from BLAS/LAPACK to Nvidia CUDA libraries, which makes it lightning fast, often improving performance by 100x. And the requirement for arcane runes in Numpy is much less than APL or J.

Also the various libraries and functionalities that plug into Numpy is countless and extremely powerful.

There's also https://futhark-lang.org/ which might be an improvement in writing array processing kernels.
I bought this book on Friday July 21, 1978 and learned how to program in LISP.
You use the turbines you have, and build better new ones. When they wear out, you dismantle them and replace with the latest model.

What is your alternative? Do nothing and wait for some future generation to do something? There always were excuses to do nothing, and there always will be. What is different now is there are not any future generations left.
That’s where the reduce/reuse part of the old term comes into play. Recycling was never meant to be the end-all solution. We need to reduce use of waste that is NOT easily recycled (plastics) and focus on using materials that are (metals, glass)
Most plastics become unusable when they are heated.

The simplest workable system would be to burn everything (producing electricity) and filter the metals from the ashes.
Could probably strip the tracking codes anyway. Someone linked to wwwoffle, check if that isn’t what you had in mind.
I think that Perkeep https://perkeep.org/ is also worth mentioning here. One of their latest tools is the one for exporting Google Photos: https://github.com/perkeep/gphotos-cdp
I live in Lisbon, Portugal. I use CityMapper with public transport to get around, and it is very good - I particularly appreciate the 'Get Me Home' button. Residents here can get a monthly pass on ALL public transport in the greater Lisbon region for 40 Euros, so I guess that helps too!
Interesting, I didn't know that.

Does this reach the point where the practice has a "cute" name over there, too?
>Free software is in this day and age not sustainable and using it it without contributing a dime is parasitic and detrimental to the health of the sw industry.

That is completely untrue. Merely using free software has no negative effect on it's continued development.

Even filing issues and bug reports are contributions if they are of high enough quality. And in fact, many projects allow you to buy support or new features for money.

>funded by mega corporations doing it to kill the smaller competition.

That's also untrue. Companies profit in a myriad of ways by providing their software as free software.

EDIT: to the flagged reply below:

- OpenJDK is currently funded by Oracle

- start with these: https://en.wikipedia.org/wiki/Business_models_for_open-sourc... and https://en.wikipedia.org/wiki/Open-source_economics
They don't. The reasons are frankly idiotic.

The first couple of comments as well as the very last one from April in that thread all sum it up quite well.
In the UK we get milk in those bottles delivered by the milkman. We leave the empty ones out as well to be collected.
You might find Yoric's comment above hard to believe but actually it's not uncommon. If you work in enough places over time you will come across this behavior.

There are two kinds of people. Those who achieve success in life by getting better at getting things done (and as a side effect, often having authority over others). Those who succeed by gaining power over others without necessarily getting anything done. In fact often they are incompetent when it comes to getting things done but highly competent at the worst kind of politics.

Usually the only people who can deal with the politicians are those above them. These people thrive where the top is weak. It's not hard to deal with them. The first sign is dishonesty. The way to spot this is to frequently do a deep dive. Go down to the people at the lower level and investigate why things went wrong (they always go wrong under these people)

If not these people will destroy that part of your business and drive out the competent people.

Of course this is why honesty in national politics is also so important. But in this case it is the people who need to drive these types out.
Lovely file descriptions, had a laugh :)
> The only reason you find the c-style version simpler is because that's what you are used to.

Well, yes. But we're taught infix notation early (x+y), and function application quite early too (y=f(x) - and in combiation (also note short-hand eliding multiplication): f(x) = 2x + 1).

I still find array languages to be too dense for me - but I do understand that they are simple from a certain point of view.
The thing that really worked for me was I only ever buy in person with cash. I almost never use my debit card in person. This simple thing changed my relationship with what I buy. Obviously my mortgage and other monthly payments are direct debit but unless the purchase is several hundred Euros or more I will pay in cash.

I always have €200 in cash on me which is enough to cover me at least a week. Then whatever I have left over at the end of the week I roll over. So if I have €60 left I take out 140 and transfer the difference into a savings account. I have saved a shocking amount doing this. It may seem strange but budgeting myself 800 for the month and only using cash has really helped me appreciate how much the money is worth to me. The short of it is on pay day each month I transfer 800 to my "cash account", I transfer the exact amount I need to cover my bills into my "bills" account (I also have a "buffer" of 100 in this account as a 'just in case its more than I calculated'). Everything else goes into savings. Everything.

Obviously some things fall outside the 800 cash allocation for example I bought a new coat a few weeks ago which was €230. I tried it on in store but bought it online as there was a discount I couldn't use in store annoyingly. However I have a separate budget allocation for key clothing items like coats and boots which I generally replace every other year. However I don't bother with multiple savings accounts anymore. I never found I benefited from the added complexity. If in a month or two I ruin my coat and have to buy a new one unexpectedly I will just take 230 from my savings rather than juggle things around.

I should say though that all of our expenses come from a single salary. Every month my wifes automatically goes into savings. Generally we never need to touch it. This is great for many obvious reasons but it also helps us (well me!) feel less guilty when I suggest we buy something we don't really need such as an OLED TV we got a few months ago.
The problem is, they usually sound like fanatics.
Actually, in most cases, it's not that difficult. You need to expect a fairly large severance paycheck, though.
Sure it’s sustainable. Of I can serve a user for $4 a year and sell them a lifetime license for $100 That’s a solid business so long as I don’t raise my costs or cut my prices.
Column access is way more cache friendly for most database computations, yes, as the values being computed are contiguous. They don't give the partial speedup for switching from row to column before they vectorised, it is probably significant.
I really, really, really don’t agree about how long it takes to Google. I’ve actively compared how long it takes. There’s no comparison. Emacs with fuzzy search is insanely fast and I can find anything within seconds. And google - it really isn’t that fast. You end up trawling through anywhere from 1-5 different sites looking for the exact right piece of information and the right context, then you need to scroll through them, evaluate the different answers because they end up answering different things, then you try different solutions because you don’t remember which one was correct. It all adds up.

I spent this year learning how to use Docker and I feel this was the perfect use case. A lot of obscure incantations to do things and the documentation is ... well, extensive. Unless you know exactly what you’re looking for and exactly where it is, it can take what feels like forever to find what you need, when you just want to keep working. Instead, I can refer to my notes within seconds for the exact pre-crafted commands that do everything I need, plus supplementary information about pitfalls and issues I’ve run into.

And the longer it takes, even if it’s just 10-20 seconds longer (and it’s usually minutes longer), the longer it takes to get back into what you were doing before. I try to keep context switches as minimal as possible, and google simply isn’t precise enough compared to a hand-crafted knowledge database with the right tools. Hell, since I use Emacs for nearly everything, I can pretty much switch to my notes immediately. I’ve reached a point where it really annoys me when I have to google, because I know how long it can take to find a workable solution.
git is pretty bad at handling large binary blobs. Good old timestamped directories with hardlinks (a la rsync --link-dest) probably works better.
>The only people supporting nuclear are also on the left.

There's some on the right supporting it as well. Not everyone right-of-center is beholden to the coal/oil/gas lobbies.

https://www.nationalreview.com/2016/12/conservative-case-nuc...
Agreed, I didn't mean to imply that this would be revolutionary. But people who care about policy shouldn't be told to just vote, they should be told about the other mechanisms of influence as well, which are much more rarely discussed or brought up in this way.
> IANAL

Yes, that is abundantly clear from your post.
Nice, I stand corrected, how does that limit of 22.6mb stack up to the big ones?
They serve the same purpose (optimisation). The advantage of ML is that you don't need to be able to define an objective function instead you just have a data set.
(also, I think most people missed your pun :) )
It doesn't have to be doing gradient descent on a neural network to be machine learning. You could easily generate small perturbations to generated routes if they didn't add much time and took the driver down an under-monitored road.
As far as I know, cellophane burns clean.
I did something like this a while ago: https://github.com/nspin/spiderman

I used the wonderful tool mitmproxy for both recording and serving.
Save your emotions for someone else man. At least, I can express my opinions in a non personal attack manner thanks very much.

https://news.ycombinator.com/newsguidelines.html
Pretty much everyone uses it in London. I've continued using it in Madrid with great success. It's generally very, very good in the cities where it is available.

This is a Google Maps complement, not a replacement, as Citymapper only does navigation within a city, so you can't plan inter-city travel. Also it's optimized for A -> B navigation, not so much for "city discovery", travel research, or more complex itineraries, for which I keep using Google Maps.