skysight-inc/HackerNews huggingface dataset:
If I'm recalling the timeline correctly, France placed a moratorium [1] on all fracking activity many years ago. I believe they were the first to try to ban fracking in 2011. That was fought over in court, with the government winning. Then they became the first nation to ban all fossil fuel extraction in 2017.[2] France has two large shale areas that would have been good for fracking, the Paris basin and the South-East basin.[3] Energy companies were eager to try to develop those.

[1] https://www.nytimes.com/2013/10/12/business/international/fr...

[2] https://www.theguardian.com/environment/2017/dec/20/france-b...

[2] https://i.imgur.com/QO68cyO.jpg
I don't mind elaborate. Its the melt bonded plastic packaging, with twist ties that you can't get to because of tape, cardboard and more plastic.

So elaborate would be fine, so long as I don't need a tool kit.
I fought hard for that as well among friends and colleagues. Here's my take on it:

* I view vue/react/etc as a sort of polyfill for webcomponents.

* I also look at JSX and Vue templating as just that -- programmatic templates that serve as a guideline for the HTML they create.

That's what lets me sleep at night.
What is being coded makes a big difference in development cycles. Most of what I am currently working on are small services that log everything they do anyway so adding some debugging output to the mix doesn't change much.

Where I have seen debuggers being useful at every point in the stack from kernel to compiler to loader and beyond is with ports. If all you are doing is running some existing well understood code on different hardware then being able to poke at the internals when things go wrong can often help find the cause quickly.
GitTools/GitReleaseNotes: Easily generate release notes
We also want to be careful not to make rehabilitation available only to prisoners, so that nobody is tempted to commit crime to get help.

My ideal solution would be something like this: end the war on drugs, make community service a part of as many sentences as at all possible (and certainly all white collar crimes), then separate the component that are dangerous in such a way that they will have no contact with any other prisoner, so that they don't learn to be better criminals. These are the people which we will have to give up on.

Of course this proposal is politically impossible, as it pisses of all sides, but it should be possible to at least increase the number of community service sentences.
I definitely agree with the premise of this post. For me the sweet spot of functional programming is learning the most important principles—quarantining mutable state and side effects, declarative data transformations, higher order functions, etc.—and then bringing these patterns back into more ‘practical’ languages.

A good example is the immer.js library, which takes the pain out of immutability while retaining the most important benefits. Instead of bending over backwards to transform hierarchical data with lenses and the like, you just mutate a ‘draft’ copy imperatively within a bounded context. While it has its limits, it’s often much quicker to write and easier to understand than the equivalent ‘purely immutable’ approach without any real downside.
Well he was caught killing the young child. Don't you think the public deserves to know who he is? How guilty does one need to be?

https://globalnews.ca/news/5018332/police-on-scene-of-seriou...

> When police arrived minutes later, they found a man, 29, attacking 17-year-old Jaime Adao with a weapon. In order to stop the attack, police had to shoot the man.
I couldn’t find the tool you mentioned but I found a thread on another site about a GAN that can upscale images, and using that one to generate highres textures.

https://www.resetera.com/threads/ai-neural-networks-being-us...
> All developers did was replace their mysql_*

They did? All of them? Nobody moved to paramaterized queries?
Because Europe has a social safety net. In Germany, for example, if you are a homeless German citizen, the government will provide you with an apartment which includes running water, internet, television, and a refrigerator, and they will give you a small allowance of spending money.

If you want to see massive homeless populations in Europe, go to Brussels.
Heuristics on Approaching Example Mapping
Dashcam video shows Tesla steering toward lane divider
Water is a great radiation barrier. The "nuclear" failure option for a floating plant, sinking it, is reasonable. There are already a few reactors on the ocean floor (subs). That is far safer than having them in the atmosphere.
Ah, the classic "this old power plant design had this failure mode, therefore all nuclear does this" argument. Do you know when Fukushima was built and what year the designs were drafted for it?
To be fair, Harvard tuition as listed probably isn't actual "market rate" because it's subsidized by an absolutely titanic endowment.

But I get what they're saying.
The irony is the url has the word "latest" in it :)
I already found it and used it a couple times but forgot about it! It’s pretty neat. Gonna try using it for little things now that I’m using vscode instead of vim.
Ask HN: Any wireless mouse with a tactile/notched scroll wheel?
Most of the mice I have used have scrolling that is too smooth. Is there a wireless mouse that has a nice tactile scroll wheel for each step?
I would also add that if you actually took the kind of person who's in a CA prison, and asked Harvard how much you'd have to pay for them to accept such a student, it would probably require a bigger donation on top of the $75k/year.
ublock origin + privacy badger has been virtually flawless for me.
> He also acknowledged removing the photos and names of people, including his cofounder, Tal Melenboim, from Aniview’s website after being contacted by BuzzFeed News.

Streisand Effect. Archived version of their "Team" page: https://web.archive.org/web/20171004134601/http://www.anivie...
Coconet: The ML Model Behind Bach Doodle
I admit that I am not a good programmer as many in this thread are.

I remember being scared and nervous looking at a large codebade and single stepping through the code. I did not know how else to understand the code.

You mention that one needs to think at a different level. Could you offer pointers as to what that level could be. I lost my job as a developer and I am trying to get a developer position. However I am absolutely scared of looking at large codebase and not being able to understand it and later not being productive.
Those little paper sleeves you put coins in.
I agree very much. Working professionally in Haskell across 3 jobs caused me to pretty much lose interest in it except for personal projects with very small scope where I can personally control all the reasons for refactoring or behavior changes.

When those things come from a stream of business problems, Haskell, I hate to say, is a poor tool, for just the reason you stated. You’ll always come across situations where mutating state would make an incremental change very easy (despite being “bad practice” for long-term complexity) but where having rigorously designed a functional system, that mutation or change is now painfully hard and requires significant refactoring.

Because business pressures utterly do not care about engineering properties of the backend system, except for high level summaries of basic properties like overall cost or reliability (metrics that functional programming vs other paradigms doesn’t have much impact on), you end up never being able to justify the upkeep and refactor-as-you-go workloads necessary for the functional implementation to not get bastardized into the exact same sort of spaghetti code mess you get with other languages.

In my experience, the types of errors, bugs and extensibility headaches in a business setting are not addressable with static typing, designs leveraging a type system, formal verification, or immutable design patterns. Those things are fine, not knocking them. It’s just that they cannot help you for dealing with reactive business problems. They don’t live up to the hype about it.

The problems are all about a sudden context change in which a previously valid set of behaviors, performance characteristics, whatever, is instantly rendered invalid because circumstances have suddenly changed, and you need to simply react to it and pray you’re successful enough that the system even lives to some magical future time when you can refactor.
Never made a claim that UTF-16 is UCS-2. "Most languages" does not mean "all languages".

Still, many popular platforms treat it like that in terms of char indexing. They are able to get away with it since a surrogate char is a rare guest in UTF-16.

P.S. It's surprising how easily HN crowd downvotes something when it falls out of a whimsical "popular contemporary view on things". Having a lot of years of text processing behind my shoulders, I raised an important question and got an immediate down-vote attack. But never mind, I'll survive.
MySQL libraries are extensions.

The mysqli library was likely a full rewrite in another extension. Extensions, at least that kind, at that time, didn't use/have namespaces.

Keep in mind this is a legacy code base with a function called mysql_real_escape string, like if you're at that point you're so far past gone you've lost all hope.
Epic Hunt for a Lost World War II Aircraft Carrier
> That was one of the lowest effort upgrades I ever did for my company (backend services, no front end websites).

If your application does a lot of ASCII/unicode/raw string and byte manipulation, the transition from Python 2 to 3 can be very cumbersome.
The Polish system makes sense. Governments need to step in to fill the gaps that the more open market cannot or will not serve.
A Comprehensive Guide to Aspect-Based Sentiment Analysis
I've had the same issue as well. I use Firefox at my home Windows 10 machine and really never miss Chrome. But for work I run macOS and find Firefox slightly intolerable. It's really unfortunate because Tree Style Tabs is a game changer for me, and it'd be even more useful at work than home.
Sure, pick a mean time to appointment, and fund until you reach it. :)
Working in VR, I think ray tracing is really going to come into its own with VR. Some of the effects that are mostly just nice visuals on a monitor actually make VR more usable. Accurate contact shadows for example are super important to our brain when picking up and putting down objects off surfaces to help get an accurate sense of distance and are extremely hard to do well with rasterization based techniques but they "just work" with ray tracing (given enough performance).

Other things like more accurate reflections and specular effects add more to VR where subtle head movements that don't produce the correct response our brain expects impact immersion even when we're not able to consciously identify why the rendering is not quite right.

The additional performance demands of VR mean it will be a while before we really see these benefits realized but I think when it all comes together it will really improve immersion.

There are some other potential benefits to basing VR rendering around ray tracing too that might take even longer to realize. For example you can directly compensate for the optics of the lenses when generating rays and avoid the whole post process warping step and foveated rendering is very easy to incorporate naturally.
Brexit: Petition to revoke Article 50 passes 3m signatures
GM to announce $300M investment in Orion EV/AV plant
I remember there being some amount of objection to his freedom to communicate while in prison (sending letters espousing his ideology, and such). Although this evidence of his continued ideology will probably help ensure he isn't released.
The short answer is that Robots are still heavily in the research phase, and not useful enough outside of some industrial zones currently to generate any profit.

That doesn't mean we shouldn't continue investing in them - they will most certainly become more useful and generate more profit. It just means at the moment, the best we can do commercially are more or less upgraded furbies and security guards who drown themselves.
> But Python 2x / 3x as well.

But at least the python folks provided some tooling to bridge the gap between v2 and v3 such as backporting features from python 3. Also minor version updates generally don't break whole codebases.

Apropos Java backwards compatibility, Microsoft has been pretty good at ensuring strong backwards compatibility with .NET code. I've seen .NET 1.0 source compile and run just fine on .NET 4. Hell I've even witnessed .NET 1.0 binaries run just fine without recompilation in newer .NET environments.

Sure there's breaking differences between .NET Standard and .NET Core but they're two different products and that was made pretty apparent from the get-go.
Genetic research has a white bias, and it may be hurting everyone’s health
Producer Playbook
Lewis Black, besides his "You can't get milk from soy!" rant, had this rant years ago about religion, and how it was created to give people rules because, well, they were assholes back then. He mentions the Jerry Springer show and asks us to imagine how bad people were back then (Old Testament days). People needed rules to live by, and it made perfect sense.
Robots are still too stupid to be used outside of niche applications such as military or heavy industry. In these applications, stupidity is a feature, not a bug, as a robot is expected to only do the tasks its owner wants it to do in the way its owner wants them to be done. But they still cannot be expected to work alongside people in their day-to-day because either they're not smart enough to interact safely with people, or people have expectations set by C-3PO and R2D2 that the robots just can't live up to (something the article touches on). Heck, people routinely get bored with Siri and Alexa because these technologies pretend to be smarter than they are, and ultimately outside of setting an alarm or playing a song, the value proposition they present does not even meet that of the stupider technologies people are used to. Real, exploitable stupidity is at the end of the day more valuable than fake smarts.

So if you want to be a roboticist and make money at it, don't expect to be Dr. Noonien Soong or Dr. Light. You will spend your career building dumb machines to perform mind-numbing tasks for the world's militaries, factories, or fast-food joints. Adding smarts to robots is a moonshot project, as Alphabet learned with Waymo -- you need to be rich or have a rich patron just to get anywhere. That's where things stand now -- maybe in a decade or two, things'll be different.

That said, I worked in robotics on such "dumb machines" for four years, and it was one of the coolest jobs I ever had. So if you can land a job in one of the niche industries where robotics is really useful, don't let my desexifying the industry dissuade you.
I'm presuming here the location data is gathered outside of the phone (eg. by cell towers), not the phone itself. If you have access to the phone itself (eg. malicious app), then you can easily get GPS data as well.
The title is a little hard to parse; this paragraph cleared it up for me:

> Handling that water is a major challenge in the oil refinery industry, particularly because it is deemed unusable for household and commercial use by the Environmental Protection Agency because of remaining contaminants. Several commercial treatments are available, but they are expensive, do not remove all traces of contaminants from water and can be energy-intensive.
Could we use this method to prevent large quakes by splitting them into a series of smaller ones?
It is possible to have two fully working eyes but for your brain to lack the wiring to combine the two images into a single three dimensional construct in your brain. Your eyes can be fine yet you can have no binocular depth perception. If this is the case you'll not be able to see any Magic Eye pictures or SIRDSs, or get the benefit from going to a 3D showing of a film instead of a 2D showing.
https://outline.com/C438br
We can also create objects from closures and classes from functions, so why have syntax for it?

Some languages have some of the feature I mentioned, JavaScript has bind for example, but it’s cumbersome and using it as a means of partial application for FP would be an abuse.

These operators need to be syntactically easy to use, ergonomic, and recommended. Notice that in Haskell these are infix for a reason.

Also, in typed languages with generics building those operators is more tricky.
Very interesting, thank you. I think the comparison to airplane autopilot is apt. At that industry did go through a period of readjustment, where autopilot contributed to a lack of attention/readiness. Those systems have been tweaked over the years to mitigate that risk. Cars will undoubtedly have to go through the same growth. Makes me wonder if special training should be required for drivers of such cars before we get to L3-L4 self driving capabilities. You sound responsible in your use though.
GTK is super slow. Do you have any intentions of using raw X11 or Wayland?
Great article. Reminds me a lot of the book (highly recommended) 'The Square and the Power' about the role of network and breakdown of authority, and the last time this happened with the advent of the printing press. He was interviewed as part of the long now seminars: http://longnow.org/seminars/02018/nov/19/networks-and-power/
Redis streams as a pure data structure
The subject is analyzing prison's role in rehabilitation. If we consider prison a failure as a rehabilitation device, then maybe we should focus on rehabilitation before prison. This is a reasonable suggestion. However, if the reason they're in prison is for drug possession, which makes up a huge portion of the prison population, I'm suggesting that any kind of rehabilitation is nearly impossible. With cannabis legalization finished, many states actually are looking to legalize other substances, and even if they don't, there's strong social pressure in American culture to try other illegal substances, leading to a huge prison population.

So I'm saying that it in many cases, the problem isn't so much that prison is a failure as a rehabilitation center and we should focus on rehabilitation elsewhere, it's that people are in prison for things they simply don't want to be rehabilitated for and have strong influences to continue doing. The culture is inherently resistant to being rehabilitated from things that it doesn't consider harmful.

To use an example that might be more neutral, what if copyright enforcement was more severe and we had half a million people in prison for watching unlicensed YouTube videos? We might analyze the failure of the prison system in rehabilitating people from watching the wrong streams and focus more on education so that people could identify properly licened content before they watched it. But unless the people actually considered this behavior harmful, it would be an impossible task, and we would see ever increasing numbers of people in prison for watching the wrong videos.
Show HN: New Time-Travel Debugger for React UseReducer
Perhaps it depends on one's definition of "generalist".

Having the flexibility, willingness, and capacity to learn almost anything as needed (easily or with intense extra effort) is the hallmark of a generalist by my definition.
I am not sure I agree with the article's definition of robots.

The way I see it an automatic blinder that reacts on either a timer or sunlight is in the spectrum of a robots. It's a very simple one, but it does things for me that I would otherwise have to do.

Right now it seems like people are more trying to invest and push Robots in the image of "The Jetsons" which I don't think consumers are even close to being ready for yet, plus the technology and algorithms will always lead to disappointment until we get much much further.

We need to think simpler. The irobot is successful because it doesn't try to be a Jefferson robot despite it's name but rather it solves a specific need.
This has some eerie similarities to [Backbone.js](https://backbonejs.org/#View-extend). That's not necessarily a bad thing, because Backbone was doing its level best to compete as a framework in its heyday, but it's still interesting to see how different it would be if Backbone was designed today.
Scroll to the appropriate length, print, and use as replacement vertical blinds for the broken ones in your living room.
Tell HN: reCAPTCHA v3 is incompatible with refusing Google tracking
Hey guys,

My teammates and I have been working for the past few weeks on a time-travel debugger for React's useReducer hook. It's called React Rewind.

We have a working product and are finally beta launching. If you are interested in time-travel debugging and/or React, make sure to checkout our repo: https://github.com/reactrewind/react-rewind

We are an open source project and would love to hear any inputs.

Thanks!
Biogen halts Alzheimer’s drug studies, a blow to hopes for new treatment
Huh. Anecdotally I’ve heard from friends who took a scenic train from San Francisco to Denver and San Francisco to Seattle and found it a pleasant experience.

I think this was specifically a train for fun and scenery. The destination is part of the point too but this wasn’t marketed or intended as transportation as a means of getting from point a to b.

In short I’m sure your experience is a reliable indicator of at least some of the state of train travel in the us. But it can be better than this, as a niche industry.
Here’s a list of sunken U.S. and Soviet nuclear submarines. And by “nuclear”, it means propulsion/reactor, not just nuclear warheads.

https://en.m.wikipedia.org/wiki/List_of_sunken_nuclear_subma...
We need to bring back housing that works for people without a car that doesn't cost too much. The best term for this type of housing seems to be Missing Middle Housing.

http://missingmiddlehousing.com/

Just as one data point, we have torn down more than a million SROs in recent decades while population has risen. SROs used to be a normal form of market rate housing that worked well for people just starting out who didn't have much money and didn't need much space because they were single and childless.

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

We also need to resolve the health care coverage issues in the US. Health insurance eats up a high percentage of the US GDP. Most homeless people have serious health issues, either physical health or mental health issues.

This is a significant contributing factor to homelessness. There are studies that show that when people get affordable health coverage, it reduces the risk of eviction.

https://www.benefitspro.com/2018/12/14/one-side-effect-of-th...

We don't need "homes for the homeless." We need homes for the people. We currently tend to build homes for rich people only and basically shrug and say "not my problem" when the rest of the US can't make their life work.

Then we act like homeless individuals are simply defective individuals and weren't screwed over by a broken system. No, they just need to stop drinking/using drugs, obviously. "It's just a personal issue."

Never mind that new housing has more than doubled in size since the 1950s and added substantial additional amenities at the same time that the average number of occupants has declined. These changes in housing pushing up housing costs couldn't possibly be related, no. Ask anyone with a good income and cushy life.