skysight-inc/HackerNews huggingface dataset:
A high-performance io_submit()/O_DIRECT implementation looks similar to a more explicit reimplementation of mmap() and friends, so the performance does not come from the API per se but what it enables.

The primary difference is that manipulating/measuring the fine-grained runtime internal state of mmap() is difficult/expensive, whereas with io_submit() you have almost perfect visibility into and control of the entire internal state of your ersatz mmap(). With io_submit() you never block on page faults or write backs, since your scheduler explicitly controls when they happen and knows when they complete. Admittedly there is a large implementation gap between the io_submit() APIs and a high-performing mmap() replacement.

Throughput in database-y software is largely driven by the effectiveness of the scheduling -- doing exactly the right thing at exactly the right time. The fine-grained awareness and control of your instantaneous disk I/O and cache state makes it possible to build efficient schedules with io_submit().

With mmap() you are never entirely sure what is going under the hood and Linux will often decide to do suboptimal things at suboptimal times, or choose to ignore you -- most control of mmap() behavior is advisory only.
> Every time I come across Design Thinking, it just smells like bullshit - get a bunch of people together, give them post it notes and open walls. IBM’s DT website does not help nor do videos on YT.

Yeah, it definitely gives off the vibe of "buzzword filler we can use to hock consulting services and conferences for clueless execs".

The core of the idea seems to be fine - put the user/consumer first, accept that you won't know for sure how they'll react until they start using your product/service, and then iterate quickly based on feedback.

But that's hardly rocket science, nor does it justify the massive circlejerk and hundreds of breathless blog posts hailing this seemingly radical discovery.
Schedule a visit with the Emacs psychiatrist
Detox – Gray Box End-To-End Testing and Automation Framework for Mobile Apps
> (extreme "dogfooding")

More like grabbing your dog by the neck and pushing its snout into the food bowl; many of these merchants solely exists due to Amazon permitting their existence, with the highly dependent relationship that entails.
Show HN: Own a space on this website for 100 years, showcase anything
At the bottom of the page we find out:

> Summary

> The Blockchain Transparency Institute released a report claiming a large majority of cryptocurrency exchange trading volume was fraudulent, based on “wash trading.”

> The BTI itself is not an easily traceable entity at the time of writing, and their methodologies for compiling their reports are kept under wraps.

Seems strange to have an organization that advocates for transparency but doesn't practice it itself.
The article talks about barriers electric bus expansion after 2020 when the federal government is scheduled to eliminate subsidies.

However, the buses are going to get cheaper because battery prices keep falling. In the not-too-distant future they will be as cheap as diesels. I think the government is eliminating subsidies because it thinks the expansion is going to continue anyway.

Then there is the problem of charging stations for taxis. But electric car sales in China are exploding, and more and more stations are being built in all the cities, so this is only a temporary problem.

The big thing Americans should be worrying about is that electric buses, autos and trucks are going to take over the world market starting around 2023-2025, and it is looking like China is going to dominate.
> Ah, the “little people” of multi million dollar inherited homes and land really got some justice here.

The 'little people' referenced isn't the home owner. It's the community in San Francisco who lost a piece of notable architecture.
I just wish they cared about environmental preservation as much
Could you give an example for when this has been a problem? I've done quite a few embedded projects and have not encountered any to date, though I'm not too old to learn.
Changed from https://techcrunch.com/2018/12/16/3d-printed-heads-unlock-co.... Thanks!
Try that with Broadcom and get back to me.
Colin Kroll, Co-Founder of HQ Trivia and Vine, Dead at 34
Cool, I just realized they also used a 1GbE card in the perf test so they maxed it out. That would be pretty neat if it scaled right on up.
A TI-89+ is more powerful than the computers used in the Apollo mission.

> Miniaturization and flexibility come at a cost.

Companies have little to no incentive to update software for older products unless there are lucrative support contracts. This has been the case for decades.
How about, if you are in the car that is going to kill people, you die first because you made the choice to get in the car, but the poor person on the sidewalk wasn't part of that choice?

I get throwing in animals and the car should not avoid animals and kill people. Heck, we have people who do that and end up killing more people just because of their poor judgement.
If I remember correctly, the key case study in Change By Design (that started he whole Design Thinking movement) was Nokia Ovi. So even ‘might work’ needs to be put into a time bound context. At the point when Brown wrote the book it was ‘working’, and there were claims in the book how Nokia is reinventing itself driven by design thinking, but then the whole ship sank soon after.
Not to be missed Lights and Shadow
Deep work, the book, is along similar lines.
Previous discussion:

https://news.ycombinator.com/item?id=18690873
The Soviet Ampulomet
[Python 3] Argson: import and manage arguments with defaults from JSON files
I wrote this simple wrapper for argparse because I wanted more flexibility in managing and writing arguments for my programs. Just recently I mustered up the energy to port the code to a standalone module and publish it. I think this is sufficiently neat to may be of interest to some.

What you do is provide an arguments.json (required, will raise an error if module is unable to open the file), defaults.json and self.json (that will configure the text when your program is called with '--help'), call argparse.parse_file_and_arguments() and the module figures out the flags and returns the object with defaults and inputs parsed.

All default configurations and directories are documented in the readme.

You can programatically change defaults.json to match environment needs.

There is more detailed information and documentation in the pypi project page, as well as several examples in the github page showing configuration effects.

Everyone is welcome to contribute too.
Thanks! Hope to hearing from the community
No one that lives anywhere near this community is a "little person". The woman that lodged the complaint is likely very, very wealthy as well. Hence the previous mocking (and accurate) comment about, "multi million dollar inherited homes and land..."
Unfortunately Mosh doesn't support native scrollback. The alternative is Eternal Terminal [1]

[1] https://mistertea.github.io/EternalTerminal/
Seems like this depends on who you ask? (https://techcrunch.com/2016/07/02/andy-jassys-brief-history-...)

> "It began way back in the 2000 timeframe when the company wanted to launch an e-commerce service called Merchant.com to help third-party merchants like Target or Marks & Spencer build online shopping sites on top of Amazon’s e-commerce engine...At that point, the company took its first step toward building the AWS business by untangling that mess into a set of well-documented APIs."

> "The internal teams at Amazon required a set of common infrastructure services everyone could access without reinventing the wheel every time, and that’s precisely what Amazon set out to build — and that’s when they began to realize they might have something bigger."

> As the team worked, Jassy recalled, they realized they had also become quite good at running infrastructure services like compute, storage and database (due to those previously articulated internal requirements). What’s more, they had become highly skilled at running reliable, scalable, cost-effective data centers out of need. As a low-margin business like Amazon, they had to be as lean and efficient as possible.

> "It was at that point, without even fully articulating it, that they started to formulate the idea of what AWS could be, and they began to wonder if they had an additional business providing infrastructure services to developers."

From The Everything Store:

>"Groups within Amazon were told to use AWS while the services were still immature, a demand that led to another round of consternation among its engineers." (Page 221)

I guess we could say that AWS's first customer was not necessarily Amazon, but the team and infrastructure predated AWS, and AWS was used by Amazon internally.
Heh I uninstalled reddit is fun a while ago to limit my procrastination. Worked well. But I reinstalled after about a week because I search for things on Reddit via Google regularly.

Reddit has some disturbing dark patterns going on.

You can't view a page on their site without being nudged to use their app. And you're asked every single page view. Like take a damn hint please.

I'd be ok with the asking but they use different popups with the "no, go away" answer in different places with different wording.

This is all exasperated by AMP, I have to click the amp banner twice to load the real url, this then prompts to open in reddit is fun. Prompts because I want this to happen only sometimes.
One problem is that historically it somehow turned out that poorer, blacker people tended to be the ones in the way of big transportation projects. A lot of the backlash has roots in real abuses.
I would argue the difference is that the products that unilever and coke make are already relatively low margin, low price variability products, such that there’s not a lot of opportunity for them to undercut amazon. Similarly if I have to go to coke.com to buy coke for a 2% savings vs just buying it from wherever I’m buying other stuff from, it’s not worth it to me.

Electronics manufacturers are dealing with much higher ticket items, where consumer price expectations are highly variable, and are comparatively infrequent purchases. It’s a totally different ball game.
Does anyone has experience with pre-rendering angularjs? When I post my site on twitter I get tags like {{title}} in the tweet. I've seen some services that pre-render (SaaS) but I'd prefer an independent solution.
Historical preservation is stealing from the future. (In this case, it’s stealing from the future in order to preserve an ugly house dominated by a garage door for posterity. The owner here did a public service.)
Good thinking. I think it's still possible to add text by faking the score, though. Sending a string literal containing a hexadecimal number that can also be read as a word (like "0xdefaced") one could put a lot of stuff on there, besides the obvious possibilities everyone can write on a calculator display.
Behold California, where you can’t tear things down and where you definitely can’t build them[1]. A shining beacon of good government for all of America.

[1] Except a decade and your first-born in legal fees later.
Best advice I ever got is to never listen to other people's advice. They're usually wrong.
In coporate enviroment code review is mostly abuse for political reasons and useless.

If there's seniors who think their coding style is better, its preferred that they provide sample codes you can follow.
The message of this article (and the rest of the site) seems to be: Things you do will have unintended consequences; you cannot predict these consequences; they will be bad; therefore you shouldn't do anything.

I think you might be bringing that interpretation to the site. At least, reading the linked article, I don't find it there explicitly. Maybe you are taking the "Don't Touch Anything" title too literally? The author speaks positively of the attempts to reintroduce beavers to Scotland, and seems cautiously optimistic about the attempts to eradicate the accidentally introduced brown tree snake from Guam.

Looking at some of the other articles on the site, I see a message akin to your correction. For example, instead of saying "don't do anything", this article is about how "bounty" programs should be run differently to make them more effective: https://unintendedconsequenc.es/the-cobra-effect-redesigned/. His recommendations sound about the same as your criticisms.
If the system was found to have a security flaw, that would be even harder to fix in vintage hardware.
Crash course on Stanford's D.School page:

https://dschool.stanford.edu/resources-collections/a-virtual...

Juul serves as a foundational example of design thinking. In the words of the founders, both grads of the Product Design masters program, the concept was not to create an "electronic cigarette" but to annihilate the concept of cigarettes altogether in favor of a true 21st century innovative delivery system. Regardless of your position on the societal ills of underage nicotine dependency, it's a fascinating case study to see how a niche product (Plume, I believe it was called?) for loose-leaf cannabis and extracts dubbed the "iPhone of vapes" evolved into a $15B household brand.

How Juul, founded on a life-saving mission, became the most embattled startup of 2018

https://www.fastcompany.com/90262821/how-juul-founded-on-a-l...

I think the real skill involved is Visual Thinking. Good old fashioned pencil and paper flow state ideation. If there is one practice I wish I had spent more time acquiring it would definitely be illustration / drafting ;)
This is false. You do not get Amazon rates for shipping using SFP. I've used SFP and have talked to many sellers that do as well.

You might be confusing this with onsite, where you convert a warehouse and give Amazon much more control over it and get better rates.
I hope he appeals. You can't create an ex post facto covenence.
> The original system was programmed by a high school student in the ’80s, and he’s the only one who knows how to fix software glitches. Luckily, he still lives in the area...

> It’ll cost about $1.5 to 2 million to replace the Amiga...

Hope this "kid" is getting paid for his work.
I've noticed that Walmart is doing the same thing - some items can only be ordered in bulk or in store.

This may lead to a resurgence in visiting stores for people that don't want to order in bulk
Just use IRC ... the problem with writing down all ideas and all discussion like with Git issues or a forum is that the few good ones get buried in all the shit. With IRC you can only have one or two discussions at the time, so you won't have the problem of following 30+ simultaneous discussions. IRC is a form of grinding, after some time, the community will have reached a consensus, and all arguments for and against something will be known by most regulars, so when someone new joins and say something that already has been discussed a thousand times, one of the regulars can say that these are the trade-offs and this is why it has not been implemented. Good ideas or important issues will be repeated over and over until they are either implemented or fixed, so prioritizing issues becomes natural.
"It's just as easy as SSH!" and "Ok, set up your iptables rules...." do not go together. Wireguard might be easier than OpenVPN, but it's still prohibitively difficult to set up, and especially to use in a client computing scenario (i.e. I'm on a desktop machine, and want to connect/disconnect this VPN frequently)
Mostly a matter of MOC. If you're a hobbyist that definitely isn't going to fly. If you need a few million chips then you're going to be able to make a deal.

The problem is that chips like that are about as hacker unfriendly as they could be. But in industry hardly any of that matters.

Being in the middle - hundreds to tens of thousands of units to ship - is the toughest place of all. No vendors will talk to you and you're going to be out of options if someone decides to EOL that chip your design depends on.

In that case I would advise to only use open hardware and to take the associated performance, size and power requirements hit. At least your product will live.
Ultimately, and in addition to many existing "innovation" or "time and motion" tools, Design thinking is in-depth analysis of the customer and desperately hoping that somehow a "new idea" comes out of it. Roll in billions of consultancy dollars.

Nothing at all to do with a professional design process however.
Well yes, if informing your users about the data collection you're performing to monetize your product causes the majority of them to revoke consent for said data collection then of course your business isn't going to work.

The post I was replying to seemed to imply that they were unable to ask for consent though, rather than that consent was unlikely to be provided.
How does that happen and why aren't neighboring rooms simply extended to take over the void? Seems like such a void would be glaringly obvious on any blueprint.
Most cities, you have to get a building permit to do any major renovation. Those permits tend to be pretty specific on what you can or cannot do - some even require the exact construction plans.

The article makes it sound that the owner went well outside what he got the permit for. If so - what in the world did he think was going to happen? Where I live, they get you for cutting down one extra tree than what you were permitted.
Scala maybe? It does both OO and functional.
> I think these trolley problems are a waste of everybody's time.

I agree. It's an angle that the media love but has little real world applicability.
My company easily does 6 figures in shipping spending across UPS and FedEx annually (on non-Amazon shipping). What we're paying for SFP shipping is at worst equal to, and at best 20% below, what our own rate tables quote.

YMMV, but given the variety in what Amazon merchants ship in terms of size, weight, hazardous/insurance status (not to mention shipping origin and destination), don't you think it's a tad glib to tell me I'm "confused"?
Thanks for reading through the other posts. I'm learning as I go on this project. Funnily enough I had earlier been criticized (especially in the Cobra Effect post) for daring to suggest that improvements could be made at all.
The city mandates that a person rebuild an ugly little house. Wow. I wonder if they'll also demand 2-prong outlets, asbestos, lead paint, and real fuses.

The neighbor who complained is a truly sour toxic person. She should be delighted to have the neighborhood improving. Instead she blocks it (which should be impossible) and creates a hostile neighbor situation.
Because you never leave Google's domain, thereby allowing it track you far more. Preloading is a minor detail considering how much privacy is removed.
Demolition of history is stealing the past from the future.

Goes both ways.

I'm glad various buildings and artworks have been preserved, even though they may prevent other buildings or artworks. I don't know that I would have pushed for this one to be preserved.
> In San Francisco, property speculators have made a game out of tearing down historically protected homes, then retroactively applying for demolition permits, and using the now-empty lots to build massive mansions that sell for millions.

https://boingboing.net/2018/12/16/unscramble-the-egg.html

I'm assuming that the money to be made is greater than the fines they have to pay for demolishing a historical home.
YouTube's “Rewind 2018” Just Surpassed “Baby” as the Most Disliked YouTube Video
I'd expect Coke to be a high margin product. Supermarket own brand colas sell for a tenth of the price.
They’re such contrived scenarios. 99.9999999% of the time the correct response will be obvious, usually “maximum effort braking.”
This feels like all the "innovation acceleration" programs coming from corporate in my my company. Combine a few buzzwords with the obvious. I think corporate types are into this stuff because they often kill any kind of improvement with the strict control they like to exert but then they have to do this stuff to make people more "creative". I am sure it's also better to have an open workspace so diverse teams can collaborate the whole day.
HackerNews loads instantly, as do many other sites. HTML works fine.

The problem is the stuff on the page, like ads delivered by Google AdX. Removing or optimizing those will make any page faster. No AMP necessary.

Slow sites are not a technical problem, they are a business and marketing problem.
Personally, I would prefer to batch my advertising. Ideally while my eyes were not on the screen.
...so it's just plain old thinking then.
It could also increase environmental impact if it creates additional deliveries to the same location that could have previously been combined. Like if now instead of just 1 delivery from Amazon, the customer is now getting their order delivered by Amazon, Coca Cola, Fedex etc. So now the delivery routes are duplicating coverage.
The article states that the tomb has been, "untouched for 4,400 years". Other articles (e.g., [0]) have explicitly stated that the tomb has not been looted.

[0] https://www.reuters.com/article/us-egypt-archaeology/egypt-u...
Wow I can't believe the comments on this thread. Do you not see any value in preserving our past for future generations? Are we stealing from the future when we preserve more notable old buildings like castles as well, or do you just not like the way this particular building looks? I think the criteria is notability, not aesthetics, for what it's worth.
> including LiveAgent in software directories

Many many years ago I used to produce internal business plans for a big ISP - and if you had to quickly justify a proposed purchase, you always needed some competitor analysis so you had to go find competitors to the product you are looking at.

Yellow pages don't really cut it, but a great source was "Analyst reports" where there would be some bubble diagram showing market share and competitors.

What I think i am saying is that in the B2B space, above a certain price tag, the best thing you can do is to identify the biggest dogs in your niche, and do all you can to have PR stories out there saying "$YOURCOMPANY, unlike competitors bigdog and biggerdog ..." or better still (but harder) "biggestdog, like competitors biggerdog and $YOURCOMPANY"