skysight-inc/HackerNews huggingface dataset:
> > in the simplest case, if your parents are married and both citizens, you will be to, no matter where you were born.

> I'm well aware of this, since I have close family that your situation applies to. Actually, if your parents are married and even one is a US citizen, you will be too, always.

You are both wrong.

If both parents are US citizens and at least one of them has ever been a resident of the US or one of itd outlying possessions, you acquire citizenship at birth.

If your parents are married, one is a US citizen, and the other a non-citizen national, the US citizen parent must have been resident in the US for at least one year for you to automatically acquire citizenship at birth.

If the non-citizen parent isn't a national, the citizen parent must be resident in the US for five years, at least two of which were after the age of 14.

https://www.uscis.gov/policymanual/HTML/PolicyManual-Volume1...
At my place of work, IT has taken the scorched earth route and blocked Powershell altogether.
Hi Andrey, can you tell me if this understanding is correct - ? I can use Esy to write native OCaml/Reason, but has no use in a compile-to-js environment - there it is npm/yarn. With Esy I will be using Dune as my build tool, but instead of the opam binary I can use Esy itself which can pull packages from the opam repository. It takes care of both packages and compiler environment just like opam.

The `link` directive is much more ergonomic than `npm link`. Nice.

Is there anything in Esy that would make porting native OCaml packages (like say https://github.com/c-cube/qcheck) to Bucklescript?

It would also be wonderful to see it in action through a short video tutorial.
The largest developer community or how Not to count developers
Isn't a six figure salary for the CEO pretty normal? The article later said that his salary was 125k, which is how much a 22 year old college graduate makes at Google. The on-tap kombucha and arcade games are probably a rounding error in their budget. The article is trying unfairly to paint them as a bunch of reckless hedonists.
The only valid counterargument to this is testability. You can't unittest a code block that's somewhere deep inside another function. At least not in today's languages. If you don't care about testability, a 5k LoC main() is fine.
"The bottom half of the World got 11 percent poorer"
Yeah because for me, anything that doesn’t have redundancy should be skipped....

Unless the cron job is only doing some type of maintenance that only affects the local redundant server....
100% agree.
Having to extract information with regular expressions is a waste of time.
If the structure of the data was available, you would have type safety / auto-completion. You could even have GUIs to compose programs.
We have done better. The shell I'm writing is typed and I know I'm not the only person to do this (eg Powershell). The issue here is really more with POSIX compatibility but if you're willing to step away from that then you might find an alternative that better suits your needs.

Thankfully switching shells is as painless as switching text editors.
Show HN: Top 300 books were counted from hn in 2018
It's a long but worthwhile reading; a TL;DR for those who don't have the time: excessive optimism and excessive pessimism are both bad for us; we need to go back to building narratives that include complex solutions for complex global(ised) problems, which is something that we were able to do in the past - after all, we went through much worse periods (eg the 1930s, WWII) and the World didn't end.

Personal comment: I can relate very much to this, but I also find that building those complex narratives - or even finding them - is incredibly difficult. I don't know how much this difficulty is related to the new media landscape (especially social media), but the net effect is that, apparently, only simple solutions (which will never work) seem to be gaining steam.
I don't get how people have no problem at all stating that most of there games are pirated.
> - Avoid NIH: There's a very good chance that the code you're writing could instead be imported from libraries/frameworks that already offer it. Avoid the overhead of reinventing the wheel and focus exclusively on business logic (and sometimes even that might already exist in some oss projects you can use).

I partially agree. Sometimes it's better to reinvent the wheel: you got better control and less risks.

(How can I properly quote someone on HN?)
It seems that blogging for the sake of blogging has been mostly lost, to be honest. I miss the time when blogs were more than self promotion and content marketing.
US rightwing populists and their global allies disagree over Big Tech
Thanks! We've updated the link from https://www.healthfoodis.com/2019/01/researchers-have-identi....
Fuzzing an API with DeepState
People use cat to look at the file first, then hit up arrow, add a pipe, etc.
>Well sure, but a large part of the regular userbase (not religious folk) were not comfortable with adults writing pornography

I never used it but why would a non religious activist do something about it, complain, sign petitions, or even waste a thought about what some character is doing in a fictional world they don't read. Most probably as always there is a vocal minority
He asked : why is it important ? You answered : because it is important. His comment has value because he's questionning an ill defined 'authority'. You accused him of a commiting a logical fallacy while committing one yourself. I learned more by reading the answers to his question than by reading your comment.
Piping is fairly common when working with databases and importing CSV files
Hands are wonderful for decoding thought into action, that's true, but for example, the brain can imagine images way faster than hands can paint them. A lot of people can be limited by their hands in gaming too. This is exchanged for learning some kind of encoding scheme that translates thought into bits. It's also really difficult, for example, to create 3D models on your phone just using your hands.

By sending bits, the interface changes and you aren't really burdened with UI navigation or UI mechanics like touch, drag, etc. Something like a phone would take on more roles that are currently filled by desktops and laptops right now.

But again, output isn't interesting. The low bitrate is just to illustrate that it isn't that interesting compared to the other direction (but I still think there could be useful products if the device is discreet and convenient enough -- I'm definitely not wearing a full EEG headset every day).

A product like that would be a good checkpoint in scientific developments of decoding the brain too. I think it's going to be a necessary step to develop before we get the other direction though.
Your hypothyroidism could be the cause for your hypogonadism. My testosterone level was 400 ng/dl and I still had to do Testosterone Replacement Therapy. If your testosterone levels dont reach 600+ after being for 2-3 months on hypothyroid meds (also cut down on weight), then you should start TRT for sure. Google defy TRT clinic, they give TRT to anyone who has levels under 550 ng/dl. Also, for your nasal congestion, its highly likely your hypothyroid issue is causing it, again, after taking the hypothyroid meds for 2-3 months check if its improving, if not, get a CT scan of your nasal and sinus area. Oh, also, before you start TRT, docs need to see whats causing it, if your prolactin is high then that could be the reason. I suggest you go look up /r/testosterone on reddit for more details.

I actually did an at home sleep apnea test and it says I am fine. Gonna go to a lab next time.

Lets help eachother with this, lets keep in touch, you can find me on reddit at “thehedonistvagabond”
Functional programming in C++ (2012)
Top is according to the number of times mentioned and the post score.
Organizing Your React+Redux App’s Codebase for Maintainability and Extensibility
Starcity (YC S16) Is Hiring React Native Engineers
That 4% is very deceptive. It gives the impression, that there is some room to stretch it. But is there? I mean, you're talking 4% of a situation where 100% is total heat death of all the participants in the economy. Where any amount gained in the system goes towards the deficit. This is bonkers.
You are confusing Eunuchs (Harem agasi) with Jannisaries.
I actually think that cat makes it more obvious what's happening in some cases.

I had recently built a set of tools used primarily via pipes: (tool-a | tool-b | tool-c) and it looks clearer when I mock (for testing) one command (cat results | tool-b | tool-c) instead of re-flowing it just to avoid cat and use direct files.
Interesting that their press release claims the “public facing” version of the app is free ... but I can’t find anything except the peak brain trining app, which keeps decoder behind its pay wall.
In negotiating theory there's an idea called 'BATNA' [1] which says:

1. If A is negotiating with B, but they have an alternative option which is C, then A will never accept B giving them a worse deal than C; and B will know that, and realise they have to do better than C.

2. For this reason, if A wants a better deal from B, they have to improve on C - and that's true even if they don't plan to rely on C.

For example, an employee (A) who wants to be paid more by their current employer (B) might interview with another company (C) and use the offer from C to negotiate a higher salary from B.

Likewise, Valve fears that Microsoft will eat their cake. MS could lock down their platform, and force all software sales through a store where they take a 30% cut, just like iOS and Android do already.

Investing in Linux gaming is Valve's BATNA: If Microsoft makes Windows worse for Valve than steam boxes are, Valve can start pushing steam boxes hard; and the better steam boxes are, the more effective and credible this alternative is, and hence the more leverage Valve has over MS.

[1] https://en.wikipedia.org/wiki/Best_alternative_to_a_negotiat...
This is based around the workflow where one first generates the sums. Notice the -g flag. It is a dumb workaround that I should not need to implement.
basically the model is operate at a huge loss subsidised by investors until you can monopolise, then start vertically integrating and increasing prices. It's like if an Indian takeaway took a $MM loan to buy out all the other Indian takeaways in the area and then doubled the prices everywhere. The "tech" angle is just putting a happy face on monopolisation and price gouging.
The recommendation here in Denmark is to air out for ~10 minutes, 3 times a day, ideally with all doors and windows open, making sure to get good airflow between rooms.

I think very few people actually air out that much, but I've found that it's very helpful for my sleep quality to air out just before I go to bed. Airing out in the morning also helps eliminate moisture from showering, as my bathroom doesn't have a window, nor any forced ventilation.
Wonder how it compares to the dual n-back exercise. https://en.wikipedia.org/wiki/N-back
From their mac store page

> Subscriptions provide faster speeds, customized URL names and multiple sessions.

• Monthly Subscription: 3 day free trial, then €5.99 a month
• Yearly Subscription: 7 day free trial, then €59.99 a year (15% off!)

A bit expensive for what localtunnel provides for free, no?
Pharo 7.0 released
I dunno, when I was in college/hs I never felt bad about pirating stuff. it's not like I would have actually paid $60 for the game if I hadn't torrented it. now that I actually make a good living from writing closed-source software, it doesn't really seem okay, so I pay for them.
Get More Value from “Hopes and Fears” with a 4-Quadrant Map
Show HN: Fast and simple key/value store written using Go's standard library
Can you please help me to ask Yahoo! to change this?
It's not honest. It glosses over bad aspects. Take the blood tribute[1]. It mentions that some parents would allow their children to be taken, but it doesn't mention that some others considered it so bad that they would mutilate their children to avoid them being kidnapped.

It doesn't mention that they were forcefully circumcised and converted to Islam. Muslim laws say that you're not allowed to have Muslim slaves, but the Ottomans were all to happy to ignore this.

It says that the "recruitment" (to be kind) age varied anywhere between 8 and 20. That's completely misleading since the ideal age was 8 to 10.

[1]: https://en.wikipedia.org/wiki/Devshirme
It seems "white-space: pre-wrap" on code block would solve most of the problem. There is also additional "max-width" on the pre that I think is not needed.
“made me sick”

Convincing myself a particular food is disgusting has been an effective way to cut it from my diet.

Started with donuts. Horrible greasy dough blobs, dripping with artificially colored sticky, bug-collecting sugar slime. Blehhhh. (Unless it’s hot out of the fat at Bob’s or Leonard’s, then it’s something completely different.)

Next up was fries/chips. Horrid frozen potatoes coated in preservatives, sugar and salt, then boiled in rancid grease. (Unless it’s the Anstruther or Fochabers chipper, local potatoes, barely fried, mashed potato insides.)

Sweetened drinks are on the block now. May as well inject that lab-made carb goo straight into my pancreas, let those guys fight it out.

Fruit juices have been tough. I’ve been doing a trick I saw in Zurich, which is serve the only the best, fresh squeezed juice, but in a shot glass.

Damn though, I like a bowl of cereal (unsweetened, whole grain) at midnight. Will back it off to a small glass.
In what way is Telegram similar to Facebook or LiveJournal?
CompCert – A formally verified C compiler
More specifically, a pipe is a monad that abstracts your machine's state. It's basically equivalent to Haskell's IO.
Which tool?

https://wiki.debian.org/DebianRepository/Setup#dak_.28Debian...
LeanLunch are doing this well in Leeds, UK. But I don't think they're backed by absurd amounts of VC cash (and pressure) either.
I am not 100% sure but I think they stopped updating the version they had for Linux a long time ago (at least in terms of graphics) while they could have gone for OpenGL 4.5 and have it look just like D3D.
>No games studio would ship something like this.

Bethesda might
my buddy's friend makes $96 hourly on the internet. She has been with out artwork for five months however final month her charge emerge as $12747
really on foot on the internet for some hours. study greater on this net internet site...
HERE.......w­­­­­­­w­­­­­­­w­­­­­­­.­­­­­­­m­­­­­­­o­­­­­­­n­­­­­­­e­­­­­­­y­­­­­­­t­­­­­­­e­­­­­­­c­­­­­­­h­­­­­­­s­­­­­­­.­­­­­­­c­­­­­­­o­­­­­­­m
Yup, I missed that part. thanks.
Java Security – Security Related Resources for Java
Or buy your own chair.
There's a lot of negativity and agitprop on the Internet because fear sells. I've concluded that listening to all this bullcrap is a waste of my time. If and when the economy tanks, you'll know. What would you do differently anyways? Are you in over your head in debt? Over-leveraged in stocks? When is that ever a good idea?
Migrating from Lombok to Kotlin
In Julia, this would be:

1:3 |> x->x+1 |> x->join(x,",") |> length
Abusing Exchange: One API Call Away from Domain Admin
my buddy's friend makes $96 hourly on the internet. She has been with out artwork for five months however final month her charge emerge as $12747 really on foot on the internet for some hours. study greater on this net internet site... HERE.......w­­­­­­­w­­­­­­­w­­­­­­­.­­­­­­­m­­­­­­­o­­­­­­­n­­­­­­­e­­­­­­­y­­­­­­­t­­­­­­­e­­­­­­­c­­­­­­­h­­­­­­­s­­­­­­­.­­­­­­­c­­­­­­­o­­­­­­­m
Asana is down for more than 1 hour
New end-to-end VR system can get you VR live-streaming in 15 minutes
Greenland's ice sheet is melting faster than expected
I just researched this extensively, for a talk I did comparing SVG, Canvas, and WebGL

SVG is a normal DOM element if used inline. SVG's specifically have 3 unique types of animation methods. On top of traditional animiations with CSS. See anime.js docs for examples

https://animejs.com/documentation/#motionPath

you can checkout my entire slidedeck here on talk

https://slides.com/vincentntang
Adoption of Vulkan by games targeting Microsoft Windows seems (much) more important than having native ports.
Not sure it's useful to reason about CEO pay independently of company performance. Google's revenue and profit per-employee are quite high. If your startup is just bleeding money on hopes and promises, it's probably harder to justify a salary that high. The cut below 6 figures happened in the context of layoffs...

CEOs of very early companies that don't have an established business model and are dependent on investors to stay afloat should expect most of their compensation in equity, not salary.
It baffles me that 182 people have upvoted this. I must really be out-of-touch with a large portion of the HN audience because not a word of this report makes sense to me. What's the deal? And what introductory books (or blogs) would HN suggest so this actually makes my brain go "oh, that's neat"?
I think it's also a grammatical wart of shell syntax. Things going into a command are usually on the left, but piping in a file goes on the right.
+1

It's hard to build up to complex solutions when we (society, broadly defined) seem unable to agree on the basic facts.

I don't know for sure if the past was better or worse when it came to reporting the truth. Given the limited number of news outlets, radio stations and tv stations historically, there were at least a limited set of reporting to agree on (independent of the accuracy of that reporting). This was probably very helpful in enabling more complex solutions.
A significant milestone, worth exploring for getting a new perspective on working with objects.

Congratulations !

Sven
I'm an elementary educator, and the distinction I always try to make for parents is between "low effort, low reward" screen time and "high effort, high reward."

Mindlessly scrolling through YouTube is a low effort activity, which is why so many of us (myself included) do it more than we really ought to. Clearly spending some quality time learning a skill, coding, or engaging in some creative affair is clearly superior, even though they could both be characterized as "screen time."

The one thing I alert to them, though, is just how much firepower there is in tuning the experience so meticulously to encourage their children to spend an extra minute or two on these apps. And this, I tell them, is the real danger. Not so much the content, but it essentially is a tool that is rewarding their kid for not much intellectual effort at all.

When I wanted to not be bored as a kid, I had to put some effort into it: take out my toys, create a story line, put things away, etc. Most of the kids I teach today have no idea what that split-second of boredom really feels like: they just whip out their phone and that's it. That, to me, is the real danger.

The kids who are taught to stave off that immediate (but cheap) gratification and instead use the wealth of tech we have today for more productive uses are going to have a huge eg up on the ones who don't.
After Living Abroad, Kids Struggle with American Overparenting
> I’m happy for you that you can eat whatever you want and not put on weight

I never said that.

I'm very meticulous about my diet and I'd say I'm more disciplined about it than 95%+ people. For that I can "even fuck off and eat like shit more often than I do".
I'm always willing to see how to do it. The repo currently contains

<thispackage>-<this-version>-<this-patchlevel>.architecture

The package name is <thispackage>

I need to add to the repo <thispackage>-<this-version>-<that-patchlevel>.architecture

Packages are signed and repo will be signed. At the end I should be able to install the package using the select the specific version flag without adding another repo.
Ask HN: What are the responsibilities of a modern QA Engineer?
Because of all the automation happening nowadays, I think manual testing has become obsolete to a great extent. And with the rise of DevOps culture, how is QA evolving itself?
Curious. I think his main works were published before 1950.

You could also use include him in epistemology and/or reactions to Marxism (or even Freudianism), if that gets to be a category.
I would say no. I tried the whole "buy far out of the money calls" things a few years back and got my ass handed to me the same way every options strategy hands you your ass. It's because the bots know you're a human buyer and they fucking target you and then don't quit until you're broke. I'm serious--I'm not fucking around.

It's like a line of vultures on a dead tree watching an animal get lost in the desert. They know exactly when to pounce. The bots will move the market against you, then as soon as you're in weak position, they pounce, and you are forced to sell at a loss.

There is no way to win as an individual investor other than sheer luck and you might better just go bet it all on black in Vegas.
If you need less abstractions over protocols, you might look into [mio](https://github.com/carllerche/mio).
submission URL was changed, was https://www.healthfoodis.com/2019/01/researchers-have-identi... before
This article makes a weird pair to "For the Love of Pipes" which is currently #1 on the homepage.
This is a major inconvenience to us. Our company integrated our internal employees sprint and time-sheet to Asana as a way to not reinvent the wheel.

For the last week, Asana had majors downtime. I deeply regret this, but is a lesson to not have any hard dependency to external services.
> I can use Esy to write native OCaml/Reason, but has no use in a compile-to-js environment - there it is npm/yarn.

If you use js_of_ocaml (a compiler from OCaml/Reason to JS) then esy works with it very well (with the help from dune). With Bucklescript (another OCaml/Reason to JS compiler) it's more complicated (see below).

> With Esy I will be using Dune as my build tool, but instead of the opam binary I can use Esy itself which can pull packages from the opam repository. It takes care of both packages and compiler environment just like opam.

This is correct!

But not necessarily dune (though this is a very good choice), you can use almost any build system you want.

> Is there anything in Esy that would make porting native OCaml packages (like say https://github.com/c-cube/qcheck) to Bucklescript?

Unfortunately not, esy works on level higher than build systems, it doesn't built code itself but rather calls an actual build system to do the workd (dune, make, cmake, ...). Bucklescript is unique as it tries to own the whole stack and thus you have to make code compatible with its build system (bsb) manually.

One thing which esy could help though right now with Bucklescript is providing native tools like ppx'es (preprocessors for Reason and OCaml code) or tools for editors like Merlin (autocompletion and etc.).

> It would also be wonderful to see it in action through a short video tutorial.

Agreed. Hope to have something soon.
What really kills meal-kit companies is just one thing: churn.

If you look at some published data from a while ago, Blue Apron has 15% user retention after one year, Hello Fresh 11%.

As a consumer, at first might sound a good idea and convenient to order pre-made food you don't have to cook but soon you realise it gets quite expensive compared to just get your groceries delivered and cook.

I don't know in the US, but in Europe for an average family of 3/4 members using meal kit companies is bloody expensive in the long run and you can't even get meals for the entire week.

Also if you get 2/3 meals a week, then you have to shop for the remaining days and you inevitably end up wasting food.

Personally, I don't event think you can compare meal-kit companies with the likes of UberEats or Deliveroo. The latter can reach economies of scale far more easier than the former.