skysight-inc/HackerNews huggingface dataset:
Remote work, outside the US [sucks?]
I'm a web developer, and for the longest time, I've dreamed about working remotely while traveling from country to country. Recently I went on a short vacation to china and attempted to work .

Now, I know China may be an exception but in my opinion, this is not a country a web developer can work remotely. You're hands are tied behind your back with blind folds on. Internet through mobile is widely available, but speed is normally capped at edge speeds(56k). Then there's the bigger problem of censorship. Google, facebook, twitter, and tons more are blocked.

VPN you say? Before, I left I did setup my own vpn server on Digital ocean and tested before leaving. Now, I need to investigate this further when I return but it is not 100%. I can't say why, but I've ran into many connectivity issue trying to surf through the VPN. Having to deal with reconnecting and timing out a lot. Might be due to poor internet connectivity in general. Also on the mobile, I haven't figured out how to tunnel traffic through VPN. Another thing I should research.

When internet is not fast, I do not feel like using it. As a developer, browsing, googling are things you do 90% of the time. More than coding.

How do you guys handle remote work in other countries with censorship and generally slow speeds?
In America, 25% of all black males are in prison. Are you people seriously going to ignore this factor because it runs counter to DNC mass media narratives?

Haha, the question is rhetorical. I already know the answer. Downvotaggedon incoming!!

- A black male has an order of magnitude higher chance to rape a woman than the average male from all other races combined.

- There is -no- coorelation between material access and reducing rape. (Despite widespread access to free porn, white males raped 37k white females last year, white males raped ---ZERO--- black females over the last 5 years COMBINED)

- Middle class white people hate uncomfortable statistics that hurt their political fantasy lands

Combine these three things and watch the mental gynmastics begin!
Show HN: Find institutional investors; manage relationships
Try pinboard.in
Bankers rounding in Java needs to be reviewed
I've been cycling for 22 years. I've smashed my head on the ground 5 times now.

NEVER was it my fault. Just because you're not a dick doesn't mean someone else isn't.
It wasn't me who downvoted you, but if I had to guess why, it would be because administrating a full instance of Linux just to run a CMS is a long way off the ease of dropping a PHP file on shared hosting.
RealDoll is working on AI and robotic heads for its next-gen dolls
A similar treatment was comedy-documentary Bowling for Columbine in 2002. Moore explores a half dozen reasons why the US seems to have more mass shootings than other countries. He doesnt choose one main answer.

https://en.wikipedia.org/wiki/Bowling_for_Columbine

I'd probably add that 13 years and a hundred more shootings later there could additional theories like the ubiquity of violent video games and the heroic portrayal of previous mass shootings.
> "But helmets are not supposed to shatter." Yes, they are. After any crash with a helmet you're support to discard it and purchase a new one. It absorbed, hopefully, the vast majority of the energy of the impact, not your skull.

Read the link. Hint: no, they aren't. The main absorbtion of energy is all in the styrofoam. If the shell shattered but the styrofoam didn't compress then no significant force dissipation happened. Some did, yes, but not enough to have prevented anything more than cuts & scrapes.

> What I'm most surprised about is that the author doesn't mention a study where drivers on average, apparently, drive 3 inches closer to cyclists WITH helmets on because they perceive them to be protected.

They did, actually. That was in the article.
Cycle paths with low hanging girders is not a problem that is solved by helmets.
"We all know" lots of things that don't turn out to be true. The only way to be sure is to look at actual accident statistics.

And ultimately, helmets are just a tiny fraction of the factors that influence safety.
They also block the popular on-domain analystics including piwik, or at least they did.
Doesn't Smalltalk have a convention whereby the name of the function specifies the purpose of the variables, like

arcWithCenterX: withCenterY:

or similar? (I vaguely recall this, but can't find any examples online.)
It's not about you following the rules. If someone else doesn't, your head is going to hit the ground.
Just because you're inclined to believe something doesn't make it not true. That's the flip side of confirmation bias.

The author points to a single study that's been discredited. Good enough. But simple logic, as well as anecdotal evidence (with all its confirmation bias), suggests that you're more likely to have a good outcome from a head impact if you're wearing a helmet than if you're not. That, or the entire helmet industry is snake oil, and you might as well just wear a baseball cap.

The comparison to evolution is bogus. Those who reject evolution are generally rejecting both evidence and reason. But evidence and reason strongly suggest that helmets work better than no helmets.
Absolutely, this is why I rarely/never wear a helmet. People think of them as essential safety gear in case you get hit by a car, but they offer almost no protection against this risk. They are designed to protect your head if you spontaneously fall off a stationary bicycle. In good weather, at low speeds, on flat, clean roads, these accidents will be very rare for competent cyclists.

Cycling is simply a safe, fun means of travel. And you don't need special protective gear unless you're doing something weird.

Children? Mountain bikers? People cycling in snow or mud? People doing tricks or trying to show off to girls? Yea, they should probably wear a helmet.

A friend of mine once compared ordinary commuting in a helmet to wearing a condom all day: it's useful if you're doing something risky, but otherwise it's just uncomfortable.

Helmets are uncomfortable and goofy, and I probably would ride less on the bike if I had to wear one all the time, as with a mandatory helmet law. The exercise benefits of regular cycling outweigh the marginal risk of head injury.

By the same logic of the helmet-shamers, we should shame motorists and pedestrians for not wearing a helmet for routine travel. But nobody seems to take that idea seriously for some reason.

More important safety equipment than helmets: bike lights, mirrors, bells, basic repair gear, and fenders.
Ugh. Socioeconomic conditions, not race, drive people to commit violent crime (for the vast majority of cases). Critical thinking may be hard, but it's rewarding. Try it.
You need to make this site your best friend: https://nomadlist.com/
All ML-like languages as well as Swift and Rust, force you to initialize all values in the struct. Adding new fields isn't a problem in practice, because most of the time structs that you wanted to add fields to had private fields already to begin with, so they're using a constructor.

The nice thing about this approach, of course, is that they can omit all the complexity of "zero values" from the language.
Find institutional investors such as pensions, investment managers, funds; please let us know what you think about our site and how we can improve.
Okay, I was wondering if something like that was the case.
I am very, very cautious. But bike helmets are simply not designed for high-speed collisions.
I agree absolutely. That's why I use piwik on my sites.

Unfortunately, uBlock blocks piwik all the same.
Venezuela here, there is 2 daily flights from venezuela to cuba, everyone that travels there goes with around 200 flash drives, sd cars, etc. The airlines (cubana and conviasa) doesnt care about what u take to cuba, ive seen ppl taking up to 3 fridges as their baggage
The only reason that the individual states that wearing a helmet is a hinderence...

You missed one important point from the OP:

One well-done study that evaluated all the current studies out there (called a meta-analysis), found there to be no benefit to helmet use when you take into account all types of injuries. Helmets protect against certain kinds of injuries (those to the head) and increase the likelihood of other injuries (those to the neck).

That last sentence there is important, so I'll call it out again: "Helmets protect against certain kinds of injuries and increase the likelihood of other injuries."
One reason to avoid Google CDN
While Google is awesome and has a large collection of JS libraries on their CDN, here is own reason you should avoid it. Countries like China, block google and all that is associated with google. Gmail, finance, news, and their cdn. Any domain that is affiliated with google is blocked.

If your site uses jquery, angular or anything else hosted on google's CDN, there is a high chance, people from china will not be able to see your site or hang for a long duration before anything showing up. Bad user experience, they will bounce thinking site is inaccessible.

This also brings up why you should avoid only supporting single signs on for your startup. Twitter and facebook is blocked. People from china will not be able to login into your site.
You probably wanted to reply to GGP. I am of the opinion content should be free or paid. I let ads through only if they come from the same website.

My problem with the non-annoying ads is that they still enable tracking and lrofiling which I do not like.

I think I've had Adblock+request policy/policeman running since forever - recently switched to ublockO+umatrix
But the post isn't claiming to provide everything that Jquery provides just replacing the "$" function. The "$" does two things in jQuery.

1. Its the DOM selection function. This is what he's replacing. This is the real "functionality" of the $ function. The main bit missing is that it won't create a new element if you pass in a string.

Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.

2. Its a Namespace for all the rest of Jquery. This is NOT what Paul's replacing but is kind of ancillary and really just good housekeeping for a js lib.
For me, it's not whether the sentence is too complicated or too long, but the tools you use within it to make it stick (not the best word but I can't think of a better one at the moment) in the readers or listeners mind.

One of my favorite classes in uni was rhetoric, and one of my favorite books to this day is Farnsworth's Classical English Rhetoric. I highly suggest it as a tote around, open to a random page and read as much as you like and never be disappointed reading.

http://www.amazon.com/Farnsworths-Classical-English-Rhetoric...
As a heavy bookmarks user, I'm happy they reverted to the more practical old solution
The author didn't provide any references for his assertion, so we won't know.
Many safety standards have surprisingly little science behind them. That is not always a bad thing. Trial and error can work if there is the possibility of changing the design. Once the body of experience is codified into a standard then development stops.

The current bike helmet standards are a good example of what happens in the absence of both good theory and experience. We have a design that prevents an injury that almost never happens (skull fracture) and that fails to protect against a common injury (concussion). The current standards make it impossible to improve things much but there are people out there that are trying:

http://www.helmets.org/liners.htm#cone-head
... So long as it's not just "Eliza" meaningful.
In fact, this exists. It's called Flattr.
Yes, ads remain the major e-business model till date (and will probably remain for a long time to come). I guess one of the problems is, everyone needs money to maintain a website and to make a profit, but not everyone has content (or products) that could sell. It's a difficult problem to solve in theory. I think simple text based (or even small images based) ads should be fine .. it's the flashy ones or the ones that delay my workflow that I hate to the core.
There's also competition for databricks itself.

http://venturebeat.com/2015/06/14/ibm-spark/

The spark ecosystem itself has a lot of players now.

Horton/Cloudera/MapR in their hadoop distros
Typesafe: https://www.typesafe.com/community/other-projects/apache-spa...
Insane? Because of a very reasonable line of reasoning? I think that's mostly your perspective.

There is data about what helmets and other safety measures do to bike safety. It's worth noting that the Dutch bike association is not a fan of helmet laws. Although of course Netherland has already implemented a lot more effective measures to improve bicycle safety.
Blackbox Testing in Go for Fun and Profit
An interesting approach is join calculus. This tutorial builds on the same "chemical" metaphor used in the article

https://sites.google.com/site/winitzki/tutorial-on-join-calc...
HAHA, yes I agree. I am a part of the community.
Apple’s Intriguing Developer Conference
I think syntax matters a lot - if it incurs development costs through inconsistencies, for example.

I'm going to a meetup in a couple of days where Elixir and Phoenix will be presented, I think I'll keep your comment in mind and maybe ask about inconsistencies in the syntax, as I wasn't aware of this. What I know of the syntax relation to Ruby is that it is only superficial - the semantics are very different.
Oh, forgot to say they also take pirates dvd vcd etc, with everything, software, books, movies, music, piracy regulation in venezuela doesnt exist and cuba ppl is untochable due to venezuela and cuba friendship so is kinda smuggling paradise.
I wouldn't say "upset" is the correct word, but perhaps "disappointed" is accurate.

It is disappointing that helmets only seem to protect against very severe events. Because these very severe events also happen to be fairly rare. So basically a bike helmet is not like buying health insurance, but more like buying life insurance that only pays out if you're eaten by a wild animal. And you live in the First World. But you pay for it just the same, because you have to put on and wear that helmet EVERY SINGLE RIDE because you never know when your ticket might get punched.

The point is that it seems like if you want to make people safer, the helmet should protect them against lower energy collisions and higher energy collisions both. But the CSPC test is a one-size-fits-all test that ALL helmets have to pass and as a result, there's absolutely no differentiation whatsoever. So all bike helmets have to protect you against truly horrific crashes, crashes that people riding around at 5-15mph will never experience.

It'd be nice if the CSPC would make a few categories of protection that you can buy helmets for. Casual cycling, BMX, mountain and road say. And then let the manufacturers tailor the helmets towards the risk that people ACTUALLY face when they bicycle.

The way it's done right now would be like requiring formula 1 cars to have airbags because they're cars too and all cars have to have airbags.

> So you're upset that the material will not protect against lower impact collisions and still protect you against high impact collisions

I don't think it would be impossibly difficult to get a helmet that had 1/2" of 3psi foam and 1/2" of 15psi foam. Then you could get some protection against the common concussion injury and still retain most (if not all) of your death mitigation as well.

But so long as the CSPC has a one-size-fits-all test it's very unlikely that things will change.
For that situation the least-smelly answer is logger classes with a severity method

logger.error("message")

or a log statement with a severity parameter

logger.log(LOGLEVEL.ERROR, "message")

That lets you change the capture level based on the situation without the need to recompile your application, on a fine granularity (eg class-level). Getting errors in production? Edit one line of XML to turn up the capture level and go.

High-performance logging frameworks like SLF4J handle the first case very intelligently, there's almost no overhead to skipping a logging call. If used wisely with a high-performance logging engine (Log4j2 or Logback) there shouldn't be many calls needed, and except in very narrow situations the performance impact (if you could find one) would be drastically outweighed by the improvements in maintainability. Code quality does have its costs at times - otherwise we'd all be writing assembly. It's not going to be the straw that breaks the camel's back when it comes to performance.
I think the point is that most people think that the best way to improve cyclist safety is to get cyclists to wear helmets. This is quite wrong, helmets are way down the list behind driver education, bike lanes, bike lights, &c. &c.

However, cyclists get regularly shamed for not wearing a helmet. Where's the shame for the lack of complete streets traffic planning? The shame for drivers speeding and running red lights all the time?
> What should the US do about Cuban connectivity?

Um, nothing? I don't mean this from a sense of "who cares?" but more from a sense of "let Cubans figure out what works for them". If they ask for help, provide it. But don't go interfering unnecessarily where interference is not particularly asked for.

I suspect that the world would be a much different place if we'd followed that dictum in the first place.
I, too, have problems reading many websites that insist on using light grey. Perhaps off black would be better to read but the misuse of grey text has a real world effect on people who are older and/or people with bad eyesight. Off black and grey aren't the same thing. I am baffled by designers coming in and discounting the people who say "this is hard to read for me" with "no it isn't."

For me, I open up firebug and change the text to black. It is amazing how often I can't read something some "designer" thought looked good with a complete disregard for functionality.

I am wondering (serious question) if grey on white is so easy on the eyes why are all books (as far as I'm aware) published with black text?
I've always learned the edict to simplify writing from as: when writing, try and keep it to simple, single compound, or single complex sentences. Rather than "don't do ___", it's "freely express yourself with ____".

Outside anything else, it's a more pleasant way to approach the topic, and there's a ton of freedom in it. Yes, it's similar to prescribing a word count or a page count because it puts a more-easily measured test on the writing. But it's also an indicating function to help stop a writer from introducing confusion through their grammar.

Some industries have done quite a bit of research into the subject. Take, for example, the aerospace industry's Simplified Technical English[1][2]. Here, research into the readability of flight and maintenance manuals identified that shorter sentences were easier to understand for English-as-a-Second-Language speakers. A grammar was developed to reduce some of English's flexibility and make construction more predictable. This, paired with shorter sentences, dramatically increased the usability of print media for aerospace and defense applications.

Shorter or simpler sentence construction can ultimately free the writer to be more expressive and to more clearly express his or her ideas.

1: http://www.plainlanguagenetwork.org/conferences/2002/aecma/a...

2: http://www.asd-ste100.org/
uBlock also blocked piwik last time I checked.
you'd handle that in the same way you'd handle it in IPv4: either a static assignment & a tracking process to avoid collisions, or static assignments in DHCP. DHCP6 does exist, and static assignments within a DHCP scope is a very common feature.

one caveat: DHCP6 is younger than IPv6, so not all router firmwares will have gotten around to implementing it yet.
Similar - two years ago, caught the edge of a gravel track going downhill, tried to steer out of it; woke up in the middle of the road with not-quite two piece helmet but no lasting damage (except a twingy knee).
Keyboardio kickstarter launch
2002 explanation by Dan Bernstein of why IPv6 will never happen.
http://cr.yp.to/djbdns/ipv6mess.html
To me, it's a sign of bad system design if the consumers of a service need to know whether it's running on a VM or a container. Only the developers and operators should need to care at that level.

This. The advantage of containers is that you isolate and control your resources more precisely - if those using the software running in the container find they have differing requirements, you should just be able to change the resources allocated to the container - in much the same way you would with a normal server.
Spotify features “rewind” to offer retro playlists to users
> Another thing to consider: In some cases, it may make more sense to split the function into two versions, one for 'true' and one for 'false'. Then you gain the enforced explicitness. The function could call a private method to share code and pass the Boolean.

The author describes exactly this approach and implementation, under the heading "Distinct functions".
and if you are not targeting china?
Yeah, this was the biggest annoyance for me as well.
I think so, too. The "on" alias is great, so it might as well create an alias like "qsa", "query", or "find" on Node, that searches within its children, and on window, that searches within the whole document.

I wonder, why that is not done more, after all it is one of the benefits of prototype based inheritance, that you do not have to subclass to change the interface.
The travel sites I saw blocked didn't fail because of GA blocking I believe, but they were depending on various other scripts. I believe they just had messy code that relied on callbacks from third party scripts -- some of which were blocked by uBlock.
where in Africa will you be rolling out?

/rant
i really hate this trend. Africa is not a country, it has 54 sovereign states.
Thats true, reflection tools like Haskell's Uniplate and SYB are very helpful. But its still possible to get very far with just ADTs if you use "parameterized functors" instead of recursive data types for the syntax tree and write some reusable fold functions for the walkers.

Another neat thing about this approach is that its super easy to add metadata to the syntax tree (for example, line numbers for error messages).

http://lambda-the-ultimate.org/node/4170#comment-63836
Looks like a evolution of RFC 1149 : https://www.ietf.org/rfc/rfc1149.txt
> and inconsistent application of phonemes

Do you mean graphemes?
Laptop Minimalism
Among cyclists, not having a light gets noticed, but the non-cyclist narrative about crashes in, say, a newspaper, is almost always "X was/was not wearing a helmet" and almost never "X was riding without lights in the dark."
If the author is claiming that once it's compressed it won't be as good next time, then that's insane - helmets aren't supposed to be re-used after accidents

Why is it insane to think it won't be as good next time? Isn't that exactly the reason you are not supposed to re-use them?
1. I already gave an out for your point. Yes, always weigh performance vs. clarity and don't over optimize.

2. You are making an assumption that you aren't binding thousands of times a second. You need to take actual use case into consideration.

3. My example has a 1000:1 method call to bind ratio and it's still a significant difference in benchmarks. Yes, it's that expensive it's important to think about in critical sections of code.
The helmet buys you t. Lower density foam buys you less t.

Pondering it briefly, I think it is difficult to arbitrarily change the size of the compressed zone of the helmet, as that depends on the contact patches (helmet head and helmet ground) and so the shape of the helmet more than the density of the foam. It can be optimized for a given foam thickness, and then you're done.