skysight-inc/HackerNews huggingface dataset:
Plot twist: we're the aliens.
I live in San Francisco. It's hard to do things here, or in general in the Bay area.

One of my dreams is to bring together dozens or hundreds of people, and collectively buy and operate an entire block, making it using sound principles of "garden city" urbanism - vastly applied in Copenhagen, and also promoted by Jan Gehl himself.
Organized labor was extremely problematic for capital since WW2.

The new dealers ( FDR, Truman ) gave organized labor tremendous power because without it the USA would probably have had a big communist party.

They also knew the deflationary period of the 1930s lead to the rise of fascism and nationalism in Europe. So the petty greed of capital was scarified at the altar to maintain peace. They were also willing to sacrifice growth to maintain peace.

We are going through a similar period of deflationary shock, so it's going to be interesting to see how it plays out and ends.

Most likely the source of unrest may not be US but China.
Here in Virginia Beach the pawn shops have to send a daily report of transactions to the police department.

This also applies to scrap yards. They must submit to authorities a daily report of all scrap received and by who.

I don't know how this has passed legal muster.
In the article they state:
"Detectives also conducted undercover operations in which they sold new items in their original packaging to the shops, which accepted them no questions asked"

So now Pawn Shops are required to interrogate their customers?
R. D. Laing is mentioned in Adam Curtis' "The Trap" as well.

https://en.wikipedia.org/wiki/The_Trap_(TV_series)
DNSCrypt and More DOH Support Live (Via Dnscrypt)
No, its the quintessential example of fail-deadly systems, and nations misunderstanding the strategic and tactical environment. Every major power bought into the myth of offense dominance (which WWI proved fairly decisively was a myth), and so developed mobilization plans that were essentially designed to preempt any enemy attack and put those mobilization plans on hair trigger since being slow to deploy to an offensive posture was viewed as guaranteeing defeat should war erupt.

Germany's mobilization plans against France actually involving occupying Belgium are a fairly extreme example, but the trend was universal among the major European powers.

It wasn't that they misunderstood each other, it was that they misunderstood the context.
They are just waiting until the government makes the costs for charging outlets tax deductible. After that, they will everywhere as quickly as you can say "Elektrizität" :)
Bond WiFi and Ethernet for easier networking mobility
My son has gotten into cassettes. From what I've observed, a lot of it is "the thrill is in the pursuit." He rides his bike across town to the used record shop, where he meets his friends, browses through bins of cassettes (and vinyl records), brings them home to play. All of that effort and expectation before he can hear if it's any good. All for a buck. He's brought home everything from classical to hip-hop.
> Parent cannot seccomp itself without being highly coupled to the child

You can workaround this sometimes though. Unless you actually care about fork with current memory copy, (i.e. you care about spawning new processes only) you can fork a "spawner" process early which is only a thin proxy for pipe->exec commands. You apply seccomp after spawner is ready and you're all good.
Metasmugness is the best position one could take in any topic. Rising above the ones who rise above others, holier-than-holier-than-thou, etc.
It might be easier to discover new music with streaming, but I'm not sure one discovers music of as high a quality.

Back in the album days, an artist needed a song or two or three on the album that would would have wide appeal and be easy to quickly like, so that they might become hits. These would get played on mainstream radio, and based on them people would buy the album. They would listen to that album for those songs, but because it was a pain to skip around on an album they would listen to the whole album.

Artists could put deeper, more complex songs on the album. Songs that people might not instantly like. Songs that people only come to appreciate after hearing many times. Songs that eventually become people's favorite songs on those albums.

With streaming, a lot of people will just jump to the newest hit from another artist instead of listening to the less immediately accessible songs from the previous artist whose hit they just checked out.
Most other media has terrible UI for rewind, fast forward and seek compared to tape, whether audio or VHS. Digital video and audio in particular, nearly never have workable (live playback) rewind and fast forward.
I would urge people to tell Matt Mullenweg and core WordPress developers that they don't want AMP in WordPress core. Since WordPress runs on >30% of the web, if WP adopts it, it will make the choice for most of the web that websites must shape themselves in the way Google wants it. Google is currently doing a stellar job penetrating WordPress and using its increasing influence to support its own business interests.
This is really cool! Can i also silence loudmouths in my Whatsapp group with this? :)
We can and we've been able for quite some time, but the problem is that doing that is very inefficient, and you would end up with a very inefficient and expensive way to store energy.

Can't find a proper reference, but one of the most efficient way to store energy is pumping water up and storing it there, in which case the efficiency is close to 90%, and the cost of storing large amounts of energy are low. Doing what you are proposing should have an efficiency below 50% - or more than 5 times worse -, without considering much higher energy storage costs.
My sister is a fantastic photographer. She has an incredible ability to look at the entire 3D world around her and discover these little pieces of it that make for an excellent two-dimensional image.

She is also famously clumsy, always tripping, dropping things, bumping into stuff, aiming poorly, etc.

I've often wondered if poor stereo vision is the cause of both of those.
I also think we haven't fully exploited interrmittent/responsive demand.

I'd have no issues if a household or building's HVAC system, hot water system, electric car chargers ebbed and flowed their demand in response to supply.

E.g. when I turn on my dishwasher, I don't care if it holds for 2 hours and then runs because the winds are calm now, but expected to pickup in 2 hours.

I don't care if my hot water heater superheats water now because it's especially sunny or windy out.

I don't care if my electric car chargers over the course of 8 hours in the evening, instead of charging quickly now.

I don't care if my AC system makes the building a couple of degrees cooler now to thermal bank the excess supply before rates increase later.
Prime Numbers and the Riemann Zeta Function
He also presented fake ID to cross the Canadian border.

You don't think he was capable of the same to get a driving job?
Ultra-low-power 8-bit microcontrollers? 1 MIPS @ 1 W is possible on a AVR I believe, but still much less efficient than a modern CPU. Economic-of-scale at work, you can't compete with greater integration.
Open their fridge.
Among pretty much every other activity. "Showing interest in benefits or plans"

I'd tend towards it being a fake, if it didn't seem reasonable these are the kinds of ends Amazon HR goes to in order to keep their labor pools un-unionized.
Germany has over 100 H2 stations, with plans for 400.
Create a pull request! :)
Perhaps it's just a factual element. Or perhaps the intention is `s/python/pragmatic/`. Yeah, python sucks in many ways but is it really so horrible? I know! Let's ask the reader to get intimate with a static compiler. If they're "smart" enough to satisfy (or trick) the compiler, then they've earned the "reward" of being able to execute their program.

There is value is static typing, but there are many instances where that cost is not worth the reward.
Also, there is a QL that treats all values as sets, EdgeQL[1], and they get null for free.

[1]: https://edgedb.com/docs/edgeql/overview#everything-is-a-set
I used to get this with my local mail carriers a lot. My block was one of the last stops for them so if it got too late they would just mark it delivered and actually deliver it the next business day. The post office did not seem to care either.
In the heating season, it would make sense if we could just have strategic resistive heating to soak it up the supply and offset natural gas use.

I feel that electricity prices being cheap or negative is because very few actually get those prices (e.g. residential/commercial customers paying averaged rates when they shouldn't). Or transmission/distribution prices being averaged (which should also rise/lower with demand because capex upgrades are driven by peak users)
Weight is weight of course, but I've seen ones where they fold up so that you pull it behind you on one of its wheels, like one of those rolling suitcases.
"The principle is sound but sometimes the implementation is weak"? A question to ask is perhaps, if a Mondragon workers cooperative should have a union?
>which can be used to purchase prime and shop at Amazon :).

I wish.

At least at the Amazon FC where I work, they can purchase cheap branded stuff like water bottles, lanyards and t-shirts, gift cards and coupons for the commissary, but not Prime or general purchases.
1:100000? That's a nonsense number because as a consumer we care about failures. A single purchase of a lemon good, and the observed failure rate for an individual consumer will be far far less. I haven't purchased 100000 items, and I have observed multiple failures in goods.

Also as a consumer, I would never notice the difference between 1:1000 and 1:100000000 (non-safety related small goods).
The issue seems to be that energy markets are a long way from achieving financial market levels of responsiveness.

You're essentially increasing the number of market participants a couple orders of magnitude, and the system and existing players semi-understandably balk.

On the other hand, without exposure to end users, the utility-driven pace of change is going to be glacial (by which I mean, we won't have glaciers anymore either).
Also extremely expensive to use for long term storage; costs grow linearly with storage size, as opposed to sublinear for hydrogen.
Something similar happened to me when I was a teenager. I bought a 3dfx Voodoo card from Best Buy the day it came out and when I got home, it had a parallel printer port card in the box. After several arguments with managers went nowhere and I finally got a hold of the regional manager and got a replacement.

I thought the money I saved for so many months was lost. But alas, I was finally playing Quake deathmatch in glorious 3D after some heartache.
Also not understanding the doctor's disdain for a pharmacist calling about when to use or not use a medication. That's what they do...
Editing Embryos: Private Choices and Public Goods [Video]
How was the road of entering a CS Graduate program from a non CS undergrad? I majored outside of CS and have been mulling around whether to run for a CS masters or just return for a CS undergrad on the side.
I'm used to thinking of Mr. Turing as a mathematician deeply interested in automating computation, less so as a programmer slogging out code. It's heartwarming to see his hard-won tips to other programmers from ~1950, and they are remarkably relevant today. e.g....

----

A balance must always be struck between the following incompatible desires:

* To carry the process through as fast as possible

* To use as little storage space as possible

* To finish the programming as quickly as possible

* To achieve the maximum possible accuracy

----

1. Make a plan
2. Break the problem down
3. Do the programming of the new subroutines
4. Program the main routine

----
1. Amazon is revenue focused

2. 3% shrink is accepted in retail, that is 6+ billion dollars they are ok with losing.

3. Data is large and hard to get at Amazon. Just getting access to a database without direct VP help is sometimes impossible

4. Compute resources to 'run a report' on terabytes of data are even harder to get.

5. Manager changes every six months

6. Devs last ~18 months so no one is there long enough to care about solving a cost issue.

7. There is NO REVENUE in catching thieves, so there is little to no exec sponsorship

8. Often management is involved in fraud or theft rings.
Pwnie Award Nominations for 2019
Fu-Go [1] were armed balloons sent over the jet stream during wwII.

[1] https://en.m.wikipedia.org/wiki/Fu-Go_balloon_bomb
An Artix-7 FPGA with its own DDR3 RAM right in your laptop – for developing PCIe
The first is a union type, and the second is a disjoint union type. The second is also known by the names of tagged unions, sum types, and discriminated unions.

For the first to be useful, there needs to be some hidden disjoint union to implement it (how else would you know it's an int vs the adjoined null?) but the type equivalence rules would let unions collapse: union(T,Null,Null) = union(T,Null).

Here's an illuminating example I saw once: consider a class with a member that represents a value that is known or unknown, and it might take some time to initialize the value. There are three states: uninitialized, initialized but unknown, and initialized and known. This can be modeled by nullable(nullable(T)). If the nullable collapses, you can't tell the difference between uninitialized and unknown anymore.
I've no idea about Safari's reader mode, but you can have a look how the readability feature in Firefox works: https://github.com/mozilla/readability

I'd expect the Safari feature to work quite similar.
If amp didn’t run things with the header on googles servers it would immediately stop being critiqued.

Here’s a ridiculously frustrating example of how it ruins the web experience I ran into yesterday:

I was looking for supplements, searching google with something like “site:reddit.com best supplement site”. Google directs you to amp reddit. All good so far.

So you find a thread full of links in comments. You scroll down and click one and it takes you off reddit. Good. Now you swipe back. What happens? You lose your scroll position entirely.

In a huge reddit thread full of links you literally are re-scrolling the page over and over as you try different ones.

It completely breaks the web. From the company that literally should be the champion of the web. It’s so backwards and hostile to the platform it’s hard to fathom what they are thinking. Amp could easily achieve all its goals by not forcing that stupid frame, and by letting it be hosted anywhere (google can monitor if they are using a decent CDN based on simple heuristics).
https://www.youtube.com/watch?v=MTbOvFt_Gwo
This exact thing happened to me yesterday. Was trying to get Verizon to reverse a recent $20 rate increase due to a "customer loyalty discount" that automatically got removed.

I spent 47 minutes going around in circles with the rep, politely explaining that I did not wish to change my plan, or even get my bill lowered to the current promo rates which are about $30 less than what I'm paying for the exact same service. She would not budge, and offered me all kinds of crappy options such as entering into a new 2-year lock in contract, or removing ALL HD channels from my TV lineup.
Finally I threw in the towel and said, "I guess I just have to cancel this, I'm sorry". She immediately said, "Wait, let me see... hmm, Ok yes there does seem to be an offer here where I can extend your loyalty discount for another year. I'll go ahead and do that." Magic. Just like that.

I asked her why we had to play an hour long cat-and-mouse game to get this done. She had no explanation.
Sun was selling steam shovels.
Yeah, more practically speaking, this “flattening” behavior of nullable(nullable(foo)) = nullable(foo) makes type checking much harder. This is one of the things that’s subtle and hard to get right when you tackle a type system on top of an existing dynamic language. The general case also induces horrible type checking performance.
Another example of flattening would be JS’ promises, where awaiting on nested promises “flattens” every level into one (in FP jargon, it’s map and bind combined into one function).

With the right sugar, the non-flattening version, option type, is actually _much_ better for not just type checking, but also developer ergonomics. Consider if you want to distinguish a map missing a value, or having a value that happens to be null. Or an iterator that asks you to return null to signal termination, but you just happen to want to provide the value null.
Yes, I listen to enough unique music per month for it to be hundreds of dollars.
A large part of the struggle you experience with these is that you force your eye to do two clashing operations that usually proceed in sync. Among the signals our eyes use to detect depth are:

* Accommodation: Our lenses are flexible. We unconsciously contract the ciliary muscles in our eyes to change the shape of the lens so that it focuses light at different distances. It's very similar to adjusting the focus ring on a camera or binoculars.

* Convergence: As an object moves closer to you, in order for the object to stay centered on the fovea of each eye, your eyes need to turn inwards. To look at something really close, you go cross-eyed. When looking at something far away, your eyes are parallel.

Both of those involve muscular control that also give feedback to your brain. So you can unconsciously feel how much your lenses are accommodating and your eyeballs are converging. Typically, those signals are in sync with each other.

Autostereograms break that. To get the effect, you need to look "through" the picture. When you do, each eye isn't actually centering the same part of the picture on its fovea. That way, each eye gets a slightly different image, and the differences between those two cause a parallax effect that we perceive as depth.

The problem is that as far as accommodation is concerned, the picture is close. The lenses really do need to focus on the picture itself to resolve a sharp image. But for convergence, your eyes need to be closer to parallel as if you were training your eyes on something past the picture.

Now your brain can tell these two things are out of sync and it gets very confused. Some people seem to have an easier time decoupling these things than others do. It ends up a feeling a little like patting your head and rubbing your stomach at the same time.
Cheap, flexible, data acquisition for all
I think it's hard to explain to non-lawyers in a way that is at once clear and complete.

FSF states that the act would make patents "more easily claimed and enforceable." If you'd rather hear it from lawyers: "A considerable majority of the Act is directed to changing the rules and standards for inter partes review (IPR) and post-grant review (PGR) proceedings."[1] I understand this to mean that it will make it harder to challenge the validity of issued patents, as well as easing the application requirements.

If you want a real answer, try reading the linked article, and then maybe you can explain it to me :)

[1] https://www.finnegan.com/en/insights/stronger-patents-act.ht...
Great talk by Sandi Metz on the topic - Nothing is Something
https://www.youtube.com/watch?v=OMPfEXIlTVE
Your employer should move AMP widgets into the browser , completely scrap the google CDN from it, and stop prioritizing amp pages.
I have some friends who have said it to me in person too. I wonder which of them are the shills?
I don’t care about the concept of ownership, I care about being able to listen to my music.

My phone is much more portable than a cassette, record, or CD player.
It's funny how they couldn't get an amazon warehouse employee to stand in front of a camera and read this script.
Still 1000x better than cars, and anything that gets people out of their cars is great.
Isn't it just sticking out your hand in the direction you want to go everywhere? I'm annoyed by people not doing that properly at home, so it'd be ironic to now find out I've been signing incorrectly abroad.
The S3 bucket was not public.

The hacker got ephemeral keys by remotely exploiting the WAF. The WAF had no reason to have privileges to read from S3, that was a mistake.

I’m unclear if data in bucket was encrypted at rest but I guess if you get keys to read it’s a moot point.
The Automated Payment Transaction Tax
Kill the adtech/surveillance industry.

AMP is an admission that the open Web has failed. The number of trackers, tag managers, popups and other crap to "monetize" pages has gone out of control and made majority of pages painful to open (at least without some crap filter, like an adblocker — or AMP).

If you manage to restore the health of the open Web, it'll be hard to sell a walled garden instead.
The problem with AMP is not that it limits what website creators can do. The problem is that everything is served via Google's servers and that you can have a perfectly optimized, mobile-friendly website and still have no chance in Google's search results because there is a similar result that uses AMP.
I think the grandparent poster was just pointing out that this post has very little to do with python or matplotlib, with the code to generate the plots just thrown in as an afterthought at the end. Which makes it weird to have them in the title. (Whether python is a good tool or not is unrelated to this observation.)

I would expect a post entitled “exploring mathematics with python” to have a whole lot more python code (inline with the text and better explained instead of an uncommented blob at the end) and a whole lot more mathematics.

A more accurately descriptive title for this post might be “counting the repetitions among randomly chosen positive integers”.... which of course isn’t going to get as many clicks or as many reflexive upvotes from non-readers as a post promising “exploring mathematics with python” because it doesn’t sound (and frankly isn’t) all that interesting to most readers. (It might make a decent short project for middle school students though.)

Personally I flagged the post for its misleading title.
When I Sit Down at My Editor, I Feel Relaxed (2016)
> small possibility of an undesireable consequence in return for a large possibility of a highly desireable one

Exactly, so the expectation value is net desirable. I wouldn't consider that stupid.
Write to Apple and plead the case properly, framing it as a privacy/tracking issue, which it is.
They recently took a lot of steps to safeguard users’ privacy.
If they kill it by embedding a de-amp’er in safari, the incentive and ROI to keeping amp pages drops quite a bit.
Help your Android-using acquaintances set up Firefox.
Well... No null check is essentially a tech debt that you are going to pay.

The beauty of tech debt is that most of the time the universe is responsible for making you pay up for not making the right decisions in the first place.

Sometimes you get lucky (we find other ways of dealing with the issue)... Sometimes you don’t.
With WSL and this Microsoft is really doing good work to make developers happy. I'm pretty optimistic about the state of development on Windows.
You know, I am surprised I am saying this, but I think I do too.
No need for a service. Firefox comes with readability, Safari has reader mode.
Previous discussion: https://news.ycombinator.com/item?id=15017519 (68 comments)
Personally I use `killall` command and works as expected, at least on Debian.

For instance, when I want to stop conky, all I do is run `killall conky` and kills all of its processes at once.

Another longer way to do such thing is to run `kill -9 $(pidof conky)` which kills all returned processes.
There's "green hydrogen" and then there's "blue hydrogen" a new way of marketing an ancient technology... coal gasification (ancient tech) along with pumping the CO2 (safely, forever) into old wells. Devil's in the details.

https://reneweconomy.com.au/hydrogen-blues-is-this-the-gas-i...