skysight-inc/HackerNews huggingface dataset:
Mnesia is probably what you want in that case, since it turns (D)ETS into a full-fledged database rather than a simple key-value store (think SQL v. Redis). Both are part of Erlang/OTP, though, so you get them for free just by using Erlang/Elixir/LFE/whatever.

There's a hex.pm package called "Amnesia" that wraps Mnesia in a more Elixiry format.
Continue living in your own echo chamber, I don't care. I prefer to engage people who are more interested in the truth, not propagating their agendas through half-truths, like you. Unfortunately, if you and the people like you win, Trump will be in power for the full term.
Booted Up in 1993, This Server Has Been in Continuous Operation Ever Since
> Phones are just phones these days.

I disagree with this. Most Android phones have a bad track record of getting OS updates (which may not be extremely important with Play Services not being part of the OS) and security updates. Depending on what one buys, it may be a phone with an outdated OS and no security updates or something that gets by for two to three years (on average). Apple provides updates for four years or longer (this has been the minimum for the past several years).

Combine the above with more malware spreading through APKs from random sites and "friends", I'd say Android is still stuck in the DOS era of PCs.

Of course, I realize this is a very harsh comparison that doesn't touch upon the flexibility that some users love, but in my opinion, non-tech-savvy people shouldn't be using anything but the best flagship phones if they choose Android and stay away from getting APKs from different sources. Any cost advantage with respect to an iPhone then disappears.
There are more things in heaven and Earth, Horatio, than are dreamt of in your philosophy
Dopamine Cells Influence Our Perception of Time
Culture hacking works. Sugary drinks have lots of culture hacking behind their popularity. Done individuals are impervious. Many are not. We're "sacrificing freedom" because someone pumped poison into the collective consciousness. Anti pollution laws world be the alternative.
For drinking water, we typically process relatively clean sources of water to begin with, not wastewater. It will vary by region. (I don't think anywhere actually starts with wastewater rather than some more convenient and clean local source, outside of fiction like "Dune.")

To take a local example I am familiar with — Seattle gets most of its drinking water from the Cedar River watershed (rainwater). It is a relatively pristine source. Wastewater, including shower output, is treated and released into Puget Sound[0] (the ocean). The only way that ocean water makes it back into the drinking supply is via ordinary evaporation and rain.

So the treatment required on the second quantity of water is exactly the same as on the first, and you get linearly increasing cost.

[0]: http://your.kingcounty.gov/ftp/gis/Web/VMC/utilities/system_...
Is there any good alternatives to Gmail? Self hosted or hosted is EU, both works
And then Google find some excuse to close down the account and its game over...
As you correctly observed, I mainly used ZeroMQ for the fan-in, so I need only consider one request at a time without worrying about chunking, disconnection or other lower (socket) level issues.

For speed, the idea is that you could potentially have multiple read-only servers answering queries simultaneous (all taking from the dealer). This isn't fleshed out yet. It possibly involves splitting requests into two queues for read and write requests (instead of only "run").

I'd be interested in hearing any info about potential slowdowns if you have them.
They're a bunch of scumbags too. Well, senior manatgement definitely - and that probably trickles down to their systems and who they hire but I'll reserve judgement.
At the extreme end, you could try a site like http://lesswrong.com/ . If someone bites, you probably can't expect a more rational argument from anywhere else.
FWIW safe-guarding YouTube and Google searches can be quite a challenge. Using restricted mode and DNS config may not be an option if anyone in district uses Live Stream as any "streamed" content will be blocked by default as there is no active way to determine what the stream is. So if you choose not use these methods of filtering within YouTube you are left with video suggestions that could be less than appropriate for a myriad of reasons as well as the content readily available with normal YouTube search.

And even if Google searches are filtered using methods recommended by Google in the browser there are image searches done within their various services, Slides for example, that are either not filtered or not filtered the same way forcesafesearch and nosslsearch work. Not to mention Microsoft's DNAME functionality in W2K12+ breaking if any non-security update is installed rendering anything done to leverage DNS+forcesafesearch (using MS only) moot.
Comments like this are worse than useless, in that people see them and dismiss them as hysterical hyperbole-- because they are-- and thereby become inoculated against more credible warnings of real danger.
Can't pin point the problem, but I experienced pretty much the same with my old mac mini. It's probably a combination of factors: HDD gets fragmented over the time, new software and versions of OS are more demanding, drivers not optimized for old hardware, etc. Some of this can be solved by upgrading to SSD or clean OS reinstall, but not all.
From Glowforge's website, for their base model:

> It needs ventilation via the provided 4″ diameter (10.2cm) hose. We recommend putting the hose out a window.
Oddly, JS is hell now, despite the fact that a lot of the additions to JS have been strictly for the better, and those that aren't are easily ignored.

This is largely due to the JS ecosystem, which pushes shinyness over actual good design.
Very, very sad. Who knew that it created CO, but I have paranoia about stuff like that so I would only have it in the garage. Maybe that wouldn't be enough depending on how much CO it produced.
A few things that need responding to. First, optional is the same as a maybe. They're different names for the same thing.

If you want to return a status instead of nothing, you use an Either type (as mentioned in the post). In an Either, you populate left or right, but not both. You can let left be your status and right be your template type. You could codify this as StatusOr<T>.

In a StatusOr land, you return if there's an error; otherwise you continue the computation. This gives a few advantages, but one is that you control the flow of control. (This is also done decently with exceptions in Java, iirc)

However, all of these - maybes, either - they make your functions composable.

There's a good talk... Railroad oriented programming... that dives into this.
Time to Take a Stand
That's an especially asinine comment given the clear cause and effect on display in this case.
in reply to "doingmything" (comment is flagged dead but I want to answer non the less)

>> Not sure I'd want to continue living after making all these adjustments. What's the point?

This is some minimum to live without much worries, everything above can go towards security, culture, good food and entertainment. What remains near to free: creating, learning, loving, socialising and helping others. Even the free things need time though, so one might also take exchange having less income for more time to do nice things.
Co2 lasers are 30℅ CO by design. Kind of like a halogen cycle thing but recombinant.

There is very little gas in a tube though.
I personally don't consider it a problem if I don't personally have to touch it. Phoenix does that reasonably well.
Ask HN: What was your relocation package like?
I was recently offered a relocation package to move my family (myself, wife, and daughter) from Canada to California. I have nothing to compare my package to so I don't know if what I'm being offered is good or not. I tried to find information around the web but I couldn't find much.

The package that I'm being offered is $30,000. My position will be as a Software Dev Manager. We've been told we can use that money towards anything with a few exclusions. Oddly enough, legal fees for immigration are not covered by their package. Some quick math we did for moving costs, air fare, temporary rent while we buy a place, various furnishings, etc. still came in above $30,000.

What have your experiences been like with relocation packages? How good is $30,000 for moving a family of three?
Dropbox kept files around for years due to 'delete' bug
SF housing prices soften as 2017 ushers in thousands of new units
I take great pleasure in finally starting a book that's been on my shelf for a while. I have fallen back into the (bad) habit of buying books too frequently now (a decent chunk of them after a recommendation on HN...)
Saying that the ban is on "Muslim majority" countries is disengenious: the ban is on countries with a high risk of terrorism in immigrants. The whole point of the ban is that the us is currently unable to filter out the good from the bad immigrants from those countries so the administration has decided to not accept any.
The Mighty Hercules – Planes that hunt storms (2016)
I was working at a high school as systems/network administrator using NT 3.5/4., Novell Netware 3,4,5 and
SuSE linux 5.x. Doesn't seem so long ago to me.
The name that you need to know is line discipline.
Tragic. Recently California started requiring carbon monoxide detectors in most homes.[1] Make sure you have one.

That's a surprising cause though. How much CO can a laser printer/cutter produce, worst case?

[1] http://www.ci.berkeley.ca.us/Planning_and_Development/Housin...
Some time ago there was a guy who kept a diary recording each 15 minute chunk of his life for several decades. I dont know if he or others went back and tabulated this information.
If you're looking for a way to persist data, check this out: https://github.com/nylas/electron-RxDB
CO poisoning is cumulative. It takes a long time for CO to get unstuck from hemoglobin. It could have snuck up on them slowly, then one evening with the cats "napping" they felt particularly tired and thought to themselves, "We must be in hibernation mode from the chilly weather," then they went to sleep then never woke up.

CO is odorless. You might get a headache, or you might only feel tired. What's worse: a lot of CO detectors are pretty shoddy.
I'm guessing this is undergoing a hurried rewrite, to add something along the lines of 'or you may die.' they're gonna get sued out the yin-yang for this even if the dead couple totally ignored the instructions, on the grounds that the instructions didn't state the danger clearly enough.

Having said that, while good safety information is important, two MIT-trained engineers should really have known better.
Maybe don't safe guard at all. My school sure didn't (back in early 2000s). I turned out fine. Anyways, most kids can just jump on their 4G connection and browse anything from there, right?
I always think of this comment which stuck in my mind years ago: "Consistently the hard technical problems are performance problems."

https://news.ycombinator.com/item?id=1835859
Lots of comments here about magstripes and the failure of the US banks to get rid of them. Funny thing about that is this is a Canadian article about this happening in Canada, and shimmers actually steal data off chips - not magstripes.

Why would they do this? The assumption is that the thieves plan to use the chip data to create fake magstripe card or make online purchases somewhere that the CVV is not checked. Not checking the CVV is a complete failure, and apparently for once it's not a US failure (unless the thieves are targeting tourists??).
Thanks! I'm glad to see this looks potentially useful to someone other than myself.

If the client could start servers (other than by importing from server.py), what would be the intended outcome if two clients try to spin up servers at the same time? Otherwise would a file lock do? In that case, just file locking combined with pickle could possibly be enough for your needs.
Ask HN: What's the most unexpected social convention you've discovered?
In the context of running a startup in the Bay Area.

For example, a post I read eons ago described how, when talking to an investor, and they ask you if you're talking to other investors, you always say yes. The reason being is that you always want to appear to be able to give them competition, and moreover, if you say no you look inexperienced.

Any other catches like that you can think of?
>$30 just for the delivery fee, a daily income of a well off family back in 1998

$30/day is $10,950 per year, which in 1998 was only $100 more than the poverty line for a household of 2.[1]

I agree it's a lot of money for a delivery fee, but it's just not true that that's the daily income of a well-off family in 1998.

[1] https://aspe.hhs.gov/1998-hhs-poverty-guidelines
CO poisoning is cumulative. It takes a long time for CO to get unstuck from hemoglobin. (About 2 weeks, IIRC.) It could have snuck up on them slowly, then one evening with the cats "napping" they felt particularly tired and thought to themselves, "We must be in hibernation mode from the chilly weather," then they went to sleep then never woke up.

CO is odorless. You might get a headache, or you might only feel tired. What's worse: a lot of cheap CO detectors are pretty shoddy.
Yep, HN doesn't seem to want us talking about it.
Management is upset they will no longer be able to use H1Bs to cheapen the value of labor. This executive order won't have a big impact but they see it coming.

The real issue is competition on the world market.

If capital loses a single cent due to this competition they argue for (and win) trade protections and capital controls.

If labor fights against increased competition they're seen as provincial racists who can only compete if they maintain an artificial advantage.

Google should be forced to repatriate its $50 billion in cash held offshore and pay some damn taxes for a change. If they get a tax holiday on $50 billion I should get one for life. Why am I paying nearly 40% of what I earn in taxes while these companies pay nothing?
I don't know. I read it before and I agree. Heck, I've defended that point of view on the net in the past.

But I have spent most of the last 2 days surfing the net looking for information on which models of lightbulbs and washer pump I should buy for my car. Eventually I managed to track down and figure out the manufacturer serial number patterns and I was able to order the things (hoping the washer pump manufacturer I randomly chose delivers quality products) but I haven't yet found how to safely disconnect the battery of my - specific - car so I can perform the maintenance operation (which I am told is fairly easy).

So that is going to take me 2 days (at best) to fix my washer pump and change a lightbulb (how many HNers does it take ?). Any mechanic `geek` could fix it in 30 minutes. But I decided I am not going to shell out $120 to have that done. Yeah me and the hacker ethos.

My point is: I never had any proper mechanical courses in high school so I can see why today's kids can't find files or drivers or proxy settings (which reminds me of the f* proxy at work that is still getting on my nerves sometimes) or how to sort columns in excel even with the internet at their fingertips.
except that there is already intense vetting

except that the order blocks people already approved to be in the US

except that apparently only 1/3rd of 1% of murders in the US are committed by muslims (that's all muslims, so the effect of muslim terrorism is vanishingly small)
I don't think anyone is blaming the kids, they're blaming those PR/marketing people who go on talking about "digital natives".
> the chip used to contain all the information present on the magstripe

Not all of it - the chip has a dynamic CVV that differs from the one on the magstripe. This only works if the bank isn't checking CVVs.
That's BS.

"Announcing his “extreme vetting” plan, the president invoked the specter of the Sept. 11, 2001, attacks. Most of the 19 hijackers on the planes that crashed into the World Trade Center, the Pentagon and a field in Shanksville, Pa., were from Saudi Arabia. The rest were from the United Arab Emirates, Egypt and Lebanon. None of those countries are on Mr. Trump’s visa ban list."

https://www.nytimes.com/2017/01/27/us/politics/trump-syrian-...
tl;dr pure javascript = using jquery and bootstrap
People get radicalized in Iran? That country, at least in the urban parts, is remarkably secular. The expatriate Iranian community in the US is mostly urban, secular, and educated at US universities. If anyone wanted to turn Iranians into partisans they would have instituted a travel ban, that's the surefire way to really piss them off.
I would like to shamelessly submit PartsBox.io (https://partsbox.io/) as a solution to keep track of your components once you start designing & building something.

It's free for Hobbyists/Makers with single-user access, multi-user access is in paid plans.

(I'm the founder/creator)
Ever since email spam, we have learned that systems have to be made resistant to abuse.

There is enough blame to go around, but it is reasonable to blame Twitter. It is not reasonable to expect bad actors to go away. Systems designed on this assumption will always fail.

Yes, we can rightly rail against the people abusing the system, but ultimately there are 7 billion people and expecting all of them to be ethical is foolish.

However, we should expect Twitter to behave ethically and hold it to account when it so clearly fails.

By all means, keep fighting the good fight, but the only thing that can realistically improve the situation is Twitter.
For me at least, my school's aggressive network filtering was a great learning experience. They used deep-packet-inspection combined with SSL MITM, so I designed my own obfsproxy-like tunneling protocol. In retrospect, I could probably have just used obfsproxy, but as I said, it was a great learning experience.
> Small Government is a nice, and good, idea, but history shows us that neither surveillance apparatus (pl.) nor secret police (pl.) relinquish power, ever, within existing in the same continuum of legitimation (ie. state). There has been no previous instance where either were reduced; they only grow until chopped off entirely.

Is there a book or article that I can read about this point?

I'd really appreciate it if you could show me a few examples.
TL;DR (239 words, 1 minute reading)

I told a colleague, whom isn't tech savvy, that contrary to her belief, most kids aren't digital natives. They all can't use computers. Examples of people who can't use computers are mostly the obvious (plug in the ethernet cable; turn on the display; turn on the wireless switch in an OS of your choice); one is a bit harder (reinstall Windows). Parents did it all wrong, fixing everything for their children without teaching them how to do it themselves. The UK asked the industry what should be taught and Microsoft told them Microsoft Office, so now that's what they know. People aren't used to a command line anymore.

Why should we care? Tomorrow's people are going to be creating laws regarding computers, enforcing laws regarding computers, educating the youth about computers, reporting in the media about computers and lobbying politicians about computers. All while not being able to use a computer.

How to fix it? Stop fixing things for your kids. Schools should teach not to install malware instead of locking down machines. Teach how to stay safe on-line. Adopt a responsible disclosure model instead of punishing kids in school for hacking things. At least play around with Linux and powershell and stuff.

I've owned a car for most of my adult life yet I wouldn't know how to fix one. It's a recurring problem with computers. Yet I want to build a generation of hackers. Who's with me?

--- End of TLDR. ---

That took the author 4165 words in story mode (and me about 30 minutes to read, including this summary). This, author, is why you were probably asked for a TLDR in the past and why you write "gtfo you stupid fuck" as a TLDR on top: it takes forever like this. And be honest, author, did I miss anything? Other than clipped sentences, should anything more be included to get that message across?

Now as for my own commentary, I more or less agreed up to the "Why" part. I mean, yeah, digital self defense is important but not for everyone. If a subset of the population in every country knows it, we're good right? You even admit to not knowing how to fix your own car, yet without explaining how this is different you expect us to understand that it is different somehow?

I'd like to see people be a little bit more tech savvy, but not as much as you seem to think is necessary before not calling someone computer illiterate anymore.
Hackers hit D.C. police closed-circuit camera network, city officials disclose
Top Trends in Equity Crowdfunding
https://teleport.org/paperclip/
Box Breathing
What an ignorant statement! I personally wouldn't want to go to Iran, but I know several techies who have family or business interest there.
>Unfortunately, with modern libraries helping "abstract away" underlying architecture like databases and the network, code like this is very easy to write without even realising that there might be a problem until it hits you in production.

I think that modern library abstractions are a tip of the iceberg. There is entire copy-and-paste class of developer who doesn't understand what's going on under the hood with most anything they're doing. We're operating on a stack of a abstractions a dozen layers deep, and people rarely take the time to look more than one layer down.

These folks are competent developers who can get things done. Even big things. But they are either incapable of envisioning how the entire system will interact, or they lack the appropriate functional details of how the abstractions work "behind the curtain" to be able to form an accurate mental model. As a result, they just wire things up without understanding how everything will interact.

The Mythical Man Month talked about the "surgeon" role on a team. The programmer that's now known as the "10x" developer. That's what's needed for any project that will eventually need to scale, or you're almost certainly going to have major inefficiencies that make everyone's lives difficult for years. I'm actually considering marketing my consulting services as being that person for startups -- the architect you really need to design a solid foundation, so that you don't accidentally create a house of cards that will fall over the first time you hit the front page of HN.

Not to say that anyone can foresee all interactions in a complex system. You still have to profile and test carefully. But I do consulting and have seen systems that had, to me, obvious bottlenecks that were poorly handled. One recommendation I made brought hosting costs for a small company down from $10k/month (and spiraling up out of control) to less than $500/month. And their product wasn't even that popular; it was not nearly at a Reddit, HN, or Quora level of usage. They peaked at about 2000 requests per second. I was handling more than that on a $10/month VM for my own backend (different load, and different requirements, but theirs could have been handled by a pair of app servers and a paid of database servers, two of each entirely for redundancy).
A good place to start for someone like Sam Altman is people in his strata, such as Peter Thiel, who notoriously donated money to Trump's campaign, and publicly endorsed him.
Yep, the first thing i thought too.