skysight-inc/HackerNews huggingface dataset:
Show HN: useStore() - a reactive alternative to React's useState()
I have a Kobo and haven't had any complaints (though they're often not as cheap as Amazon though).

P.s. I wasn't sure if you were saying this, but I don't think Kobo has anything to do with B&N.
I disabled umatrix and ublock entirely and it still just loads a white page in firefox. I assume because I'm blocking cookies? Not sure why they're necessary
NASA performs successful test of orion spacecraft launch abort crew system
But not consequential losses which is what the parent mentions.
Looks like a datacenter here would have more cred than that datacenter “in the catacombs of Paris” we read about couple of weeks ago.

Article says it's mostly warehouses but given that temp, looks like it would work well for Datacenters. Do datacenters in general use geothermal energy for cooling?
I find assembly is better for that. The trouble with C is the model it uses is 30 or 40 years out of date by now. Computers have changed a lot in those years.
Lets take my example and say you had a recloser that is stuck, but could be fixed by sending a command that would perform a manual close. Or maybe, you wanted to set the time threshold for the closing.

a) Would you send a lineman out to the recloser and have them manually configure it, spending probably hours doing so?

b) Or would you have some operator press a button in a piece of software to engage the recloser (thus, ultimately, writing whatever register in the device to perform the closing)?

Now multiply that scenario to the potentially hundreds/thousands of reclosers in the field.

Companies are going to choose b) every time.
I'm inclined to start doing it too; I'll try to wire something up this week that saves to my NAS over LAN. From time to time, I browse my "Liked" / "Favourited" videos on YouTube to find something I've seen years before, only to discover that it's gone.
Take the all occurrences of the word "blockchain" out of this text, and it would not take away anything from this article.

Sounds like the author has no idea what he is talking about, and is forcing blockchain into the article when it has no relevance.
Yeah. I'd like to know that too.
I'm running openjdk-12 but my book is for java (1.)8. Why is Java lagging behind so much or is there just so little change?

Anyhow I have openjdk-8 installed separately for college and just experiment with what works between versions.
Amazon introduces computer vision into warehouses
Side note / question to real physicists: I am curious, for example, why general relativity does not break conservation of momentum in 3D, given that it seems like warped space time (to my lay perspective) violates 3D translational symmetry. For example, how do wormholes or the Alcubierre drive not violate conservation of momentum?

Edit: Removed my own confused interpretation of the article’s confused interpretation and correction footnote.
When I was in a record store a couple of months ago, three things occurred to me.

The resurrection of vinyl and the health of that market makes sense to me.

The death spiral of the CD worries me (my preferred format).

The fact that people are still buying cassettes mystifies me. Poor sound quality, low res art, serial access only, and quick degradation?
There have been a number of attempts at carbon pricing. One example is the UK

>In 2013, the UK became the first EU country to introduce a carbon price floor, now set at £18 a tonne

Some results:

>In 2012, the UK ranked 20th out of a list of 33 rich countries in terms of low-carbon electricity use. In 2017, it jumped to 7th. No other country has ever climbed up the rankings so quickly, according to a study by Imperial College London.

and

>UK power from green energy set to surpass fossil fuels in 2019

so it seems to be working at least somewhat. But:

> the UK measure has come under mounting pressure from troubled steel companies and other heavy power users who claim green levies make electricity more expensive, giving international rivals a competitive advantage.

So overall it seems successful but it's complicated. A lot of other schemes also seem to have complicated effects so it's hard to say yeah it's all good but overall they are probably an improvement on doing nothing.
Or everything happens, it just happens all at once.

Imagine a 3D object squashed between two glass plates until it's a single plane. You can see everything without changing focus.
16K monitors? What size of monitor do you expect to use? If you sit 2 feet away from your monitor, you'd need a 57 inch monitor to resolve the pixels.
NPR's Guide to Hypothesis-Driven Design for Editorial Projects
I was dragging my feet to build a log shipper solution. I was going to use Filebeat -> ElasticSearch -> Kibana.

This looks great. My primary attraction is possibly low memory footprint of this program over Filebeat. Secondary attraction is how easy it appears to enable transformations.

Now, if I can make a suggestion for your next/additional project.....
A neat system metric collector in Rust that can export to Prometheus with same principles.

Low memory footprint,

Rust,

Single binary,

Customizable with a single config file without spending hours in manuals,

Stdin, Stderr -> transform -> Prometheus.

I’m learning Rust and eventually plan to build such a solution but I think a lot of this project can be repurposed for what I asked much faster than building a new one.

Cheers on this open source project. I will contribute whatever I can. Thanks!!
BiDirectional text for terminals specification and initiative
I have a similar feeling, sometimes. It crops up whenever I stop coding on the side, for fun, for more than a month. The playfulness just gets lost over time.

Last week my motivation went to almost 0, and it took me a while until I discovered the why: I had been stunned by the SwiftUI demos, and wanted to get my hands dirty. But I hadn't had ANY time to dabble around because I had overburdened myself with promises to various customers. What I did felt very far away from what I actually wanted to do, and it got worse every day.

When I finally understood what the problem was, motivation started to come back. I played around with SwiftUI for only 5 minutes yesterday, and feel so much better already.

Do you have a side project that you would love to spend all your time on? (doesn't have to be coding)
Partially taxes, but mostly unique regulations and lack of pipelines:

https://www.forbes.com/sites/ellenrwald/2018/09/28/californi...
Agreed, working with a group that is taking on this problem and doing very well. They get their hardware and ML onprem. Then comes distributed, differential training on encrypted EMRs.

The big key to success is creating a system radiologists want to use. Focusing on quality control before FDA. Building an ecosystem where hospitals make money be granting access to the data from the ML apps which can be uploaded through the dev portal and trained on data they would never have been able to access.
I recently listened to this podcast and found it very clarifying. The main point is about how to organize life around a central, organizing purpose in order to find joy and happiness.

https://youtu.be/B1rNtdfOpNY
Raleigh includes everything from downtown apartments to suburbs. There's quite a spread. Apex is mostly suburbs, albeit the nicer suburbs where stores are a quick drive (5-10 minutes) away.

$700K is definitely at the upper range of new construction in Apex. That new house will also have a lot of upgrades. There's also a particular part of Apex (the parts that are basically Cary) where you'll see those prices. Move further south away from Cary and Raleigh and the prices in Apex drop very quickly.

I think where you'll also see the "We could afford Apex but not Raleigh" also has to do with the age of the home. ~$450K will get you a nice new home in Apex in a community with amenities (e.g. a pool, clubhouse, etc). In Raleigh you may end up in a smaller older home that needs a substantial amount of renovation.

There are 1000 other nuances of course, but hopefully you get the idea.
Lower oil prices is great for everyone, you underestimate the great benefit of cheap energy if you think that way.
Your example of a sector where we can’t use conservative technology to make progress is space travel? ;-)

But look, I see your point, but the “counterpoint” doesn’t actually disagree: the point is that a lot of incremental improvements in infrastructure feel transformative, but you get to pay the full cost regardless.
Suburbs are way worse for children than cities are. As a teen/pre-teen in a city you have independence, you can go to places with your friends and hangout. Suburbs make your children dependent on you for rides and consequently stunts their emotional maturity.
The Ugly Truth
User karma is public, did you mean comment score?
I have a unreleased feature that uses the places api
Random Surfaces Hide an Intricate Order
Unfortunately I have to agree. I went straight to the JavaScript-less browser I do most of my text browsing on (and which HN works fine on), and just got a blank page.

I love HN's minimalism.
Blank page without javascript.

Unreadable with an ad blocker.
typically on amazon you can find cheaper physical books via alternative sellers like bookdepository
Chinese border guards put secret surveillance app on tourists' phones
Remaking Readme from the Beginning
This isn’t exactly an unfounded principle.
Lifekeys | Junior front-end developer, full stack developer| Bergen, Norway | Onsite | https://www.lifekeys.no/

Lifekeys is an online psychology platform we provide video consultations with clinical psychologists. Lifekeys aims to be the leading provider of online mental health solutions in the Nordic countries by 2020.

We are in the process of upgrading our tech stack for improved scalability and modularity:
- Container based architecture
- API services in Golang
- React

We provide help with finding accommodation if you are not already living in the beautiful city of Bergen

For more information, email me at pierre@lifekeys.no
UniKey | Android Dev | Onsite @ Orlando, FL

UniKey is replacing the keychain with the smart phone. We want people to be able to get into their homes, their car, and their office with a phone instead of a key/fob/card.

We do this by partnering with existing lock/reader/car manufacturers to create smart lock products that work via BLE. Some of our partners include Kwikset, Andersen Doors and Windows, and Honeywell.

Checkout our culture here: http://bit.ly/31XMNgi
Apply here: http://bit.ly/2JhRWaC
also you have to buy a device to read them on
This is a bit embarrassing, but I c/p the wrong link for our senior fullstack position, proper link goes to: https://stackoverflow.com/jobs/156677/senior-fullstack-engin...
what you make of this conversation ? I am curious to know how other feel about this.
How do they handle the exhaust from vehicles inside the mines? I've seen cases where they only allow electric vehicles with no exhaust inside facilities like this.
Developer friendly setup of Linux based system ( Ubuntu)
We're trying to minimize and discourage the use of monads, not encourage it :)

Having said that, monads don't compose well regardless of language.
Holy hell did everything explode at work, glad they got it resolved pretty quick.
Can you use your own nameservers that delegate to cloudflare or akami 50% each, then adjust? Is there a service more suited for this than r53?
I've got Cloudflare captcha just yesterday when logging in to Namecheap
Five different ways to approach pair programming
>> In most relational database management systems (RDBMS) views are not persisted/materialized or indexed separately.

Right, which is why they're great. You can materialize a view, but then you have to manually refresh. And they are actually incredibly performant.

How they work is they are basically treated as a query clause. For example you query "Select * from my_view where key = 1" and it intelligently executes "Select * from base_table where key = 1 and record = latest" (That is to say, it doesn't stupidly requery the whole base table each time, nor is there any risk of inconsistency)

The query optimizer is incredibly smart and honestly pretty sure this can scale beyond the needs of any startup.
Chinese authorities install app on phones of people entering Xinjiang
Wouldn't that be equivalent to loading i and N into registers, so that a conditional jump would be fast?

i=0
StartLoop:
i+=1
do_stuff_0
do_stuff_1
REG1 = i, REG2 = N
do_stuff_2
do_stuff_3
if REG1<REG2 goto StartLoop
I don't know if others do this, or if the Rust style guide particularly sanctions it, but in match sections that get overly verbose like that, I find it useful to do a local use statement to pull the enum variants into scope. E.g.,

use image::ColorType::*;

match ... {
RGB(_) => DynamicImage::new_rgb8(w, h),
RGBA(_) => DynamicImage::new_rgb8a(w, h),
}

If you don't necessarily want the variants in the broader scope, it keeps them out of it, but within the local context of the match, the reader often will know what's being referred to. (And if they don't, the use statement will tell them.)

Also, the author already has DynamicImage available in the scope (there's a use for it at the top) so the image:: prefix isn't needed in that section.

There's also what looks like a manual expansion of try!() in run(), that could just be create_diff_image(...)? which would be less verbose.
All of which 95% of those edge cases are most likely programmed leading to saving humans countless times in the most situations to the point they don't even realize it.

Why do you think flying is so safe? It's because of automation and redundant systems.

Do things go wrong? Yes. But imagine how many things would go wrong if you gave people a 15,000 line check list.
Try some cold outreach for conversations. I'm doing that before spending anything on marketing. Good luck!
ah so this is a tech forum where we avoid talking about any inconvenient issues like inequity in tech
iOS Safari Tabs – “Can It Be Done in React Native?”
Using the floorboards and rafters of the house as heating fuel is great for the householder... Until it it isn't.

We built a system that depends on borrowing from the future, and it's abundantly clear it's running out of available credit.
Reminds me of the old limestone mine where federal employees still maintain a paper-based database system. Source: https://www.washingtonpost.com/sf/national/2014/03/22/sinkho...
Simplify working with parallel tasks in C#
People say “the two hardest problems in computer science are cache invalidation, naming and off-by-one errors” and we often design systems so that we don’t have to think about cache invalidation and off by one errors (e.g. list.map rather than a for loop). I often wonder if we should think about minimizing how often we name things as well.
Responsive Design Ground Rules
Location: Lviv (Ukraine)
Remote: Yes
Willing to relocate: No
Technologies: PHP, Symfony, Laravel, JavaScript, Angular, Vue
Portfolio: https://echoua.com/case-studies/
Email: office@echoua.com

---

I'm a tech lead in a software development company.
My team has experience in online retail, IoT, telecom and event ticketing software development. But now I'm looking for new offers and engaging projects. If my experience (5+ years back-end developing with PHP, Symfony, Laravel) doesn't appropriate to you, I can recommend my colleagues with experience in other tech areas (JavaScript, Vue, React).
Ask HN: What type of relationship do you have with your car?
If you have a car, truck, motorcycle, or helicopter then, chances are, you use it to get around. I have a 2002 Impala which I purchased for $500. For me, reliable transportation was a necessity. Some people need a vehicle to commute to work and take care of other necessities, including entertainment.

Does your car run great? Have you ever modified or considering modifying it in any way? Do you maintain it properly? Do you change your own oil?

If I was hip enough, I'd call myself a "maker". I love tinkering with things, learning how they work and figuring out how to make things better and more efficient. I wanted better sound, so I learned how to install speakers, head units and amplifiers. Running wires can be painful! I wanted to improve performance, and have spent many many hours tinkering and reading. For me, my vehicle is a big project that keeps me learning and entertained, as well as "on time"!

What type of relationship do you have with your vehicle?
>A large vessel pays up to 30,000 euros a day to dock in the harbor

In situations of overcrowding, it seems the obvious solution is simply to raise taxes and fees, in order to lower the number of tourists. This would raise more revenue from each tourist while cutting maintenance costs which are driven by volume.

Is there some non-obvious reason this isn't done?
> Lets screw up the environment by not quitting our society's oil dependency so that a few shareholders of [INSERT_RANDOM_OIL_COMPANY_hERE] can enjoy all the $$$ while future generations (and probably us too given how fast this go) get to pay the price.

This is sanctimonious and inaccurate. Oil allows our consumer culture to exist. We make plastic crap with oil, we import it from China using oil, we deliver it using oil to an amazon warehouse, and then deliver it again using oil to a Prime Member. That cycle, in turn, supports everyone else’s job. Indeed, the very web is built in that oil consumption cycle, since Google runs the web and 98% of Google’s business is helping sell more plastic crap to people.

Oil and gas is not particularly profitable. In fact it’s less profitable than average: http://pages.stern.nyu.edu/~adamodar/New_Home_Page/datafile/.... Return on equity is single digits, versus 20%+ for companies like Facebook.
Not only this, he doesn't seem to understand fracking is not a new technology. Horizontal drilling is along with several others. It is these which make fracking ops viable.

Most people want to improve the environment. They way to do that is not legislating in controls on production because then we just import from ME and pay to secure shipping routes in that region. Instead, legislate in incentives to reduce demand (electric car subsidies etc.).
Things of a similar density and frontal area fall thru the air at about the same rate in general. Think of the space shuttle re-entry tragedy where the majority of the parts fell to ground in a sort of shotgun tight pattern, no random parts surprisingly hit Hawaii or glided over to Japan.

Maybe another analogy is they used to make lead shot by dripping liquid lead down a couple hundred foot tall tower and the balls always seem to land about the same place although they're not identical compared to ball bearing production for example.

A lot of the expensive and interesting aerodynamics research into blunt bottomed re-entry vehicles for spacecraft and ICBM payloads goes into the difficult task of getting a stable non spinning stable capsule and a reasonably high lift to drag ratio for moving around to navigate into a target, IF you need to move around, which was needed a lot more for ICBM MIRV warheads than for manned capsules.

Ironically the navigation of the manned programs was excellent such that they didn't need to use much of the possible L/D ratio maneuvering on re-entry, can just reenter the command module ballistically without requiring any navigation corrections, and if the service module is also coming in ballistically because of a software bug, they're gonna end up pretty close together. Now if pre-re-entry navigation was messed up (maybe on purpose to keep the SM and CM apart, as it probably should have been designed?) such that on re-entry the command module had to tilt slightly to use its L/D ratio to glide slightly north perhaps 200 miles, then rather rapidly the CM under controlled flight would be 200 miles away from the uncontrolled ballistic SM. However, navigation was so perfect they both just kinda fell into place...

I found a nice report from googleing from NTRS where they analyzed the data from the actual Apollo 4 test flight and the CM had a ridiculous near straight line L/D ratio between 0.36 and 0.38 for almost the entire re-entry, probably as designed, which must have made the flight computer math requirements very simple for those old days. Of course if you are dead on course you don't need any navigation corrections on re-entry at all, resulting in the SM almost landing on your head because it was uncontrolled due to an oversight.
Agreed, JSX/TSX feels so incredibly natural it's hard to imagine giving it up, and starting a significant JS project in 2019 or 2020 without using TypeScript would feel professionally negligent to me.
Location: KS, USA
Remote: yes
Willing to relocate: yes, depending on location
Technologies: JavaScript, Ruby, C, C#, ...
Résumé/CV: https://docs.google.com/document/d/194yDEIJnUkRpbqsCuBPQC_eS2_ZIqpomGb8TWYZ4lFo
Email: dillon.aumiller@gmail.com

10+ years experience developing. Open to working onsite or remote (have been working remote 4+ years). Focused on React and Angular in current position (web frontend lead); also love working low-level/embedded/C.

Most industry experience has been around online finance. I'm also interested in working on developer tools, internal tools, or anything with software+hardware.
Which VR Headsets Have the Highest User Satisfaction?
Here's some video footage of the cruise ship ramming that was mentioned in the article. https://www.youtube.com/watch?v=GyCLhvxpQt0
A fiber will appear to be a thread. You can even call Thread.currentThread and get a consistent Thread object representing the fiber. This is done so that as much existing code as possible would be able to run, unchanged, in fibers. We may (or may not), however, introduce newer, better constructs that new code will be encouraged to use.
Source video at https://www.youtube.com/watch?v=ePQsnhayam4 if you want to skip boingboing
They're not countering falling demand, so much as trying to keep prices high in the face of a wall of supply from the US. They're constraining their own supply, while the US absorbs most of the demand growth. OPEC's forecast for 2019 remains for an expectation of about a million barrels per day of global growth, mostly coming from India and China.
> In my experience, HN definitely has a problem with actively discouraging dissent

Do you think so? The "punishment" for extremely unpopular opinions seems to be a few downvotes, which are bounded below by -4. Thus the net effect is that your message appears below others. I cannot see how this can be construed as "severely discouraging dissent", it seems rather mild to me. In any case, I am not afraid to express my strong dissent on any topic here, and if anything I find the downvotes that I get rather amusing.
Which parts do you find out of date?
It doesn't make the negatives go away but it could mean it's a net positive which changes what to read into it.
100% clean energy is decades away, I'm not such a pessimist to presume we will have no grid improvements by then. Marketplaces themselves are already straining due to the cheapness of renewables at certain times. Batteries plus renewables will avoid some of this, but overbuilding capacity and demand response with EVs and industry should be another component. I also expect utilities to buy access to appliances and heating and cooling and dynamically control their customers' use.
Hillbillies Need No Elegy
For my own clarity: Do you intend more of a "flip a coin" meaning or more of a "we should inherently already know what the answer is" meaning?

My density today is more than average.
The easy way to implement a carbon tax is to tax at major sources, like coal mines and oil wells, and let the producers pass on the cost to everyone else. It's not terribly difficult to assess the amount of coal produced by a mine.

It's also fairly difficult to move a coal mine to another country. Of course, people could import their carbon-intensive goods, but most proposals include tariffs on countries without comparable carbon fees. Tariffs like these are explicitly allowed by trade agreements.