skysight-inc/HackerNews huggingface dataset:
Wow, pretty good. I mentioned that because the first source file I pulled up was a circle drawing routine written in assembler.

I wrote a routine to do it once for fun -- in python -- and it took me some time to get it right. I also had access to wikipedia and stack overflow, so I was able to get the integer method going with guidance.

for example, the middle of the main loop was:

x += 1
if d > 0:
y -= 1
d = d + 4 * (x - y) + 10
else:
d = d + 4 * x + 6

(btw I was doing this not to draw a circle as much as draw a moon)

But when I read the source code I thought... writing geewhiz basic would take a long time now, let alone 1975 when there was no instantaneous communication of acm papers and computers were rare and graphical computers rarer.
I am really curious how did you setup your browser to have kiwix be your default search engine? I tried ages ago to setup wikipedia to be a proxy so that anytime I visit wikipedia it will redirect to kiwix running wikipedia on my localhost.

Is it possible to have kiwix be default search engine in firefox?
This! X11 "synaptics" driver seems to be very high quality already. Personally I really like the great amount parameters that can be tuned. Why do we need jet another duplicated effort like libinput?
AMD is now doing new power saving system basically from scratch. I really hope it will be linux friendly.
No. Just geopolitical, economic, historical facts. Meaning, what actually happened. Sorry if it doesn't mesh with your "mud huts" worldview and agenda.
This hasn’t been a practical problem for me. I find that quoting my query almost always works for finding exact matches of strings, including those that include symbols.
I think you underestimate newbie developers. The nightmare that is dates and times is something that you learn from experience, not at university.
Before answering I am suggestion that you question why you ask this question.

To almost quote Paul Graham, "A good PR campaign doesn't make good product". Don't mistake attention for traction.

If it is to engage in discussions, depending on your background, it is often more relevant to have a few smart people around you to discuss topics than to get a random person opinion from the internet. Some can be very relevant, most are not. As an example, a few days ago I read people suggesting a person that was laid off because of the crisis to try day trading to generate extra money.

As per an answner to the question.

Personal experience: not the things I thought were the most interesting / took me the most time were the most effective ones.

I got little attention with projects that took me months. https://frantzmiccoli.github.io/Gimuby/ extensive genetic algorithms lib in Ruby and https://deepdancer.github.io/deepdancer-documentation/ dependency injection for Node.

Similarly, deep thought things, unless they are perceived as coming from an industry reference don't make it, like https://outofthecomfortzone.frantzmiccoli.com/journal/2019/0... https://outofthecomfortzone.frantzmiccoli.com/thoughts/2016/... or https://outofthecomfortzone.frantzmiccoli.com/tips/2018/04/0... ...

I have noted a love for the unconventional security related topics: https://thedarkside.frantzmiccoli.com/experimentations/2014/... and https://thedarkside.frantzmiccoli.com/tricks/2016/08/27/hack...

And also I was surprised for some very practical "how to X" no matter how simple it might be: https://thedarkside.frantzmiccoli.com/how%20to/2020/04/01/tw...
> Why not just create that simple, easy, customized-for-server apps language from scratch instead of making it by breaking C++?

They did that already with Go (one can argue that Go has very different priorities than C++, but Go matches "simple, easy, customized-for-server apps" perfectly).
For the interested, here is Gruber's explanation, correction, and apology.

https://daringfireball.net/2019/10/correction_regarding_an_e...

I don't think "I sincerely and deeply regret the error." is fairly described as "sorry-not-sorry half-hearted retraction".
How do you measure:

* multipliers, like infrastructure work or pipeline improvements?

* fixing of technical debt that may have no immediate benefit?

* projects of uncertain monetary value?

* projects with great short term value but so much technical debt that they crumble the company a few years later?

* moonshots that may revolutionize the company?

How would organizations like the entirety of Microsoft Research where some guy got to play with coloring problems for a long time and that just so happened to end up requiring him to solve a subset of the halting problem, which just so happened to have benefit in driver validation? (It’s going to take me a looong time to find that source somewhere on the internet.)
Well, managers who do that signalling are poor ones,
IMO. They are analogous to developers who split a single PR into multiple frivolous PRs to signal higher productivity.

Producing the results managers achieve over videoconference meetings takes more meetings (nothing as hoc now) and is physically tiring. Maybe that is what managers in your circle have been talking about.
The easiest way to do so might be a choice dividend: cash or stock.
That's not really an option for me when I debug C++ that is run on a Linux or Android TV. It also wouldn't be an option when I used to work with C++ that was used on Linux servers. That's a big chunk of C++ use.

While I have your attention, I see your comments here in C++ threads quite often. You seem to like the language and at the same time you have some experience with simpler languages like Oberon. My experience with C++ has been that people happily go on to create giant inheritance hierarchies, with no restraint for multiple inheritance to the point that it's so unmanagable that nobody knows where things go and what actually happens. With all that inheritance, they lose track that the same thing has actually been copied tens of times between different classes and now these tens of classes have code that is basically copy-pasted and who knows what benefit anyone has from all this inheritance. Google engineers are one of the offenders when it comes to overuse of inheritance. Then, modern C++ allegedly fixes some warts, but IME it introduces more of them. E.g. the initialization fiasco (I honestly can't say with 100% confidence what braces do when you initialize std::vector). Then there is this thing that when you create a lambda like so:

[&] { ... }

And then move it to a function which will create lambdas of this form, just with different captures:

std::function<void()> create_lambda(args...) {
return [&] { ... };
}

The second version will crash later when you run the lambda. Because it turns out that "[&]" just copies the stack pointer and isn't syntactic sugar for enumerating all the variables that you capture. This was non-obvious to me and it was really hard to track down the first time I encountered this problem. I think "[&]" is broken. Similarly, std::thread crashing in destructor when the user doesn't call std::thread::join, nor std::thread::detach. The ambiguity of syntax... I just don't buy that "modern C++" makes things particularly better. It sometimes makes them worse.

Don't you experience the same fatigue as I do?

EDIT: Oh, I just remembered another thing: at a previous job we discovered that MinGW's implementation of std::random_device just returned 0 every time. It is major facepalm for MinGW, but also for the C++ standard for making this behaviour allowed (yes, it's actually compliant with the standard). And even after it was fixed, there are still systematic issues with this whole randomness API. E.g. you can't actually seed it properly[1].

[1]: https://codingnest.com/generating-random-numbers-using-c-sta...
$15 is the starting price, affiliates can charge what they like.

If burgers were a thing people could use in a pandemic to reduce transmission and they let affiliates put a design on the bun and upcharge to get a sliver of profit I think this might be a fair analog.

I dunno, I think this is a missed opportunity for some good pr, or at least not look like they're exploiting a crisis even further.
so bizarre. why did they think that was a good idea?
My Dell XPS had less than 30% with latest Ubuntu (after powertop) :\
I've never even heard of a Salt Lake City in India before...

Wow,that is seriously messed up, because it's wrong even IN India, as they would of course refer to the city as Bidhannagar or just "Salt Lake" what with "City" not being part of the actual name.
This example illustrates how difficult AGI is and how far we are from it. We, humans, tend to take advantage of the context to make communication simpler and shorter. Just think about all the implications of this one simple question: what time is it in London? Or e.g. how can I get from London to Dublin?

If the person asking the question lives in Ohio, they may actually be talking about London OH (or Dublin OH). Some people in neighbouring states may mean the same, though they will be more likely to mention the state. However, how close should you be to London, OH even within the state to mean the Ohio one and not the UK one? How close is close enough? Is a few hours of driving close enough? A 3 hour flight? What if I'm roughly at 6 hours from London OH and 7 hours from London UK?

Further, if the person is a British expat in Ohio, especially if they are working for a multinational business (or not), they would more likely mean London UK. German expats, though? Russians? Or an Irish person who lives in Amsterdam having some relatives in Ohio US, looking to book a flight to Dublin. Etc. etc.

There are so many contextual layers here that even human assistants can occasionally get it wrong, and without the context the task becomes insurmountable for the "AI" algorithms. That is not to say virtual assistants are useless, just that selling them as "AI" is a big lie, bigger than even those who market these algorithms as "AI" think it is.
I get this problem all the time and I live in "the right" London so it is not just a "nearest London" thing.

It is not just digital assistants, but so many other things like Google maps, e-commerce sites, address auto-completes etc seem to assume that I want the North American one with a population of 300k that no one knows about, not the one that everyone has heard of with a population of 9 million.

I've always just pegged it down to the usual cultural-blindness that we come to expect from SV companies that there isn't anything beyond north America (e.g. "global launches" only being for USA, Canada, and Costa Rica etc) and that if your language is "en" then you must be American or Canadian with everyone else being funny foreigners that "we don't support, sorry"
Unfortunately jail time has an outsized effect, look at Hans Reiser. That incident pretty much killed reiser4, which was on track to become a very popular filesystem for Linux, despite having 10s of developers working on it.
If you ever cross the border from Frankfurt/Oder, the first thing you see in Poland is a giant Amazon building. Despite that building being there, Polish people still can't order at Amazon.
People always expect the 'obvious' interpretation, but sometimes it's difficult to define exactly what that means for everyone. As another poster said here, context is also a very important factor.
> lack of imagination on your part to NOT make that connection

I hope you didn't fire your PA after that AI demo!
I did happen to use that - but when you click on the topics it asks for a log in. I'm not well versed in the financial world so I was hoping this tool would be a little more transparent.
Added source to my initial comment.
He’s on Twitter!

https://twitter.com/forstall
For anyone who missed it, EA just announced that they will release the C++ source code of Red Alert 1. (It's not completely clear whether they will release all of the source.) [0]

You're right though, it's a pity this doesn't happen more often. As we've seen with Quake and classic DOOM, it doesn't even have to amount to a giveaway, as the game assets can remain payware.

[0] https://news.ycombinator.com/item?id=23249964
We had this in Eastern Europe for about 50 years. I don't recommend getting so dependent on a government.
This is really awesome, thanks for the post!
Maybe I'm blind, but I don't see any handling of out-of-gamut colors? At the very minimum I'd expect some naive min/max clipping to avoid negative RGB components.

Also no mention of what kind of RGB it is. From the xyzToRgb function it seems to be[1] sRGB but that should be mentioned, and also consistent throughout the library (in case it isn't).

[1]: http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix....
Agreed, but then it seems to me that the buybacks are kind of besides the point, and the real underlying issue is that they don't care about their workers (and/or aren't incentivized to), no? In terms of future flexibility / robustness to unforeseen emergencies, sitting on a big pile of your own stock doesn't seem that different to me from sitting on a big pile of cash, except in terms of the risk profile. (In contrast to paying a dividend, where they really can't recoup the cash if they need it.) I could easily be missing something though...
If I am not mistaken the gyroscope technique is also used in smaller satellites
It should go a bit further than what you're suggesting even. Any half-serious upload of a document or image now, less high stakes than a CB test, generally displays the file you upload for you to verify. Ie, "here's what we have from what you uploaded. Is this ok?"

The college board should have had a list of accepted formats, should have included instructions that they put in the tweet in the upload UI, and should have had an uploaded document verification process. This is solely the responsibility of the CB, and is deceitful at some level, by leading students to believe they were complying when they were not.
The main advantage of this is the ability to have insane amounts of cache memory.

For a benchmark like rendering, where AMD currently leads due to having more cores (each with its own cache), having 512mb cache might be a 2x to 10x in performance.

Its the same for deep learning where convolutions are heavily used and cache misses and memory bandwidth become the major bottlenecks.

Intel already has the world's best tools for analyzing and fixing pipeline stalls. But that doesn't help if you have to wait for the relatively slow main memory.

So this technology could massively increase the value of Intel's existing development tools and leapfrog performance per watt for rendering, a highly profitable market if you look at the CGI budgets of recent movies.
A similar thing happened with some football fans that made it to "Frankfurt (Oder)" instead of "Frankfurt am Main" for the Europa League's semifinals.

Judging from the published pictures [0], it looks like Google Maps may lead to the same result as Apple Maps for "Frankfurt".

[0] https://talksport.com/football/529808/benfica-fan-wrong-fran...
Linus is adamant about new versions of the kernel not breaking compatibility with userspace. The problem is with the rest of the system.
Almost nobody and it does not matter. IBM core business is not hardware anymore, they are consulting company like Accenture, McKinsey, Deloitte, etc [1]. The software & hardware company from the '80 and '90 died and filled for bankruptcy in 1999.

[1] https://www.statista.com/statistics/274823/ibms-global-reven...
Just a guess but when the author checks Siri on his phone it has access to GPS so is probably giving him the nearest 'London'. When he checks on HomePod it has no GPS so gives him the most common 'London'.

Although it's infuriating and we want these tools to be much better I'm not sure how Siri can really ever know which London he wants. A human assistant without context is going to need to make a guess too and isn't going to be right with that guess 100% of the time. It would make much more sense to request "London, England".
You're analyzing completely wrong data, that's why.

Look at the parasitic NGOs, their industry backers and corrupt government officials backing that nonsense and you may find an answer.
I had never used an Apple product before the company which I joined recently gave me a MacBook Pro. I am really surprised how bad the product quality is. The calendar notification is very random. Sometimes it fires, sometimes it does not. I have missed couple of meetings because notification popped after the meeting was over. Similarly the keyboard shortcut is random. Sometimes it opens the app, sometimes it does not.
The laptop also gets very hot if you are not sitting in A/C. Not sure if it is this specific laptop or it is a general issue
I've looked at code like that. It's amazing the kinds of rigamarole you have to do to prevent something waking up just because some a API call (like a status call) should be turned away instead of poking the chip.
The answer is one search away: https://en.m.wikipedia.org/wiki/FM_Towns
I'm responding to "You can't start with the technology and try to figure out how you're gonna sell it", not saying iPad is bad.

I was referring to the remarkable history of iPad, which was designed to have certain features, not designed for a particular use. Jobs started on it before iPhone, attempting to combine his and Ive's favorite features: simple, multitouch, thinner!, no keyboard, no mouse, no stylus, no buttons, lightweight, handheld (not used plugged it), great screen, etc.

It was not designed as a "solution" but as a great...thing...that would turn out to be great for...something. It was his baby, and he insisted that they keep working on it until they found a use, which they did: they turned it into an iPhone.

That was smaller (screen size) than Jobs had planned, so he made them keep going on bigger versions. They would be so wonderful, they would be great at...something. When they released the first one in 2010, they were intentionally vague about its target market. They presented it as maybe a substitute for laptops for productivity apps, they presented it as sort of a better Kindle for reading, as an artist's tool (for artists who fingerpaint), etc., with the hope that with such a great collection of features, it would be like the original LaserWriter and turn out to be perfect for some market.

Regardless of what that market would end up being, it did in fact start with the technology that two passionate designers wanted to exist for its own sake without knowing in advance what it would end up being used for.
> The whole point of asking is precisely because I dont know how many hours I have to add

You know, how about you learn it? Once. Instead of asking Siri or Google every time.

In other words, learn to fish.
As a CEO (and a manager more generally), part of your role is to build an efficient TEAM to deliver the PRODUCT, not to deliver the product by yourself ! Actually, a good manager is someone that is good at recruting, motivating and good better and more competent employee than himself.

As a manager, doing the work of your employees is REALLY REALLY bad because:

1) you spend time on something that has less value for your company than your role (finding custumers, developping market and product vision)

2) your employee will know that how good they are in their job, you will shot-circuit them just for your pleasure. So the best will leave and the others will be demotived

If you want to keep working on a product, your company has to stay small (let's say: less than 50 people) or your role has to be some kind of Design Architect (and you'll have to hire a CEO for all the business administration)
I also live in rural Japan (Nagano) and work remotely for an oversea company for the past 4 years. I second that having some daily overlapping hours with the rest of the team is critical. Once me and my family got the hang of the shifted hours, it's a comfortable balance.
Ask HN: Is there any tool to archive Hacker News?
I'm looking for a tool that will archive the whole of hacker news including the comments. I can't seem to find any tool that does something like this. Thanks
No. I only ever used it previously for things like logging unstructured API responses. Now I just shove that kind of stuff into PG JSONB.
"Nilay Patel asked this of Siri on his Apple Watch."
Am I the only one to be shocked by the situation? Isn't it the purpose of a watch?
>Btw, does anyone have good reading materials on this topic?

I had a slide deck somewhere from when I was at a broker trader and leap seconds mattered (they (can) happen around 10am in East Asian markets on Jun 30).

The moral of the story is: time measurements are fractally wrong, it doesn't matter what format/time system you pick, there will be a use case that breaks it badly. Local time + timezone, epoch, UTC, ATI, doesn't matter it will break somehow.
I'd say powertop is almost useless today. It was designed in an era when individual devices were loosely-coupled, you could simply identify the power hogs one-by-one and fix them. Today, power management is tightly-coupled with many subtle interactions and dynamic behavior. The most-common failure mode today: something prevents the SoC from entering a deeper sleep mode - you can't fix it with powertop, better to start reverse engineering firmware and Windows drivers... :(
note - I'm the project's maintainer

For what provider are you having issues? It's been complicated to support GovCloud accounts for AWS/Azure as we don't have access to any accounts. If you'd be so kind as to support us with this then please get in touch via GitHub issues (https://github.com/nccgroup/ScoutSuite/issues) or directly at scoutsuite@nccgroup.com.
>> And that's where things start to get fun, because there are actually several timezones in the UK if you include its dependencies.

I think the UK only consists of England, Scotland, Wales and Northern Ireland. The UK has some control over aspects of the dependencies but they are not actually part of the UK.
I just bought a Homepod because the price has been reduced to a more normal amount, I think it started at £319 so it being £200 in the UK seemed quite good. I have to say the sound quality seems average to me - I admit it produces a lot of sound and bass from it's small frame but I like a bit of top end sparkle and it basically seems to have zero top end at all.

As for Siri there is no point in asking it questions or talking to it for anything but changing volume and setting timers. A smart speaker this is not.

I suppose Apple need to stop being afraid and build a damn search engine that actually understands queries from real people. I mean whatever they are trying to turn queries into responses is simply not working.
> The fact that this piece of "news" is front page is really stupid. There was a BBC piece yesterday about the condition in the Malakasa camp in Greece ...

HN is not a news website in the traditional sense, even though "news" is in the name. How is this not obvious?

For what you are seeking you should go to reuters.com, you'd probably have better luck.