skysight-inc/HackerNews huggingface dataset:
I get the points of why people don't like REST, and especially the latency argument is quite true, however somewhat mitigated by http2. But I like that REST is quite easy for developers to reason about.

I actually built a websockets library (more proof of concept) [1] that uses a rest like syntax, implementing something similar to an express API. It exposes both a websockets server and http. It's FAR from anywhere near complete and just a concept. I have no doubt there are better solutions out there, but I just don't think REST is all that bad.

But I do also love @burtonator's idea of maybe not using JSON, but hiding the complexity of something like RPC.

[1] https://github.com/markwylde/restocket
In that case it's not really particularly a problem of senior vs. junior, but one of software jobs in general. My beef is more with the idea that we shouldn't verify whether people that call themselves senior can actually write any code. I've seen candidates with "senior" on their resume who can't even write code at an intern-level proficiency.

When I'm interviewing, I don't mind reversing a linked list doing a binary search. It gives me an indication that the company is actually concerned with whether its employees have some baseline competency. I regard it as a positive signal.
As other posters have noted, one of the biggest sources of lead is window trim. Replacing windows in old buildings is also a serious renovation—for example, I know a landlord who paid about $15,000 to replace the windows in a 3000-sq. ft. duplex about 20 years ago. And that doesn't fix door trim, baseboards, or flaking walls.

But more importantly, I've never met a landlord who'd let a tenant replace windows or sheetrock. And what tenant would spend $10,000+ renovating an apartment they don't own? Certainly this is not a viable solution for government-managed, low-income rental housing.

A large landlord, on the other hand, can amortize the cost over multiple buildings and multiple years, and they can order correctly-fitted replacement windows in bulk. It makes no financial sense for low-income tenants to do expensive, piecemeal lead remediation. It's just another long-term maintenance cost, like replacing the linoleum floors, fixing the roof, or replacing the building furnace. (Of course, it sounds like the housing authority wasn't doing that reliably, either.)
I'm also picky about olive oil. I've heard about countless scams in Italy about fake olive oil on TV. Also to me most commercial olive oils from the South (Italy, Greece, Spain) taste quite mild/soft compared to our olive oil from "Istrska Belica" / "Bianchera" variety.

We make our own olive oil, it is not a commercial endeavour so quality is first above everything else even though this variety is a PITA to grow. It is difficult to prune, more susceptible to various fungal diseases, has a tendency to produce on alternating years but the flavor makes up for those troubles.
Listings in Disputed Regions
Amusingly, you can actually do all of that within emacs:

- email: notmuch/Rmail/Gnus/&c.

- password manager: pass.el (uses pass under the covers)

- navigate directories: shell or eshell, with autocompletion and/or Helm

- task management: Org Mode

- music: emms

Emacs is crazy-powerful!
Can data storytelling help save local journalism? – Transform
This is definitely possible - see Tesla’s prototype battery swap station they ran for a short while off the I5 in California.

Inventory management would be a nightmare though, considering the range of physical dimensions, weight, battery specifications etc. Often none of these things are standard even across a single model range let alone the entire industry. When the batteries are often over 1000lbs and large, it’s difficult to carry a range of spares. I’d imagine it also might be a pretty tough job even in the easiest cases for a single roadside mechanic to perform, given the sizes and weights involved.

There’s also the thorny issue of battery health - what if the replacement has more or less charge cycles than the existing battery? This can materially affect the resale value of a vehicle. At least cellphone batteries were tiny and cheap.
Ironically, the NYT has one: https://www.nytimes.com/2018/07/04/technology/personaltech/t...
Were they real threads that would take advantage of multiple cores or green threads?

I remember the days of the green threads lib on Linux. It abused fork to use multiple cores, so it was really just pushing the problem back to the kernel's process scheduler. It also made 'ps' output ugly as hell on machines running multithreaded code. This was the late 1990s.

I wouldn't go so far as to say threads can't be implemented as a library, but to implement real threads efficiently in a library would require some way for the kernel to expose the scheduler. It would probably be possible for the kernel to provide extremely basic low-level scheduler syscalls and push everything else down into user-space in a more microkernel-ish system. These would be things like "get core count," "get current core," "start code on core X," etc. Given the higher overhead of syscalls vs. user-mode-only code, this might perform worse than threads in the kernel due to a larger number of kernel/user context switches.
This is stupid clickbait - the company is producing ion (or analogous very low thrust) engines that aren't intended for operation in the atmosphere.
I am sure Murmur3 would improve performance, but I doubt it would improve the indexing time very much. I can give it a try.

Update:

In IPython using pyhash library (C++):

import pyhash
h = pyhash.murmur3_32()
timeit h(b"test")
703 ns ± 4.8 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

import hashlib
timeit hashlib.sha1(b"test")
217 ns ± 5.87 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
Yeah... some bars don't do their sound well either. Went to a very small bar to watch a show one time and for the size of the room the volume was far too high and I did not have earplugs. Made the poor decision of staying and getting too close to the speakers as well while taking photos.

Have some (very light) permanent hearing loss and tinnitus from that night and I completely regret it. I'm just grateful it didn't do even more damage
Breathes tech and wildfire smoke
That's always how it worked though. In the cooperative multitasking that people complain about (in early Windows and Mac for instance), "blocking I/O" called yield internally, and you only needed to call yield() manually in long running computations that didn't have any I/O.

What you're describing is bog standard cooperative multitasking.
The amount of recruiter spam being sent to people in fly-over country (or anywhere outside the handful of major hubs by companies within those hubs) is based on the fact that there is almost no cost to sending those messages, and if one in 10,000 pays off the ROI is still probably fantastic for the recruiting firm.

This article is mostly about COL differences and why people may not choose to move, but the premise about the reasons for the volume of recruiting spam is flawed. It's not because "recruiting is hard" (though it is) so much as it can be explained by "sending spam is easy and free".
Tech Rout Puts Silicon Valley on Edge
If you have a couple of hours, watch some of these: https://www.youtube.com/user/RobertMurraySmith/videos

He's developed carbon only batteries/supercaps that beat Lithium ion batteries by something like double the capacity. Some of what he is working on can be overcharged at high voltage and the cell comes to capacity in a very short amount of time.
I was interested in this story and did some digging. I managed to find a WSJ article detailing it from 2000, but it was behind a paywall. I found another website duplicates the article

"A Year After Merger With Ameritech, SBC Still Hasn't Met FCC Conditions"
https://www.barrons.com/articles/SB971041139934224266

I didn't look much for articles about when, if, or how SBC got out of these FCC requirements.
Helium kills iPhones: MEMs oscillator sensitivity to helium [video]
They are referring to news snippets that show up in Google Search (not the Google News app on your phone). Those are one of the most significant sources of traffic for publishers.
Housing Can’t Be Both Affordable and a Good Investment
I'm Italian and I come from Puglia. It strikes me directly. It's a hard punch in the stomach, problem is that people don't want to remove this old trees, they are even centuries old and so they make the disease spread more and more as time progress and as a matter of fact the olive oil selling is their only income.
The state failed, they had no direct order to remove the trees nor economical help.
As an example in my father field where we grow olive oil trees, there are few that has this disease, but my father hasn't removed them, it's a cost we can't afford.
Now put a lot of ignorant agriculturist old men without money that have has the only source of income selling olive oil in front of this disease and you get the results.
We also had increased Cloudfront latency and errors in us-east-1 between 1pm and 2pm UTC (8am-9am ET). Confirmed with AWS support. It also affected AWS API Gateway.
The case against carbohydrates gets stronger
I'm sure you'll be able to fill out a form and get an email a day later, "We're sorry, we've reviewed your case but have decided against you (because we have no reason to ever take any risk)"

The DMCA is a shining example of just how well these appeals processes work...
see: https://en.wikipedia.org/wiki/Better_Place_(company)
It's a great site (outline). I wouldn't bother reading the article. It's basically the same as all others posted in the last 2 weeks re: FB with nothing new added.
Exactly, I rode the one at the University of Leicester a few years ago, and it was a fun experience. Would definitely recommend! It's easy to see how you could injure yourself if you were to do stupid things, but completely safe when used normally.
I think one point is that it's not always about maximizing efficiency. Being on a team really requires some communication that isn't strictly about completing a task.
The Twilight of Science's High Priests
I think he does provide enough evidence. He provides studies that show no difference between sitting and standing in regards to cardiovascular health.

He even provides an alternate hypothesis, that 'sitting' is a marker of poor health decisions not the cause of it.

I'm not sure what evidence you are looking for?
It is faster and more efficient on a long image-heavy page like this, because they're not loading the larger images until the user scrolls to them (try reloading the page and scrolling quickly to see). So it's not entirely pointless.
This quick video[1] is where I heard it, it has some other fun facts about the development of liberty island.

[1] https://www.youtube.com/watch?v=SgZ1f4ACZBQ
Maybe it's just me, but I get the implicature that they tested consensual and non-consensual hugs in their effects on stress, the latter of which seems like it would be hard to get past an institutional review board.
Hmm, the study didn't hand out hugs, but merely correlated people who'd happened to have received them. The study authors already note that "Individuals who report perceiving the availability of a network of supportive individuals tend to show better adaptation when faced with stress." People with a support network are doubtless more likely to be hugged. Therefore it's not clear to me that the hugs contribute anything, or that any attempt was made to control for this - a classic case of "study measures correlation, headline reports causality".
If you have a backup of her phone from around that time you might be able to get the .ipa off of it, assuming it's on an older version of iOS.
Be careful with hybrids, especially if you can't plug them in.

Even the plugin hybrids might be worst for the environment: https://www.bbc.com/news/business-46152853 (transporting a heavy battery and never charge it is pretty dumb).

We really need to skip the hybrid phase and go directly to 100% BEV.
Generally speaking, yes. But Leet code style problems touch on aspects of CS that a senior doesn't practice day to day as a senior's responsibilities are more system holistic.
RSocket is gaining use at Facebook and is beginning to get traction at Alibaba. Spring 5.2 appears that it will also have first-class support for RSocket. There is also a company, founded by some of the creators of RSocket, that are building an open-source application development platform for it called Proteus.
>Sometimes people say that because the Kelly criterion maximises growth rate it will be the best "in the long run" even if your utility function isn't logarithmic. But I've never seen any evidence of this. Does anybody know of a toy model where you can prove the Kelly criterion is optimal even if your utility is linear?

Here's one https://greek0.net/blog/2018/04/18/kelly_criterion3/

Basically it says that if you are making bets where money_(i+1) = f_i(money_i, x_i), such that your money always remains above zero, then you can apply the product form of the law of large numbers http://www.jams.or.jp/scm/contents/e-2006-6/2006-60.pdf

That means that over a long enough period any betting strategy that maximizes the geometric mean of the rates will beat any other bet with probability approaching 1. p(money(optimal strategy) > money(other strategy)) --> 1.

If your utility is monotonic (x > y implies that u(x) > u(y)) then I think this also implies that p(utility(money(optimal strategy)) > utility(money(other strategy))) --> 1.

Basically, you are eventually almost sure to have more money with this strategy than any other. If more money implies more utility, then you are eventually almost sure to have more utility with this strategy than any other.
This is interesting. I wonder how long until people get pwned off of it.
I've worked remotely for a little over 10 years. The approach I like is: start with IM (or sometimes email) and then move to voice if your real-time chat takes longer than a few minutes or a handful of back-and-forth volleys. At some point someone just sends: voice? (which is usually video/screen call). Depending on the problem worked on it means the person in the office (cubicle farm) may need to get up and grab a meeting room to avoid bugging their coworkers with the call. They might respond with a link to the video conference line/room, or with a better time in the future: 2pm?

That way you're not bugging people with a voice call for what turns out to be easily answered questions. But the culture allows for quick transition to voice and you don't get sucked into long IM conversations spinning your wheels due to miscommunication.

Not responding to IM until later with a 'sorry, was heads-down/afk/whatever' needs to be acceptable too, otherwise you get the problems of people expecting everyone's instant response all the time.

That said, I miss the old MSN messenger feature of 'buzzing' someone, which would animate/vibrate their IM window and play a soft buzz sound. I sometimes use the slack call feature for this (just ring and hang up), but that doesn't quite relay what I'm looking for - something less urgent than an immediate voice call, but lets the person know I'm likely blocked waiting for their answer. There's always that game that plays in your head - if I get an answer in < 1 minute, I'll stay on this task; if it takes longer, I'll spin up a different task I'm not blocked on...
I'm sure there are cloud providers out there offering this rather cheap...

And it's only going to be cheaper in the future :)
Prema Entha Madhuram 2018 Telugu Latest Movie
Can eval ever increase performance? I’m thinking that for some types of abstractions you can end up with highly nested, indirect calls, and if you can instead generate new code as needed, maybe it could speed things up? Are there any mainstream examples of this?
Yes, I use aggregators so I don't fall victim (as easily) to echochambers of my own design. All sources are biased, but at least you can hopefully get some idea of the truth by reading differently biased sources.
> There's this terrible myth that I want to kill

Can we also add "have to be where the talent is" that is thrown around often?
Antidepressant withdrawal: reviewing the paper behind the headlines
Climate change on track to make world 'uninsurable'
I so wish this worked with zsh -- great tool, none-the-less.
So are Midnight Commander, ranger, Mutt, tig, htop, emacs and many of the other great programs mentioned here.

I've taken this list to be of thing things that run in a terminal rather than strictly non-interactive programs.
> Maybe if I live in NJ or San Mateo?

NJ commute into a Manhattan office from a suburban home like you describe would pretty much never be less than 50-55 minutes each way, and often longer.
The paper is exactly about those libraries: “We first review why the approach almost works, and then examine some of the surprising behavior it may entail.”
1. This confused me:

$ shodan stats --facets state:50 country:US tag:ics

You might want to add an obvious link on the site explaining what this "shodan" command is and where to get it.

I have never heard of "shodan", and have been using Unix and Unix-like systems since Seventh Edition (or maybe Sixth Edition...). Brew doesn't know about it on my Mac, and apt-cache doesn't know about it on my Debian system.

Going to the top level of your site (which should also have a link on the snippets page), I see that Shodan is some kind of search engine for IoT networks?

From there, I got to the developer site, and found it:

https://cli.shodan.io/

Note: it appears that you have to have a shodan API key to actually use it.

2. Having each one-liner open in its own page seems vaguely unsettling, especially since the description of each on the first page starts with "»". That symbol will suggest to many that the line contains collapsed content, and clicking should expand it to show the snipped. I think that kind of interface would work a lot better (especially if there was an option to expand and collapse all).
Meetings Should Be Shorter
This was addressed in the article. The shares of other sources are down, and the shares of Google sources are steady or rising.
Most news sites have comment sections. I am wondering if someone could post copyrighted material on purpose in the comment section and use the new EU law to sue publishers.
> "Remote" tends to imply a large chunk of the team is co-located, and one or more of the members are not. My experience here is that the remote people tend to not get the memo, or people fail to invite them to meetings because they don't want to bother with the conference room's videoconferencing equipment, or they do invite the remote folks but then the first 15 minutes of the meeting is devoted to figuring out how to work the Polycom system, etc.

100% this. source: am remote.
> It's very possible that only government regulation which forces participation (such as the link tax) can actually work.

Why don't we just make Google give every news org a few million a year then? Why pretend it's anything else but Google directly paying for the news?

Side point, if news subscriptions were reasonably priced (upfront pricing, and billed monthly instead of this odd weekly nonsense), they would probably not care at all about Google.
Oh. I guess I went straight to the blocks of text.
Citation sorely needed. Goldman only raised new grad SWE salaries over $100k in the past year or so. They are currently barely above that. The other banks are the same. The only financial firms that compete with FAANG salaries either don't hire juniors or are even harder to get in to than the FAANGs.

As for publishers, please find me one that routinely pays anywhere near FAANG salaries.

EDIT: changed "SWE software engineers" to "SWE salaries". Oof.
I was 35 when I discovered I'm on the autism spectrum.  how it changed my life
I'd look, but 'Secure Connection Failed' so, maybe next time.
In this instance BBQ is referring to a specific type of food - that is, smoked meats, usually beef or pork, which is then covered with barbecue sauce, which is usually tomato-based. The specific meats, rubs, and especially sauces vary from place to place, and this is what people are referring to when they debate which state or region has better BBQ.

A barbecue could refer to an outdoor grill, but I don't think that's too common in the US. More often, it refers to a party held outdoors in which food is grilled, usually burgers and/or hot dogs.
The French use regionalism with wine to control this without sounding... well let’s just say it: racist.

I’m surprised there aren’t appellations for Italian olive oil, if they care so much about it being domestic.
The article that you are commenting on specifically states that standing desks aren't an improvement for cardiovascular health. The article also states that standing desks can help ergonomic issues.

The article you posted shows that a standing desk can help ergonomic issues, it doesn't mention cardiovascular health.
Does Slack not disrupt your flow? Or putting an email together?
New Jersey housing costs are completely crazy as well, at least for the places that have a reasonable commute to NYC. In addition to the high cost of the houses, you have to factor in the absolutely crazy property taxes. If you don't buy a house but instead rent, larger complexes have insane "maintenance fees".
Is it possible that you're not paying your employees enough?
Yes, I do agree that state schools also need alum support. The large public universities I’m familiar with have plenty of buildings named after wealthy people and are facing budget crises that affect affordability, so they could use more money.

I could see trouble if a state school doesn’t effectively manage endowments and receives too much money to handle, but as long as proper governance exists elsewhere, I don’t see how concentrated donor influence could hurt the school more than the money would help, even if the money weren’t allocated as well as it could’ve been.
Using ARKit on iOS to build a first-person shooter
Here's somebody's list:

https://danluu.com/hn-comments/
I think I get it. Writing mostly in C# these days, my instinct when facing nested ifs is to break things down into functions, as you can then return from a function call in order to break out of that code block. Admittedly the problem then becomes naming the functions and potentially having to pass a lot of local state around. I guess this is easier to swallow in a class-based language like C# where you can simply wrap the variables into an object or make them fields of the method's class.
Run Any Scheduled Task/Cron Super-Cheap on Google Cloud Platform
I can usually recognize when that is happening and I turn it around with something like: "Here is how I would do that...". If its critical to code like a junior then I probably won't be a good fit there.

Bottom line up front here is the difference between seniors and juniors:

Seniors want to accomplish the work so they can either move onto the next task or simply zone off into space. The goal is to accomplish all requirements as aggressively as possible with the smallest result possible. Less is more, but more time is less.

Juniors want to play with tools and code style. Frameworks are a huge deal. Seniors don't want to dick with any of this unless it is in place to intentionally police the juniors. Yes, I understand that juniors can be policed by simply having the proper automation in place, but that doesn't make the juniors feel like they are contributing to a cure for cancer.
Far more important is the search traffic I'd guess, but it will obviously go dark in concert with Google News.
If you’re buying the wood then someone is being paid and incentivised to plant more trees to sell next time.
Alpha zero can access the tablebase. This proof of concept was to let both the engines play with minimal interference of outside pre computed knowledge.
Raises hand, another one who's back doesn't hurt while sitting.
Port of Hamburg plans Hyperloop container transport