skysight-inc/HackerNews huggingface dataset:
You are absolutely correct. I do long distance bicycle rides through rural areas. When you've been riding for hours without signs of civilization (other than the road itself), a Dollar General that pops up in the middle of nowhere is a godsend. You CAN get fresh food and healthy groceries there at good prices. Whole Foods it ain't, but I wouldn't expect that due to the different income levels of the shoppers of the respective stores. I give Dollar General and related stores a lot of credit- they have found a way to thrive in underserved markets.

The author has apparently never shopped at a Dollar General or a Family Dollar, because she thinks that these are dollar stores, and she doesn't seem to know that these stores sell many types of products other than food. It gives her article the tone of uninformed snobbery- "I don't even know what these stores sell or for how much, but I know what is best for poor communities".
They could, but Apple did not release one.
Show HN: Firefox User CSS for HN (post your own and/or requests, if any)
The Police in the UK often say the most ludicrous things in statements, and the basic public speaking skills of the people they choose to put out is often very limited. They always look like they're caught in the headlights while trying to sweatily stumble through reading some words off a page.

I'm not sure what institutionally causes this, but it must be something causing it as it's always the same.

Remember when recently a senior Police officer in a statement just decided to call some extremely serious allegations they were looking into 'true' as if they had already had the trial and preempting the whole judicial process? I can't understand how you can accidentally 'misspeak' like that.
IPv6 Christmas Display Uses 75 Internet’s Worth of Addresses
Easy to change
Not an economist, but it strikes me that perhaps a better way than "making producers pay for the clean-up" (short of regulating their production in the first place) is to make users pay for the cleanup. If some sort of "tax" or "fee" on these items is passed to consumers, I'd bet we'd see less use.
Hell, I live in Seattle, and the $0.05 I have to pay to get a paper bag in the store (plastic is mostly banned) is enough to make me bring my cotton bag.
Not before plastering the faces of an innocent couple nationwide. I think they deserve reparation for this.
> On top of that, Linus is in charge of the project he works on and is allowed to run it as he sees fit.

The argument is not about whether Linus should be forced at gunpoint to adopt C++; it's about whether adopting C++ would be a good idea.

Deciding if something is good or bad is separate from deciding if it should be done or not. Nobody will stop you from e.g. putting pants on your head if that's what you really want, but we can have a discussion weighing the pros and cons of doing so, after which you can make a more informed decision if you choose (or not!) to listen to the feedback.
So, no generics available (templates are an option, but way to troublesome to use for that). That aligns with my experience, but mine is currently out of date, thus the question.
You can see this in effect in the Picasso AR demo at around 0:45 and 4:50
I feel the same with mice on macOS. This setting kinda fixed it for me, you can try different scaling factors:

defaults write .GlobalPreferences com.apple.mouse.scaling 1

You will need to logout and login after applying it though.
Bashas is now part of Albertsons which is one of the big grocery conglomerates in the US.
The A in RAII is for acquisition and it is about ownership, not allocation.

You can do exactly those things in C++ (operator new or allocators, T::T(), T::~T(), operator delete). The language just gives the tools to distinguish a bunch of uninitialized memory from an actual T which holds its invariant (if any).
I didn't manage to style the form inputs, which kinda stumped me (changing size and padding works as it should, while e.g. background color or border parameters do nothing, huh)

here's how it looks: https://i.imgur.com/l9FA7qs.png
Exactly, if flow batteries can convert a solar power plant to a base load plant, that would be the ultimate savior of mankind's energy needs.
Meditation That Is Purrfound
He would not need to register as a registered lobbyist if he was not legally obliged to do so.

What so absurd in this point???
Top Business Newspapers in the World
Abi2Api – A painless way to retrieve data from blockchain
Huawei's kit removed from emergency services 4G network
Its not as opinionated as rails/django but there's typeORM among others
There were riots in Baltimore a few years ago. The street gangs used it as an excuse to knock over every pharmacy, shoe store, and liquor store.

This destroyed years of work trying to get stores to build there. Among many others, Target decided it was no longer worth the risk and moved out. They also ended up cancelling projects in other cities, such as DC.

When a city is not competent at providing for basic things like safety and security, it becomes a high risk area, and many businesses will limit their exposure. Small dollar stores are a form of that. Vacant store fronts are another.
Organic Food and Fruits Template
I couldn't get to the article, but I'm fairly certain there are lakes and/or rivers in the world that are thoroughly polluted with plastic debris?
>Is it impossible to just write a .Net-native library with whatever an API

It's not impossible but the issue is whether it's worth the amount of effort involved. So yes, you can theoretically write the C# code in any way that makes a convenient API for the C# coder.

But when attempting real-world implementations, there are varying degrees of difficulty/maintainability of porting the C code to C#. You want to balance the tradeoffs of minimizing the C# programming code effort and maximizing the leverage of the original C source code. The effort continuum would look something like this:

- easy: unsafe C DLL with C# ADO.NET wrapper (the 'C' source code is mostly unchanged and is leveraged for highest reuse; this is what we have today)

- harder: straight C-to-C# port with extra C# code to provide an ADO.NET wrapper (an automated tool can attempt to transpile most of the C into C# which is followed up by a human programmer to manually fix/code the parts the transpiler couldn't; this effort was attempted in 2009 and the incomplete project was eventually abandoned)

- hardest: C-to-C# total rewrite where the programmer built in an ADO.NET api (or whatever API the C# programmer wants to expose). In this way the original SQLite C source is more of a "specification" rather than an input file to a transpiler.

The "harder" effort which wasn't even 100% complete was abandoned. It means the "hardest" implementation, while technically not impossible, is even more unrealistic for anyone to code and maintain. That last method of C# rewrite has immense costs and would fall further and further behind the original C source code in feature parity and bug fixes.

To answer your question on why there are no alternative implementations: it's because it's a lot of programming work that nobody wants to do.
Lobbyists are paid to present a preferred opinion, pretty much by definition. If someone is a registered lobbyist then their opinion should be held with great suspicion when it is anything to do with the subject that they lobby on.
I finally launched http://www.finewordclocks.com

I wanted a side project that wasn’t focused on income but rather scratching my creative itch. I am hoping to start selling more clocks though. So far I’ve sold one.

I’ve recently moved and now have room to produce at home rather than community maker space. So I’ve bought a decent cnc. I’m now enjoying how to redesign for manufacturability given my new tooling.

I hope to post a show HN soon.

Side benefit, I get to make cool projects with my kids using the new tools too. We made a cool present for all the cousins this year.
Both nuclear and solar are good energy sources with almost opposite characteristics.

Solar is good for small scale and it is highly variable. Nuclear works better on a large scale and is very stable. Is there a way to make them coexist in a way that doesn't need fossil fuel and where both technology are used to their advantage?
It's uncited and anecdotal.
From a grid storage standpoint longer energy storage just means you have fewer cycles to make up your investment. More generation tends to be vastly cheaper then storage in such situations. Some reserve is very useful, but lithium ion batteries should not be fully discharged regularly which allows for deeper discharges at higher cost and thus some reserve capacity naturally follows.

Flow batteries might work to replace backup generators, but the cost would need to fall much further.
> PC notebooks still ship with tiny, unresponsive things that make two-finger scrolling a mess and multi-touch gestures drop — apparently input, the one thing one does all the time with a computer, is the place to cheap out on.

Exactly those. I'd take them over Apple's sirupy mess any day.
There are actually large tariffs on solar panels.

Supposedly it's to protect the nascent solar industry in the US. In reality they're there to help incumbent oil/gas/utility interests.

And nuclear - much like the registered lobbyist who wrote this article.
the op didn't say redneck.
HN guidelines include "Assume good faith". Please do.
I already explained to you why it's absurd. If you don't understand that there isn't much to do about it, however I would urge you to look up Environmental Progress his group and to learn a little about him.

Again he is no more lobbyist than you or the environmental organisations that's why it's absurd to use it as part of an argument.
As far as we know it wasn't the police who reported their names and addresses. Police typically don't release names until someone is charged.

Newspapers reported their names, usually that happens off the back of neighbours tipping off the papers for cash about the police knocking on doors.
> I can think of several where that has not happened yet.

Tell me more! :-)
That's not exactly correct. You can set ulimit and malloc will happily fail. And ulimit is pretty standard tool.
This is a terrible, terrible example. Tamiflu is not a vaccine, it’s a treatment. It’s use is recommended in some cases according to clinical best practices, and purchases were not due to the government being “manoeuvred”. And further, the fact that an outbreak didn’t happen doesn’t mean that planning for an outbreak is bad.
Under £500m. Still a huge amount but considerably less than £9b.

https://www.bbc.co.uk/news/health-26954482
The suggestion is that the airports were under major terrorism threat, which is why the army was involved.

They didn't say this to avoid spooking the public, and having a whole lot of people cancel their flights and holidays (plus it would have been major fuel for the Yellow Vests).
> This word "wait" is particularly problematic. You can't know a priori that the attacker will be a nominee for the Supreme Court, so you can't really wait to accuse them on that basis.

Great analysis of (the absurdity of) that poll question. I was just commenting that it is possible for a question to be biased, so to I really appreciate this detailed breakdown of it, particularly of that seemingly innocuous word "wait".
Yes, but why would you say it in the negative form? Both forms mean it’s a tie or better.
c++ is only a "high-level language" in comparison to c or asm. it should basically never be your first choice for a crud app in 2018. the point of the standard library is not to give you a bunch of abstract containers that "just work", but rather to give you many highly-optimized implementations of specific data structures to choose from.
https://outline.com/SB4qRa
> The government was manoeuvred into buying £9 billion pounds of Tamiflu vaccine.

£9bn was about the total prescription medication budget at the time, so I think you've gone wrong somewhere.
The paper's that did that made clearly libellous claims - because the couple had not yet been charged with an offence when their names were published. Those paper's can now expect libel claims against them, although given the clear breach of libel law I expect they will wish to settle out of court rather than take on the extra expense of a court case they can't win.
Dollar store is a symptom of repressed wages. How about we fix the cause instead of treating the symptoms ?
Ty for asking this question! "Reinforcement learning" has a wide definition, but in this case because we are using a simple feed forward neural network, "reinforce" is more principled by dynamic programming with supervised learning. We are not actually using a "Deep reinforcement learning" algorithm.

The idea here is that the net can continue to train, reinforcing its previous understanding with new understandings, if new training data is provided.

It may be that we need to clarify the tutorial, as your point is based around unsupervised learning, not having training data.

Is it an overloaded term? YES!
Dollar General is not a dollar store.
T-Mobile and Sprint merger officially cleared by US national security panel
Wake and make dudes
"Can We Really Inherit Trauma?"

Of course.
Usually heavy metals like vanadium
Doh! You found a mistake. I'll try and take care of that asap. Ty for pointing this out.
One upside is simply the fact that you don’t need to hunt down drivers and install them.

I’ve had to install wifi drivers for a Windows machine before. Hunting for the right driver, downloading it and transferring it from my phone was quite a pain, as opposed to the wifi just working on Linux.
Given that you cannot cheerfully give it to your worst enemy, nuclear has massive problems as the global solution for power. People are saying on the one hand that nuclear is the solution, but on the other that certain countries aren't allowed near it because it is much too dangerous.
The situation in Denmark is the same. Back when pre-registered companies were more common, the Stakemann law firm in Copenhagen had a big share of this market, and Peter Andreas Stakemann is the founder of a large number of Danish companies. This company registry page lists him as connected to 2,000 companies, mostly as founder or initial director. I suspect the system is limiting the displayed list to 2,000 and he is actually connected to tens of thousands of companies.

https://datacvr.virk.dk/data/visenhed?enhedstype=person&id=4...
They don't hire the brightest - recently I heard a former senior ex met natsec policeman who presented as very very stupid individual I would not trust to investigate a missing kitten.

There was also the scandal where a v senior copper on the Cyber side was found cheating.
700 LoC and 40 of its own dependencies.
Why one tiny island is still a domain name giant
I don't use Facebook. I have an Oculus. I also don't need a facebook account to use the Oculus.
Ty! This means a lot! Can you point me to the tutorial you added new tests with?
If Oxford then UK, otherwise I would look for a us university that has the been awarded the specific nih or nsf funding that related to what you are studying. A PI would be thrilled to find you.
Sure, but no more than the standard allocator. Explicit allocator objects are a superior solution most of the time anyway.
Indeed. If they can't link it to anyone or even any time, then it can't be used as evidence. Although it may be a fruitful line of enquiry if was one of the problem drones from last week. E.g. tracing sale of parts from serial numbers.
Deactivated it about half a year ago, because it wasn't showing me anything relevant any more, only shares and likes.

Ever since that I realized I need to go back to the internet and actively trace my interests - music, concerts, art, etc. I nearly forgotten how to do it, but it's worth it.

As for "missing out": never happened. If I was interested in doing something, I found a way to find it. Random invitations did not get to me, true, but that is OK.

Losing "friends": I know a lot less of everyday nonsense. Turned out nobody was using facebook to share their real life or thoughts any more. Exchanging a few emails, meeting up, even if it's once a bluemoon, makes a complete difference.
Yes! My wife is angry because most of our photos were on my account.
Or an envelope of cash to a bent copper
I have to say that in e.g. https://lkml.org/lkml/2018/12/22/221 he is extremely polite compared to 1 year ago. Of course it may sound harsh to some but I can see him trying.
While it's true that a microkernel would hand the job to userspace, this is unrelated to Linux's bundling of drivers.

Linux, unlike the Windows kernel (which is also not a microkernel), does not have a stable kernel API for drivers. This means that drivers that live outside the tree have to play catch-up to every change that the kernel devs make.

When a driver is in-kernel, the person that made the changes fixes the driver as part of their change.

So Linux really encourages drivers to become open-source and submit for inclusion in the mainline kernel, just to avoid the maintenance hassle.
Ok acquisition it is. I don't even understand the difference. Wikipedia doesn't seem to make a distinction either.

Uninitialized memory is all I ever want. And I want to simply write to that memory when the time has come, not hide those writes in a T::T() somewhere in an isolated file with lots of braces and spaces and colons and only few things that actually happen. It's really hard to map out the codepath of a project with lots of constructors and inherited constructors 15 levels down the call stack. Same applies for running it in a debugger.
No, though there's so little data on it and I check it so rarely I probably could have done so without losing anything.

But I guess if you run a website with social media channels, you need a Facebook/Twitter/YouTube/Reddit/etc presence.
Show HN: Etcports – Map any domain to any port (api.example.com-localhost:3001)
I don’t understand how you can make the comparison.

A lithium battery has a limited capacity, so you look at the cost per unit energy at a 100% charge. But flow batteries never get ‘full’, they can carry on storing energy until you fill a silo up. I could see a direct comparison on a power basis, or on an levelized cost basis, but those aren’t usually the figures used to index lithium batteries.

Happy to be corrected if I’m wrong. It would be fantastic news if flow batteries became competitive.
I authored this a decade ago with help from (now) stable kernel maintainer Greg Kroah-Hartman, and it’s surprisingly still correct.

https://wiki.linuxfoundation.org/tab/linux-device-driver-mod...
Cheating? At what?
To answer your first question:

> 1. Do you often try to implement data structures like this?

Any self-referential data-structure has this problem. So I guess my answer would be "yes".
"Linux bundles most drivers..."

True. I would just add a few notes for non Linux users.

- Drivers are bundled with the kernel but they're loaded dynamically when requested, ie supporting more devices doesn't make the kernel any bigger or slower. The Linux kernel from mostly static in the beginning became more and more modular and today save for developers or early adopters kernel rebuilds are very rare among users. Embedded cards aside, I don't recall having rebuilt a single kernel since 2.6 on normal PCs.

- Having drivers bundled in the kernel solves the problem of that piece of old hardware we lost the drivers disk and the manufacturer's site resolves to nowhere because they're no longer in business. Caring about older hardware seems of no importance in the desktop PC business, but not uncommon in the industrial world where one happily trades 100x speed loss in exchange of 10x reliability gain and there's still a lot of old perfectly functioning iron out there.

- Drivers are brand-free. Unless specified, they support the chipset, not the hardware brand and they definitely don't bundle other junk themselves, which is one of the plagues in the Windows ecosystem where 5 cards by 5 different manufacturers but using the same chipset all come with their set of drivers and associated ton of rubbish because the vendors fight to splatter their name on your desktop. Under Linux if you have 5 cards by 5 manufacturers you need one small driver and all software interfacing to standard device drivers can use all 5 cards. There's no such thing as "one card, one driver, one software". (Big exception for expensive niche proprietary hardware of course).
I would argue that Big Bang Theory continues the negative trend of "nerds" being a laughing stock for the "normal people". Sure it is a success, but that tells us nothing except that it is successful in appealing to audience.
I watched only a few episodes and although it introduces people to some aspects of the "nerd culture", overall I still found its mocking tone personally unappealing. I've even experienced and witnessed people using the tropes from the show to mock "nerds". Yes, it might be funny due to the over exaggeration of the stereotypes and honestly I don't mind, but when it comes to the issues that were describe in the article it isn't helping.

I don't know much about friends (never could watch it as I find pretty much all of the characters insufferable), but in regards to the article it is pointing out just one thing of a much larger story. I think other things played much larger role in the anti-intellectual/anti-reason movement that the article is lamenting.
No. Even without those, the CPU interprets machine language.

It is a hardware interpreter.
I made this little helper utility, since I often needed to test out an API client, with the dev version running locally. Like how /etc/hosts maps domain names to ip addresses, /etc/ports maps domain names to specific ports.
Thanks for this. It is certainly a lot simpler than grappling with jupyter notebooks & numpy and the like. The course is fairly short but covers off a bunch of stuff.

Couple of thoughts:

- The "hello world" of ML seems to have kinda settled on CNN "cat detector" or MNIST type things now (for better or worse). It does not appear that brain.js has support for CNNs yet(?), but it might be nice to address this in the course somehow - even if it is just "this is coming soon". Lots of people are visual learners - it would be neat for this to be supported somehow, e.g. for brain.js to support loading training data via URLs or grabbing a frame from a webcam and doing some basic stuff with images. This kinda goes for the brain.js webpage too - the demo there is a bit underwhelming compared to the fun tensorflow playground @ https://playground.tensorflow.org/

- It might be nice to see a few more "real world" examples of doing things that real people might want to do, e.g. a comment toxicity/spam detector for their sites that runs real-time in the browser. From this course I am not sure how to load in a pre-trained model for instance.

- I tried to use the GPU NeuralNetwork in a couple of the sessions but I got a "TypeError: array is undefined (1.6.0/browser.js:18548)" error.
Keep in mind that while the tutorial is in javascript, in the web browser, the neural network easily apply for node based solutions as well.

We're adding GPU support that use either client side OR server side GPU, so that any case you mention can be handled.
Linus is amazing. Is anyone else a bit unnerved that the entire tech world seems to hinge on the good instincts of this one guy? I hope there is another benevolent dictator to take over once he's gone.
> I hope there is another benevolent dictator to take over once he's gone.

We'll still have Theo.
Can you make an AI that isn’t ableist?
corrected above.
Nazi Book Burnings
This is being downvoted, but plausible. Many on HN have commented on the phenomenon of how the author of the article always manages to chime in, much more frequently than somewhere like Reddit despite the relatively tiny userbase of HN. Maybe it's more welcoming here?

Not sure if I'm defending someone who is joking or not, but I would be interested to know how people come across their own articles on here (along with the more obvious question re: these Hong Kong companies).