skysight-inc/HackerNews huggingface dataset:
Go is not really 'pass by value' when passing slices. It just passes the pointer value instead of doing a deep copy(copying the backing array). When trying to grow a slice in a function, the result is unpredicted because of 'apend' implicitly choosing to allocate memory or not. In addition, it is not concurrent-safe to pass mutable data. To avoid the safety problem, you have to copy stuff and consequently suffer a performance penalty. A better way to solve the problem is to introduce immutibilty. If one day immutibilty is introduced in Go 2(or 3), i wish slices are really passed by value. Then everything is passed by value as default with the immutable data passed by reference. You can still use pointers to pass mutable data just like using '_' to explicitly ignore error handling.

Now in WAT 1,

func grow(s []int) { // s is deep copied.
s = append(s, 4, 5, 6) // changing 's' does not effect original slice.
}

Explicitly pass mutable slice,

func grow(s *[]int) { // s is referenced.
*s = append(*s, 4, 5, 6) // changing 's' will always effect origin slice.
}

Explicit is better than implicit.
BMW launches a personal voice assistant for its cars
I've been attending a lot of edm festivals lately. I can't help but think popular music has moved to become much more timbre based opposed to harmonic based due to the complex human subjectivity. Its much harder to model timbre to harmony than melody to harmony.
Yeah I know I kinda cringe when I wrote that, won't even lie. The idea is to have employers pay $110/month to use the platform. $10 of that would go to https://scripted.org/ which I volunteer with twice a week. It's relevant because the org teaches comp sci in under resourced high schools in the bay area and NYC. (P.S. we need volunteers). The rest is a hella low subscription fee for companies so candidates can have actual companies reach out instead of random as recruiters from India when you upload your resume to Dice.com

You have more questions? Send me email: connor@employbl.com

I'm on linkedin: https://www.linkedin.com/in/connorleech/
Agree to that - my experience exactly. Very recent example. My father's using Skype to talk with family. They refreshed UI, he got new version installed and that was it. I've had to answer multiple questions what does this and that button do. "The same dad, it just looks a little bit different." What I got as an answer was "It's placed somewhere else. It is so confusing. Couldn't they just left everything were it's always been..." Thankfully I have remote access to his desktop so I can guide him around in situations like this.

And I am quite sure removing 'www' on the address bar's domains is as confusing.
A Summary of All Apple Announcements Expected at the September Event
Home Insurance to Protect Your Valuables
An accident can happen at any time, a fraction of second is enough to wipe out anything. The only thing to do is protecting and being secured before with an Insurance policy. As your home is the biggest investment protect it from fire and weather damage to injuries and theft with a Home Insurance Policy.
Isn't that usually called WPA Enterprise?
> Almost all these cases never end up with injured suspect, shot in the leg or something like that.

Having had many friends who are cops, they're not trained that way. You aim at the largest mass available, period. They're not trained to shoot legs or the gun out of someone's hands like the movies. The first motivation is protection via incapacitation.

I do think a set up like Adam Corrolla's shotgun recipe would work for cops off duty:
First round is a blank, second rubber, third a salt pellet round, and lethal rounds after that. If you can't scare or stop them with multiple levels of non lethal shots, save your life.

This entire incident is just so sad in how pointless it was.
The focus of this article is on right-wing extreme content, but I think the tendency is true on both sides. The fact is that partisans are more likely to seek out news content, and partisans are happier with content that matches their prior viewpoint. And so the extreme content rises in popularity and is presented as the recommended option to the less partisan.

It's a worthwhile question as to whether this is a flaw in the algorithm or if the algorithm is simply accurately mirroring democratic preferences. Maybe everyone's tendency is toward more politically extreme content, and youtube is simply giving the people what they want. Which is, after all, what YouTube probably sees as the correct goal.
tl;dr create a brand new, disposable profile. instead of the browser built-in private mode.
The settlement was The Postal Service playing a small concert for USPS employees, so the end result was kind of cute :)
Employbl is not YC. I am going through starup school though because YC accidentally let all 15,00 applicants into the program this year.

There's no about page cause isn't too much to say yet. I do blog a shit ton on Medium though: https://medium.com/employbl
No one should be using e-mail as a file transfer protocol. There are better solutions for that.

I’m glad I could help fix that for you!
I don’t have many suggestions for you. Perhaps reach out to an immigration lawyer? Peter Roberts is one you might consider. I haven’t used him, but he does work for YC and posts regular AMA’s (https://news.ycombinator.com/threads?id=proberts). He seems smart and offers good advice in the AMA’s.

I did also want to say that I feel for you. Clearly, you are type of immigrant that the US should be searching for. At 500k you’re clearly adding value to your employee. And if they couldn’t find a us person at that rate, obviously you have highly valued skills.
I’m sorry our system is broken.

I hired a few H1Bs in the past. They, as a whole, were great employees and filled roles we couldn’t fill easily. Yes there is a lot of H1B abuse. But that doesn’t mean we shouldn’t be welcoming skilled newcomers to a country founded by immigrants.
It is not. I have not seen that before but it looks cool. The site is built using Laravel 5.5, Vue.js and an Airtable spreadsheet.
Google now only knows the first page I visit from its search results. After this update, Google will be able to follow me across the entire web, because it will the one who serves it to me. How is that not a concern?

Are you seriously claiming that the largest ad company in the world is interested in decentralizing the web? Its blog article you linked to yourself says, that the goal of this entire initiative is to increase the usage of AMP by "displaying better AMP URLs".
hahahaha so many companies doing tools for developers to build. Yeah the tagging could be better....
That reminds me of how a few years back, I was able to beat the pants off all the XML parsing libs I could find using a regex in Perl. Like 7-10 times faster.

The trick is that it was a very simple XML format (Apache Lucene/SOLR), where each record was only one level deep and consisted of a set of tags of type, name and value.

The code was damn simple too. Something along these lines:

my %records
$content =~ /^.*?(?=<doc>)/gsmi;
my %r;
while ($content =~ m{<doc>(.*?)</doc>}gsmi) {
my $record = $1;
$r{$1} = $2 while $record =~ m{<(?:arr|date|str|bool|int|float) name="([^"]+)">([^<]+)</[^>]+>}gsmi;
$records{ $r{id} } = {%r};
}

I might have been able to find a solution that was faster by configuring an XML parsing library correctly, but I suspect data marshaling would have eaten most the gains. I probably could speed it up even more by combining the record start/end with the content parsing and making a state machine, but this is damn fast already and about as conceptually simple as you can get, which has it's own appeal.

The moral is the same though, sometimes if your data is simple enough, you can easily beat industry standard solutions with minimal effor because throwing away their (for your case unneeded) flexibility can yield speed.
Society has hit a new low when the Institute of Electrical and Electronics Engineers succumbs to clickbait headlines.

Compare:

Everything You Need to Know About WPA3

and:

WPA3

What is the difference, besides a creepy parental claim of knowing what I need to know? It's empty filler and often a lie. It should be struck from every title.

- "Everything You Need to Know About the Electrodynamics of Moving Bodies", by Albert Einstein

- "Everything You Need to Know About My Early Life", by Winston Churchill

- "Everything You Need to Know About Harry Potter and the Deathly Hallows", by J. K. Rowling
If I was one of these drivers damn right I'd have CCTV cameras in my car. It's not just malicious reviews they have to worry about, potentially they have to worry about malicious complaints to the police too.
DUDE. I'd be so down but as you can already see there is so much going on here in SF. It takes a lot of manual work to grab the company addresses. If you'd like to work together and collaborate on adding companies I'm totally down. Best email to reach me on is connor@employbl.com
Maybe so, but he also says ...

> To this blurring is added quantum indeterminacy. The ignorance that follows from this determines the existence of a particular variable—thermal time—and of an entropy that quantifies our uncertainty.

... and ...

> The variable “time” is one of many variables that describe the world. It is one of the variables of the gravitational field: At our scale, we do not register quantum fluctuations, hence it is possible to think of spacetime as determined. Hence we can think of spacetime as being as rigid as a table. This table has dimensions: the one that we call space, and the one along which entropy grows, called time. In our everyday life we move at low speeds in relation to the speed of light and so we do not perceive the discrepancies between the different proper times of different clocks, and the differences in speed at which time passes at different distances from a mass are too small for us to distinguish.

But whatever, I am moved to read his book :)
Hey for sure shit changes pretty fast. For instance Prosperworks changed it's name. Please send me an email: connor@employbl.com and I'll fix it!
I just think that installing a weather app in general is stupid.

I just dont see the actual need to have one installed for the vast majority of people.

Systems need weather apps/information: ships/boats, planes, etc...

Your phone does not. Nor your desktop.

There was a ship that was getting delayed weather information [0] and it sank and people died - and so its clearly important to track weather on ships and plans and transport that will be at risk in inclement weather.

Otherwise, look out the window, or read the weather off google.

Never install a weather app...

[0] https://www.youtube.com/watch?v=YxTwfYH-PwI
Pretty much since the internet. I define tech companies as companies that hire people that sit in front of a computer all day
> giant industrial mini-spit-style air conditioners

With mini-splits, the piping carries refrigerant (which actively participates in the thermodynamic cycle, rather than just being a simple heat exchange fluid), but the problem is that you need quite exacting standards for the air-tightness of the system, the materials used, and the pressures can be quite high. Also, combining multiple refrigeration units is...tricky.

Usually the way industrial-scale cooling/refrigeration is done is with devices called "chillers", in which all the refrigerant is entirely captive inside the chiller unit, and all you do with the chiller is hook it up to a supply of cooling water to dump heat into (or directly expose it to outside air), and you feed it water that it will cool down. Also give it an electricity hookup.

You then use the chilled water to cool down whatever you want. The advantage is that you've reduced the problem to just moving around water -- which isn't a mixture of multiple exotic fluorocarbons and compressor lube oil with special handling needs, it's just bloody water (don't drink it though, there's all sorts of dissolved metals and antifreeze and biocides).

Modern chillers are wonders of engineering, some even have active magnetic bearings that levitate the moving parts with fancy diagnostic/instrumentation systems that can tell you, to the micrometer, the position of the levitated shaft (not kidding, http://cgproducts.johnsoncontrols.com/yorkdoc/160.78-o2.pdf page 37).

But yes, it's absolutely possible to do what you suggest, it's just that you'd end up moving chilled water and not refrigerant.
Ask HN: how to start a startup when you need a proper salary
Most startup stories describe how the founders at some point were not getting any salary, sharing rooms, sleeping in a couch, and barely sleeping. Is that the only way to be successful in a startup? What if you have two kids, a wife and a mortgage, should you just trash all your startup ideas and forget about starting one? What's your opinion and can you share any relevant story?
There is no implication as the post said nothing about the homeless.

> That's how the immigrants do it

Not really. Lots of generalizations there about immigrants. Some might have networks but many come here on their own with nothing and grind it out for decades to build up their lives. The key is persistence.

Your post seems to be full of assumptions and complaints which makes it clear that you likely have never attempted to get such a job, because it's definitely not as impossible as you make it sound. Also, when you're homeless, anything is better than nothing.
Ask HN: What it takes to call yourself a senior engineer?
What it takes to call yourself a senior engineer? Does age matter? Can you call yourself a senior after few years if you are really smart and willing to learn even more? What if you see gap between your colleagues and you, even if they are older - do you have to wait anyway? Or maybe age doesn't matter. If so isn't it strange to say about yourself a senior, just few years after graduation? What if you switched career path - you are expert in one tech area and then switched to software engineering and you are pretty good at it but can't count 10+ years in there? Or at least you feel you are pretty good... But can you judge by yourself, really? And most importantly when should you respond to senior engineering job posts? It is all too vague.
I don’t really disagree with you, but we’re talking about China here, is the situation even similar there?
Did those happen to be Go developers? Just curious.

Interesting language, but some peculiar fanboys.
I asked a network info app developer why it's not possible to at least track and control network connections on iOS, like Little Snitch does (or did) for MacOS. "iOS doesn't support that". Well, duh? I don't even know what to think. Knowing where the iOS device connects to will be a huge help "cracking down" on BS apps!

And then I read in the comments that it might be virtually impossible for Apple to detect malicious/privacy breaking behavior, or consumers should go pay for apps that are good. Right.
> I don't get why they couldn't have kept a simpler / more familiar framework with ipv6 as an option, even if less ideal. Ie, DHCP vs autoconfig stuff

That's a statement made with 20 years of hindsight behind it. But if you had an extra 5 or so years of hindsight then it'd make more sense.

DHCP only predates IPv6 by two years (October 1993 on RFC 1531, vs December 1995 on RFC 1883). AppleTalk and Novell NetWare were still fairly common around that time. You're looking at DHCP as if it's ubiquitous, which indeed it is now, but it certainly wasn't while v6 was being developed and wouldn't be until a good few years afterwards.

In fact, router advertisements were defined in RFC 1256 in 1991, so they have two years of seniority on DHCP -- although I suppose you could make an argument that DHCP is a standardized set of BOOTP extensions, and that BOOTP has been around for longer.
Once you cross $1M, $5M, $8-10M you should be re-negotiating rates with any provider.

An example, we used Stripe for an ecommerce client and once they crossed consistently more than $100k/month we were able to get them a better rate, but a couple of years later the client returned to us and their revenue had grown many times over and so we helped them do a competitive price analysis (+dev costs). In that analysis we included banks, even firstdata who I loathed prior integrations to them, and we were able to significantly save them money integrating to their primary bank directly.

Rates are extremely variable so it is hard to tell you what you might get just on revenue alone because processors/clearing houses also take into consideration business risk, charge-backs, company financials etc. For example, if you are an e-commerce company that sells common low risk household items you'd have a much lower rate than say if you were an e-commerce company selling porn products. Likewise, if the company is less than a few years old you will continue to pay higher rates than if you are 5-8 years established or more. Lots of factors.
> Faster or lower latency?

Yes.
I think OP means any non-volatile, 1TB +/- an order of magnitude storage. Most of us don't care what the physical media is as long as it's durable and fast.
You can sue for your green card, my friend did it, cost him a pretty penny, but look into an immi lawyer. It’s not a guaranteed method, but it is at least equal to and potentially greater than nothing..
As a Turk I do not find the name offensive at all and I am certain most Turks would find it amusing had they heard of the product/service.
You might be more correct than the other guy, but I'm holding you to a higher standard, Wramblin' Wreck.
All of that can be true and Amie Wilkinson's campaign of harassment would still be vile and disgusting behaviour, unworthy of an adult of any kind. She got the paper withdrawn from two different journals, and got Dr Tabachnikov to withdraw his name from the paper.

What do you think of Dr Wilkinson's behaviour? Because that’s what the article is about, a campaign of harassment from a woman in a position of power.
Say what you will about the undefined behavior, but C has great tooling :-).
Thinking about Syncing, Part 1: timelines (2017)
It's repeatedly emphasized in the article that the recommendations algorithm gives viewers "what they want to see" and what has high engagement. Unfortunately it looks like these criteria seem to push towards fringe and extreme content because that's what evokes people are interested in watching and causes them to react. YouTube, on its part, probably does not intend for it to be this way, but seeing as its goals are the same (albeit to maximize ad revenue using these guides), I'm not optimistic in this being fixed unless there's a massive rethink on how to surface content to users.
yes, probably.

but the situation makes me think about the way OPEC nations tried to fight back against Texas shale oil production: lower the price per barrel for a while and squeeze highly leveraged shale producers and their financiers -- make it more risky for them.

I wonder about the longer term equilibrium.
Most of these don't provide anywhere near the advertised wattage. And when they do, it's usually in direct bright sunlight (i.e. depending on where you are and what season it is, it can be that efficient only for a few hours, and sometimes none at all).

If you want a decent portable solar panel, get the non-flexible monocrystalline one.
This sounds pretty similar to every other auto manufacturing job I've come across. They all work long hours. That's part of the reason why they are often highly sought after jobs. An opportunity to make a lot of money with very relatively little skill or training, the trade off being personal time.
I listened to the A16Z podcast recently on the refugee crises in Syria[1] where they talk about a generation of people that will have missed out on secondary education due to the war there. I'd be curious to know what positive actions you've seen taken (or heard of) that can help address the issue?

[1]:https://a16z.com/2016/12/15/refugee-crisis-mobility-technolo...
Yes, and it's still there.

If it goes away, I'll be happy to provide copies. Or put it up somewhere secure.

And FYI:

> At this point, faced with career-threatening reprisals from their own departmental colleagues and the diversity committee at Penn State, as well as displeasure from the NSF, Sergei and his colleague who had done computer simulations for us withdrew their names from the research. Fortunately for me, I am now retired and rather less easily intimidated—one of the benefits of being a Vietnam combat veteran and former U.S. Army Ranger, I guess. So, I continued to revise the paper, and finally posted it on the online mathematics archives.
I think they may have relaxed that requirement a bit recently, so that you remain logged in if you click a link that opens in a new tab.
The reality of quantum computing could be just three years away
For Apollo, it wasn't so much a "mistake" as a conscious decision to save weight. The Gemini IMU used 4 gimbals, and so avoided the issue entirely. Apollo dropped the weight of the extra gimbal and instead required the pilots to avoid flying in certain orientations.
Does that math only include people who weren't deliberately starved to death or murdered? Seems difficult to reconcile those claims with history unless you're excluding pretty wide swaths of people.
Just anecdotally, Youtube's recommendation system seems effectively self-referential. On virtually any subject I look at, recommended videos seem to cycle between just a few themes or even just a few specific videos. I think there's a logical reason for this.

I imagine for a given topic you wind-up with:

[broad video] related to
[other broad but unrelated video] plus [extremist video].
And
[extremist video] related to
[other extremist video only]

Since youtube's recommendation system is entirely naive, once you choose [extremist video], that is the video that gives the system the more specific clue and thus [other extremist videos] will be what's recommended.

It's a function of naive recommendations as such. If a system knows that X likes two videos, one that the entire population likes, one that only "metal heads" like. What can it recommend? Metal is the only sensible thing. And if the system then shunts many people to metal and they seem to like it, metal will count even more as a logical recommendation.
But you are sending personal data (ip address) to a third party by directly connecting to their service. Not sure about canadian privacy law, but eu company would need to list this third party in their policy.

edit: just realized this comes across like bikeshedding. I do applaud and like your approach to privacy and its simplicity. It wouldn't decrease the appeal of your app at all to mention that you query the environment canada data, which is probably a public service and will not missue the data itself).
No, because a change on that display either precedes a change in temperature or lags behind one. A thermometer would strictly be the latter. That you have no control over it does not change the nature of what it is.
There is no clear delineation. VP is usually higher than Director, although some companies have it the other way, and VP titles can have many levels like AVP, SVP, EVP, etc. In some companies there is a Managing Director instead of a CEO.
I don't know what browser you are using but in my experience, Firefox is faster than Chrome :)

For the performance we really have to thank the folks of js_of_ocaml!