skysight-inc/HackerNews huggingface dataset:
I think AutomataDotNet can do all that :

Automation of regular expression generation, it seems easy : use RE fragments and aggregate them, or walk the type hierarchy of the RE AST and generate them randomly.

B needs to guess A's RE so we need to generate examples of strings belonging to it to gives hints :
this is exactly the use case of AutomataDotNet.

Also if B guess a RE that is equivalent to A's RE it seems unfair to not attribute a win, so we need to tell if 2 RE belong to the same equivalence class. AutomataDotNet does have a AreEquivalent method.

You can automate the generation of false positive and a false negative with the method Minus to creates an automaton that accepts A-B or B-A and generate an example.
Next time summon the courage to express your moral nihilism on your real account.

It almost feels like a mistake to dignify this with the obvious response: might is might, but might is not right. Moral criticism like that of the GP is subject to debate, but not to the blanket claim that injustice as a thing doesn't exist and power is the only reality.
Show HN: A JavaScript framework to build conversational UIs
Because they blew it with MySpace, and the CEO is always whining on about how Facebook and Google are upsetting him.
Still, Poland is a major production hub for heavy appliances (fridges, washers, dishwashers).
Waymo’s self-driving minivans get some emergency vehicle training time
>As a member of this demographic I'm seeing a huge reluctance for peers (and a reluctance in myself) to bite the bullet, swallow my pride, and take a minimum wage job until I can get better on my feet

Don't do it. Life is all about priorities and keeping your focus. Once you start mixing work and studies, both will suffer.

Go hungry, sell plasma, visit a food bank, do what you have to do. But keep your eye on the prize.
To be fair, only some do. Others just assume endless reincarnation is a thing and promise escape. Whether you see that as real distinction is something else entirely.
> I'm tempted to advocate adding operator overloading, so | would make a pattern that matches any one of two alternatives, * would be used for specifying repeats, etc. So you could write

For repeat I think using indexing would make more sense though it might look somewhat unusual:

Pattern[:]

would be *

Pattern[1:]

would be + aka {1,}

Pattern[5]

would be {5}

Pattern[m:n]

would be {m,n}

It also uses a single operator for all repetition operations which is nice.
Ask HN: What's Your Favorite (Entrepreneurial) TED Talk?
Ask HN: What other career choices can one do with CS degree?
I am really distasted with programming, after multitde of jobs, and multitude of contracts, I am hating my life. My work especially. I've programmed a lot since young age (12-13?), and I love functional programming. Sadly, there I'm not good enough to take some proper Haskell positions (since they are usually taken by great CS PhDs etc.), and thus I'm often stuck with OOP messes. Where I'm usually "superstar" (sorry for shitty expression) in team. And that's very tiring...

I'd love to have something of my own, but I can't find motivation to do it when I know the probability of it succeeding. I consulted some friends with their startups, and know enormous amount of effort they put it, and I haven't seen single one do well.

I had done quite some opensource work, which was pretty fulfilling (mostly contributing to established projects), but it sadly doesn't pay bills.

I was thinking of swapping careers. I have CS degree (that means decent math, ability to think etc...). What other careers are there, where I could utilize some of that knowledge, and not feel so burned out?

btw I have around 7years of professional programming experience...

btw2: I lift regularly weights, I am healthy, so work isn't all life. I also tried meditation for over a month, while it wasn't bad, it didn't help me "cure" my frustration.
Anyone in need of a Python open source contributor?
Looking for an interesting Python project to contribute.
A RTOS means a specific thing regarding timing (and sometimes fairness) guarantees. A unikernel isn't that.
The registry (and many other people who have downloaded zone files and such) would have records of these having previously been registered. If it was exploited then it would easily be possible to find that out.
A U-Haul is even better for moving furniture, and is cheap & easy to rent occasionally. Optimize for the common case, not the rare.
There are a few ccTLDs that differ from that, though. DENIC and CZNIC are two that are generally very well-run, DENIC even offering better security and safety than many gTLDs (while also being a cooperative, not a commercial NIC, so prices are very low, too)
People who looked at this one: https://www.amazon.com/Ingrown-toenail-dressing-phone-Samsun...

also looked at this one: https://www.amazon.com/Goldblum-Waterproof-Curtain-Curtains-...
> Damn, are we doing this wrong?

SUPER-wrong.

With all the time-loss, money-loss, opportunity-loss, C/C++/Js must have been rule out as the worst tools for our job decades ago, by ANY RATIONAL ENGINER.

And instead of band-aid them, the sane path is to freeze them and only apply critical patch and use something else. And other options are already know, have been proved and could have be a better foundation, except because developers are irrational like hell and don't wanna true progress at all.
Encrypted Media Extensions: Copyright, DRM and the End of the Open Web
Zombie company feeds on old Flash games
A Brief History of Influencer Marketing
Waymo versus Uber Is Turning into Page versus Kalanick
makes me this of the original star trek which I have been rewatching recently. in the first episode [0] another race is capable of causing hallucinations and making humans experience anything they desire. later on you find out that the captain (not kirk in the very first episode) is found by kirk and now can only say yes or no through an version of Stephen Hawkings chair. Spock knowing that his brain is still fully operational decides through loyalty to Captain Pike to bring him back to this alien race so he can enjoy living in this fake world and not be in the handicapped state that he is. the episode closes with the Captain Kirk showing interest in wonder at the opportunity provided by this race.

I suspect given the opportunity many would take this. ( without knowing any of the consequences I tentatively would certainly take it in that situation)

[0] https://en.wikipedia.org/wiki/The_Cage_(Star_Trek:_The_Origi...

[1] https://en.wikipedia.org/wiki/The_Menagerie_(Star_Trek:_The_...
Not sure if you care, but when first opening the website - hitting the right arrow doesn't work (you have to click first).

Also down arrow doesn't scroll as expected (maybe this is intentional).
The Berkeley Revolution: A digital archive
You're crazy. Higher altitudes and steep slopes in California work very well for Pinot Noir. Pinot planted on flatland in the valleys, however, I would indeed leave alone.
€3000 a month? Where do you live? Or do you talk about a 4 people family? In a family you also have two incomes, pay less taxes, and actually don't have a 2x increase in costs, since many costs can be shared.

On €1500 you can live quite well in most of Europe. And getting a 6-month safety package shouldn't take more than two years to save up.
Adam Grant: Are you a giver or a taker?
Looking for Group? Guilded wants to be your gaming guild’s headquarters
A unikernel could be designed as an RTOS, but not all RTOS are unikernels (in fact, I'm not aware that any are). Indeed, QNX, a RTOS, is not implemented using a single address space, nor is your application linked against the kernel and supporting libraries into a unikernel. While it's certainly possible that you could implement an application/unikernel with real-time guarantees, I'm not aware of a specific unikernel implementation that targets that space specifically.
Earn as much money as you possibly can and donate it all to lobbying groups to put a price on GHG emissions or to preserve the amazon rainforest.
I don't know, I recognised the sarcasm right away, since the comment used quotes to distance the speaker from what was said.

If we're all formal all the time, it's going to be hard to welcome new people. It's important to make sarcasm obvious though (because it's difficult to express), so that newcomers who may not know that this is ridiculous can feel "in" on the joke, while learning something, and not being embarrassed.
I primarily contribute to projects I use myself (or sometimes, have used in the past). Most of the time I get started with a bug impacting me or a feature I want, and when I have some experience with the code base through that it's easier to contribute on other parts.
Minecraft Game for PC and MAC Free Download
I don't understand that logic. Apple built a safe. If I want to check that it is secure, it would be helpful if they built one from glass, so that I can see how the mechanism works, and thus verify the design. My argument is that that may expose a secret stored in that safe that then can be used to break into 'real' safes.

Your argument seems (to me) to be there should be no secrets on that phone that make attackers any the wiser (might well be possible, given the existence of asymmetric encryption). If so, why did Apple go to the effort to add the secure enclave?
Interesting you say that. I happen to live 5 blocks from the new central library in San Diego. It's huge and very expensive (nearly $200M). It also has what appears to be 100 or so public computers that are pretty much used non-stop by the large homeless population which borders the area to the east of downtown. Look at some of the more negative yelp reviews for it: https://www.yelp.com/biz/san-diego-public-library-san-diego-...

Ultimately, there really isn't anything that can be done - you can't kick someone out because they look or smell a certain way if they're using a public utility the way it was meant to be used.
How well are PGA Tour Strokes Gained stats correlated to scoring average?
Input type “reset”
I tend to actually care about other people and to be genuinely interested. That doesn't mean that all chatty extraverts are like that, but someone being different from you is not proof they are just faking it either.

Though for me personally that does create questions of how to balance the fact that I genuinely care with things like time limits and the fact that other people typically care about my welfare vastly less than I care about theirs. The fact that I tend to genuinely care about other people has gotten me taken advantage of at times. I am more careful these days about trying to vet people and make sure they aren't all "Yay! Freebies! This dumb bitch is just giving it away and I am going to take all I can, as long as I can, then disappear if she expects something in return."
Communism has nothing to do with technological singularity. Saying that we have to reach communist utopia before we can have Singularity is about as useful as saying that we have to user in a global Caliphate or wait for Jesus to return first.
> Very cool. I have so much nostalgia for my gaming days and the connections I made with clan mates back in MOHAA/BF2/early TF2 times. Such great fun. You looking for any contract development/other assistance?

Thanks! I totally get the nostalgia (for me, mostly Age of Empires/SOCOM/Diablo II/DaoC/SC2), so I'm really enjoying being able to combine software engineering and gaming full-time. I'm not looking for any development assistance at the moment, but I'll note your handle down for the future.
> Trying to scare people into behavior does not work very well. The Catholic Church spent centuries threatening people with eternal hell if they had extra-marital sex, and people still had extra-marital sex. Studies have shown that abstinence only sex education results in more teen pregnancies. Thomas Malthus saw an impending famine and begged people to have fewer children. People did not listen.

How do you know it didn't work, unless you think the only way it could be evaluated as having "worked" is if there were zero extra-marital sex and children born out of wedlock? My sense is that this was at least partially effective in discouraging the behaviors you describe.

> What works is "magic science." A solution that allows people to behave the way hey do, and we come up with a solution that just works. Birth control has resulted in a decline in teen pregnancies and population stabilization where it is available. The green revolution is able to feed people, without most people having to do anything different in how they eat.

We don't have the necessary magical science. We cannot continue behaving the way we are and expect to reach a point where we can realistically develop it, we will die or decline significantly as a species well before then. Yes, we can feed more people now, but a big part of what's driving climate change is emissions and other side effects from that. Our current behaviors are killing us.

> The other thing is that people don't really think this is a true emergency. An evidence for this is the quote "What if global warming is wrong and we made the planet better?" If it is a true emergency, we should be doing stuff that make the planet worse if it is wrong.

This is a non-sequitur. If you are injured or ill and taken to an emergency room, most effective treatments will not automatically make you worse if the diagnosis is incorrect. In some extreme cases this is true, but taking your line of reasoning would mean that only in such cases would the situation be considered an emergency. We have many, many tools available to us to slow the problem at least and allow ourselves additional time to prepare and react, the problem is that we are not doing them.

My sense is that we will not really be able to address this as a species until we hit some of the disaster points described in the article. When 50k+ people in the US die several summers in a row simply from heat (expect that within a decade), then perhaps we'll take it more seriously. Unfortunately, it might legitimately be too late at that point to even adjust quickly enough.
their "Launch HN" is currently on the front page... https://news.ycombinator.com/item?id=14737653
Write for 7,500 Hours, Then Hit Post: Why I’m Betting on Medium
kickstarter campaign for an unpublished book titled "Bitcoin, Explained on a Napkin".

no content, nothing explained.
UTF-8 and Unicode FAQ for Unix/Linux
It is also an interpreter for a big number of convoluted (and a bigger still of non-convoluted) languages.
I can't believe I am saying this about something like an email protocol that would normally be quite mundane, but there is some real elegance to the simplicity of their approach by reusing what already exists (HTTP, JSON, mobile OS push notifications). It all seems unbelievably rational, especially for an email protocol standard.
ccTLDs don't appear to be held to very high standards. For example the .AF top level domain (which is controlled by the government's ministry of communications) doesn't even have a working website, www.nic.af
Geoff Hinton refers to thought vectors performing reasoning by analogy using algebra [1] in his Royal Society Lecture.

The other widely reported vector algebras in a semantic space were discovered by Mikolov et al when producing ~300 dimensional vectors for a billion word Wikipedia corpus.

If one performs vector algebra and ~= is near by cosine distance then using Mikolov's Vectors[3].

King - Man + Woman ~= Queen

France - Paris + Gernmany ~= Berlin

Surprisingly this works for other modalities, Chintala, Radford & Metz found a latent semantic space in images, that adds vectors for glasses or smiles to peoples faces. [4] With a generative model new images can be created as outlined in this blog post by Soumith [5]

Karpathy shows trained nets can be assembled like lego across modalities, slice off the classifier to reveal the rich semantic 'thought vector' layer of an Imagenet trained Alexnet, plug in a RNN sentence generator using word2vec and ( some over simplification ... ) you get a convincing image captioner [6].

The thought vectors are akin to high level representations of the world and can cross modalities . Text to Images using thought Vectors ( from hnnews discussion [7] )

So the vectors of though are in some way a an AI mentalese or encoding of a symbolic representation of the world derived from the data and can ( again drastic over simplification ) transfer modalities and even between previously unlinked languages [8]

Also see Anything2Vec https://gab41.lab41.org/anything2vec-e99ec0dc186

[1] https://youtu.be/izrG86jycck?t=25m58s

[2] The paper Geoff Hinton is reffering to : Sequence to Sequence Learning with Neural Networks by Ilya Sutskever, Oriol Vinyals, Quoc V. Le https://arxiv.org/abs/1409.3215

[3] Efficient Estimation of Word Representations in Vector Space by Tomas Mikolov, Kai Chen, Greg Corrado, Jeffrey Dean
https://arxiv.org/abs/1301.3781

[4] Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
Alec Radford, Luke Metz, Soumith Chintala https://arxiv.org/abs/1511.06434

[5] https://code.facebook.com/posts/1587249151575490/a-path-to-u...

[6] SF Machine Learning: Automated Image Captioning with ConvNets and Recurrent Nets by Karpathy https://youtu.be/ZkY7fAoaNcg?t=38m31s

[7] https://news.ycombinator.com/item?id=12366684

[8] https://github.com/Babylonpartners/fastText_multilingual
Your post is informative, thanks for taking the time to write it. Minor nit: It would have been better if you dropped the aggressive opening sentence, and let your well-written depiction of the facts stand alone, especially as it seems the other poster was operating in good faith. FSM knows the public square is filled with enough unconstructive and divisive language these days.
> it isn't wrong

are you referring to "might is right"? what makes you say that?
Miele offers long warranties. It's simple: Buy the appliance with the longest warranty and disregard other things.

Commercial is different. I'd guess things like serviceability and a local repair network to be the most important qualities there. And although mean time between services are important, commercial also disregards stuff like noise.
Raising a child takes a lot of time and energy. All of your energy, really. Working full time and raising a child on your own isn't easy, even if you get medicare, medicaid, subsidized housing and food stamps. It's incredibly hard for single parents to escape poverty.

Being young, single, and broke sucks, but the situation isn't nearly as hopeless.
It's the Scout's motto applied to interpersonal relationships. It can be soothing in the same way that keeping an emergency kit can be soothing.
How are you keeping the community focused? And how are you dealing with armchair types? I don't expect you to ever get rid of them, and they can be useful, but is there a way to keep the real experts higher priority?
I know you're sort of joking, but that doesn't really explain it: the places where power is cheapest in the U.S. are the places where the most renewables are used. Here in Pacific Northwest power is closer to 8 cents/kWh because it's mostly hydro; Texas is cheaper than in the surrounding South because it has more wind power, etc.
1. Was not disagreeing. And there are more than 4 weeks in a month. :-)

2. Yes, but arguably severance is something you earned (vested) over many years of service...it's not income for work you are currently performing. Some states are stricter about sources of income while unemployed than others.

3. Which is a disincentive to work part time while unemployed. If there is a dollar for dollar reduction of benefits (most states are not stupid enough to do this) it's better to sit home than try to work part time while looking for full time employment.

4. Life is complicated. What if you have to resign to take care of a dying spouse? These are all issues states grapple with. I'll note in the story we're commenting upon, the workers were basically blackmailed to declare that they were "resigning."

"The HR representative calls an employee from a list and she is heard warning him to “Quit by 10 am, or you’ll be terminated and no benefits or relieving letter will be provided”"

Of course, this was outside the US, but many times there is pressure to say you "resigned" rather than be "fired".

5. OK. Doesn't mean that taking a short time off from looking for work isn't beneficial. We're not talking about going to Hawaii here.

6. Travelling to job interviews/job fairs. Writing and sending out resumes. Paying for educational/training resources. It's meant to tide you over between episodes of unemployment. It's not charity. It's insurance the employer was paying into while you were working there. FUTA and SUTA taxes pay for the program.

And if you employer was paying for some of your health care benefits while you were employed, and now you have to pay that share plus an admin fee under COBRA, while your income has gone to zero--how are health insurance costs then supposed to be covered? (Yes, you can have lots of money saved up...not feasible for everyone.) What exactly do you think UI should be paying for if not health insurance/care costs? Food and shelter only?
Well sure SUVs, even electric ones will never be the most efficient forms of transportation. But if most or all of that energy comes from carbon neutral sources that relative inefficiency doesn't hurt all that much.

And I don't see the safety slope going much further than Vans/Pickups/SUVs. Are people going to start demanding de-militarized MRAPs for safety purposes? I doubt it. The safety cycle you describe is driven by the original users of the vehicles. Ex: Someone buys an SUV because they do a lot of kayaking/camping. That person gets in an accient with a smaller car and totals said smaller car while the SUV has a few dents in the bumper. Some people see this on the news, freak out and buy SUVs so now all things are equal. End of cycle. The kayaker doesn't buy another, bigger SUV, or upgrade to an 18 wheeler just to compete.
Effectively what you are responding to is the ever more prevailing "cloud" mentality, where there is always another instance to spin up in a second if something where to break.

http://www.commitstrip.com/en/2015/07/08/true-story-fixing-a...

And while systemd may have started on the desktop (likely to "solve" the speed of repeated bootups when using a laptop "securely") increasingly its development is dictated by this cloud mentality (as is the development of various distros, as someone basically shouted to my virtual face over at LWN).
If your firm makes less money because it can't get enough developers to reach full capacity, then it makes sense to spend extra money on salaries to make even more money from customers.

Assuming that this calculation applies to your firm, are you going to leave profit to others when you could instead have a win/win situation for everyone (business, employees, customers) instead?
Quantum common sense
Someone had mentioned skimfeed previously on here, and ever since I have always had a tab of it opened/pinned!
Why the hell was this comment downvoted? It has correctly summarized the problem: the company is effectively selling umbrellas for 1/3 the wholesale price. Increase the deposit to 70 yuan and you don't have to mind if people keep the umbrellas.
All CSS advice around "this causes the creation of a compositing layer" is browser-specific. Chrome and Safari happen to have a particular compositing model but AFAIK there's nothing in the HTML spec that actually requires it.
look into farm to plate supply chains
I went to the website and got a white screen. Is the JS required?