skysight-inc/HackerNews huggingface dataset:
> They can ED single-family homes, rezone the properties for multifamily dwellings

On track, but the process you describe is overcomplicated. The whole process can be collapsed to "SF needs to upzone most of the city".

Land zoned for multifamily dwellings is worth a lot more than land zoned for single family dwellings, so the owners would have reasonable grounds to sue if the city used eminent domain to seize their property under single family zoning with plans to upzone to multifamily zoning. They would probably win and be entitled to fair compensation for assessed value as of the later zoning. So if the city were going to pursue this route it would need the upzoning first, which the city has always been able to do and has refused to do anyway.
And according to the law of leaky abstractions, they are 4 more complex systems you need to understand when they break down.
Sadly, those patterns are just industry standard UX at this point.
> In US a convicted pedophile with own pedo-island, and connections all over the elites, media and government disappears from the prison cell in a dubious suicide where all cameras stopped working and many other "coincidences" happened and not much happens about it.

i know what you're talking about tho. pretty much, this means the topic is well discussed and not subject to censorship.
This is not a significant source of homeless people in SF. The vast majority have been living in the area, just struggling to get by. There are so many people that are one financial crisis (eg car repair) away from being evicted. It's no surprise that 1% of the population is homeless in a city where rents are not covered by entry level jobs, and where cheap rental options like SROs are being eliminated.
A handcoded redirect to the error 500 page. A very hacky hack, certainly not an accident.
Both Chrome webstore and Google play are infested with spyware, maladware and such. Yet it’s not a problem when the big G is pimping them.
Or in other words: Don't fight your system. You have so much other problems to solve that fighting your own operating system is just a waste of time.
I'm concerned about mm wave 5G because of sideband interference with water absorbtion lines making weather satellites less accurate.
Using Python and Selenium for mobile-device testing on Chromium-based browsers
Check out “The Modern Library Writer’s Workshop” by Stephen Koch.
this is america: https://www.youtube.com/channel/UCCvcd0FYi58LwyTQP9LITpA
Nowhere it implies there isn't.
> preventing bugs with static SQL is usually easy to do by writing a few tests

I've heard the same argument about TypeScript vs JavaScript and it's something dynamic typing proponents often say but in practice I find immense value in having the types autocompleted and checked in the editor - and I've worked plenty on both sides, current project is substantial RoR codebase, I've worked with Python and node.js backends on mature codebases. Eventually all these languages have some sort of static type hinting efforts to improve tooling - typescript being most successful.

The best thing I saw in this space was F# type providers which didn't require a pre-build step - the language had a mechanism for writing custom type providers that would look up the data source during compilation - unfortunately I didn't get to use it on any real world projects.
Why not store short lived token in a cookie as well?
"...and nobody was harmed in the end"

Consider how you would feel if a credit card or a bank did this? Would you ever trust them again?

No, you would not.
An example of layoff differences between CH and US: unemployment in April climbed to 3,3%, with the doomsayers worrying what might happen if it eventually goes to an (unprecedented) 7% due to coronavirus. (there are many other differences; eg swiss don't take their rifles to demonstrations)
They used F-5’s as MiGs in lots of 80’s TV, even McGyver iirc. Probably related or repurposed footage.
Until the nanosecond they regain enough ground they’d lost when they missed both mobile and cloud.
Russian Espionage and Electromagnetic Fields: The Story of the Theremin (2017)
This is good to hear. I have spent a lot of time looking at this topic, and for me there's 3 things worth exploring.

1. Versioning of user consent.

A lot of services have been designed around the idea that once a user consents to the terms, they consent to any alternations you make in the future. This is legally very questionable, at least in many countries. Some services manage to keep track of the version of the agreement a user has approved, but then force agreement with any updated version. But in reality there's no need for this - users should be able to granularly consent (and withdraw consent) to different things, as and when it's desired.

In any case given the way this is interpreted in GDPR, and the direction of travel in California and other states, having granular consent seems to be a sensible short term investment to save a lot of pain down the line.

2. Handling data at a sale, acquisition or liquidation.

This one is more tricky, and I believe a Stripe co-founder mentioned this recently on HN as something to look into. Lots of companies see their database as an asset to sell. There's an interesting history of companies like RadioShack, ToysRUs, and others going through this issue and ending up in court over it...

3. Aligning your goals with your users.

It might be a bit idealistic, but it always seems to me that privacy works best when everyone's interests are aligned. I'm not sure how this fits for your situation, but it strikes me users wanting visibility get visibility, and if they get a job you'll benefit, as do they. That seems nicely aligned. And for people who want to be incognito, they remain incognito, but they know you're there. It's probably counter to lots of the "startup playbook", but even these incognito users are likely still valuable, maybe even net promoters, just not currently looking to be seen. So it seems your goals align nicely with users', and there need not be any hyper growth "dark patterns".
I've been there with a van full of sandwiches and juice boxes for extra credit for some underwater basket weaving class. The food was gone in 10 minutes, with some getting portions for their immediate and extended families. Other than the obvious mental illness many were facing, some were nice enough to line up.
Sex crime wasn't the half of it. He went to jail for racketeering using his music to fund violent crime, and he's only free to whine publicly about music now because he weaseled out of prison on medical release due to the pandemic.
Society owes him nothing.

https://en.m.wikipedia.org/wiki/Trial_of_the_Nine_Trey_Gangs...
LabCorp and the other providers of at-home testing actually went to the trouble of demonstrating that their at-home collection process worked and wouldn't affect reliablity, and then getting authorization from the FDA. This study didn't - they used an FDA exemption which specifically did not apply to at-home testing.
Live versus Dead Players
Broken trust, induced fear, damage is done.

And worse, who is to say they won't do this again later when no one is paying attention?

Do you have personal guarantees they won't?
The explanation for how it actually would have worked (as opposed to how HN thought it worked) seems to clarify the reaction imo. I can totally see how they thought they were justified in the rollout of this feature. They believed it, while opt-out, was merely a badge and contained no sensitive data (compared to HN profiles).

This reaction seems way overblown. Its fine to criticize a feature but lets not pretend this is some nefarious plot that would have resulted in layoffs
Ask HN: Is the iPad ready as a SSH-centric development machine?
Due to COVID, I am stuck in a weird location, with an old laptop, unstable housing and no wired Internet connection.

At work, I have a really powerful Linux workstation which I can SSH to. Hence, I can run Emacs and shells remotely and multiplex them in a single terminal window using GNU Screen.

Are iPads ready as development machines, if one sticks to SSH and a local browser? Alternatively, what other simple, inexpensive and light machines are suitable for this purpose?

I have done some research, and there are some good clients around like Blink. Furthermore, the new Magic keyboard with an integrated trackpad seems to position iPads as relatively direct competition for netbooks. Some glitches and roadblocks are concerning, like the lack of dedicated ESC key or issues with SSH background connections.

Chromebooks are sadly not a good alternative anymore unless you are comfortable logging to Google services for everything. This is a big privacy concern for me. Hardware is great and inexpensive on some models like the Pixelbook Go, but it's not easy to wipe out ChromeOS to run pure Linux.

What other options are worth considering? Perhaps Surface devices or cheap Thinkpads? Some other ARM devices like the Pinebook are very appealing, but not easy to purchase quickly.
Poland is just a young democracy, so they haven't learned how to use it properly yet. Once it sinks in that universal suffrage includes a lot of gullible people. Then you realize that with good propaganda the percentage of the population that are gullible to your influence rises to the point and manipulating them is the optimal way to rule. Sure you occasionally get other people pulling one over on them in a way you don't like, but that just means it's time to up your propaganda game.
> in that game you were also limited to a single bullet on the screen at a time.

I think this mechanic works fine if the bullet moves faster to speed up the pace of the game. I'm also passing along some feedback when I made my own vertical scrolling shooter around a year ago. Most early players told me to crank up the pace. After doing so they were absolutely right. I was so hung up on seeing the various mechanics I was working on in action that I didn't really notice that the pace of the game was too slow to not be boring.
Hence standard library function names are "reserved for use as identifiers with external linkage", ie unless your implementation is 'freestanding', you're not allowed to re-define them.

The code above does not do so.

Contrary to what other people have suggested, according to my understanding of the C language standard, the word `memcpy` is not magical in any way, and undefined behaviour only comes in because the code will call `memcpy` with incorrect signature.
What would the AGI need us for?
One of my friends does a productized (fixed price) roadmapping session (1) as part of a larger "build your MPV" service. My understanding is that it works out really well for him and his clients. They get to try him out with a fix priced engagement. The output leads naturally to the next step in a larger engagement. If for whatever reason it doesn't workout the client has useful documentation they can take to someone else.

(1) https://www.reemer.com/consulting/build-mvp
It is just a reductio ad absurdum of the posts it was responding to, wherein anything can be ascribed as a "cascade of events" with no clear place to to pick the root.

While you can model the world like this, one of the issues is often determining the "first mover", as it is hard to reasonable assert that the complexities of our world are primarily caused by primordial ooze. To continue the reduction, someone could come and say "Because a molten earth" after "Because primordial ooze" and there isn't necessarily grounds to refute that if the "Because primordial ooze" point was accepted.
Yes but a neat workaround is to simply ED the properties of all the people who have been lobbying against the upzoning since ~always. They demonstrably were not in line to gain from the zoning change, since they personally prevent it.
It is. See my ggp reply.
A fidget spinner to detect urinary tract infections
Url to delete your profile, if unfortunately you have one.

https://triplebyte.com/privacy-center
If inductance is zero, there would be no oscillations.
SF politics are extremely partisan, such that they get in the way of actually accomplishing anything. The factions are the (IMHO very poorly named) Moderates and Progressives. Once you've been identified as being on one side, even if you share common goals it's unlikely that there will be any collaboration, and very likely there will be extreme antagonism wherever possible. Political point scoring and blame games have superseded the goals that people say they support.
What I will remember most about quarantine
This may be anecdotal, but the homeless situation + shelter-in-place combination IS a nightmare. I live it every day and I cannot describe it any other way. I didn't mind it when I spent 14 hours a day out of the house working, but I am now living, breathing, and hearing it 24 hours a day and it is a nightmare. And it's not just that they are homeless, it's all the criminal activity that radiates from the encampments right below my window.
Show HN: Midnight – Affordable managed Ghost blog hosting with zero setup
The "crisis" is older than most people who live in SF. Yes these buildings should have broken ground long ago, but that's no reason to delay.
"we" can stream the music to each other. But not on Spotify.
So I constructed a straw man when the original post was a very hand wavy It is known that the more moving parts a system has, the more likely it is for one of them to fail, thus for the entire system to malfunction.

But how pray tail did I “construct a strawman with a one word reply” - “details?”

And then when I asked for personal experience a random article on the internet was found. At least I was able to speak from personal experience. I can also go into great detail about best practices as far as deployments, logging, security, troubleshooting, testing (functional and scaling) and tracing without citing random articles....
I'm not sure what you are describing. Note that doing this with python and org is already pretty easy. Or R. No, you don't fully open the csv in org. But, that usually seems a feature. The firehose that is large csv is typically best as a related file.
Why is Idris 2 so much faster than Idris 1?
We use an esp32 commercially to provide a web interface (including doing OTA) to our chip.
Works pretty decently.
i work only with software that eats others software.
that's all interesting, but not particularly pertinent to whether the opium wars changed sentiment enough to push china away from capitalism right as it was budding in china.

the british didn't need to control china in any degree for this to happen. just some greed at the wrong time, in the wrong manner.
Now, this is a good apology, compared to some other pieces of the genre I have seen in my life. Looks believable.
As usual theres a relevant xkcd: https://xkcd.com/1831/.

I think the level of control programmers have over their domain naturally gives rise to that sort of overconfidence. You need to remember that computer systems are built on human made abstractions to human standards and follow human defined logic. DNA is not code, it's just a molecule that reacts with stuff, as are all the other molecules. They exist as they are and are their own system that needs to be understood, we did not create that system. Chemistry and probability and time did.
30 minute video of a workshop Brian Casel did on this topic: https://youtu.be/LdDZ3Jyrl4E
We're under a lot of pressure because of the COVID crisis. We did have layoffs, but we're not in immediate danger of going out of business. The pubic profiles were set to go live next week, but this is now not happening. No data has been accessed externally.
Stress, real or imagined, is stress.
Maybe you have a good company.

I think she admitted it when confronted.

I work for a large company and their policy is that you should not be using it for personal stuff. They use this as an excuse to fire people they want to get rid of.
https://en.wikipedia.org/wiki/Mathematics_of_Sudoku#Enumerat... I believe these ways of relabeling you mention are all taken into account when numbering the "essentially different" puzzle configurations.
Tell us more about that. Is it based on some encryption library?
If you refuse to engage on my points, which you still are (as is the Government, literally completely ignoring the main issue people are having) then you need to justify that with reasoning other than "well I don't care about it, so you shouldn't either".

I don't mean to insult you, it's simply baffling to me that you can just ignore this as if it's a nonentity. My brain is different to yours, yours to mine, however we slice it we need to bridge that gap in order to understand each other.

Again: this shut down is trading some lives for other lives. I don't think it's a net gain, I've explained why, and all you can offer is "just wait" on a loop forever. Waiting 1 month locked in a box as a single person is a 0.1%-1% fatality rate depending on demographic.

And yes, '2 meter land' is the same thing if pretty much all of the joy in your life revolves around being close to other people.

You can engage with that on an honest basis, or you can just pretend it away and watch people slowly stream outside, you know? I apologise if I'm getting combative, but it feels like I'm left with no choice...
ORMs like Diesel are definitely very useful. The problem I have with them is that their ORM abstraction often leaks. Fixing these abstraction leaks is a hard problem [1].
Ofc, there has been attempts to reconcile relational DBs with OOP like languages, but they are not very popular. [2]

PgTyped and some similar libs try to solve a simpler problem (typing static queries) and can be used to build more complex solutions when needed.

Writing query result/param type assertions by hand and using tests to guarantee type synchronization between DB and code wasn't maintainable on most projects I have seen.

[1] https://en.wikipedia.org/wiki/Object-relational_impedance_mi...

[2] https://en.wikipedia.org/wiki/The_Third_Manifesto
They're mad because Triplebyte made sensitive private data public.

And engaged in a host of dark patterns that made it difficult for people to effectively respond to that, for example by getting the data deleted and cancelling any account they had. The problem wasn't just the original error in judgement, serious as that was. It was the doubling down on it in both the implementation and the handling of the criticism when it was announced.
We've seen about 2k account deletions since Friday.
Why Kai-Fu Lee believes China will win the AI race
That seems kinda obvious for coastal California.

But why NYC?
https://www.urbandictionary.com/define.php?term=snee
That's technically feasible, but note the number of fragile workarounds for political problems in that post: they download the Flash binary from, presumably, Adobe at startup, depend on a Chrome extension which Google will kill whenever they feel like it, and also depend on the as-yet-unreleased and possibly proprietary "CheerpX" 386 emulator for wasm.

If Apple — which intentionally dropped support for Flash and browser extensions when it shipped the iPhone, a decision it's stuck to ever since — doesn't want to support it, it's not gonna happen in their walled-garden Cockaigne.
Ask HN: What Is Your Worldview?
I've recently been struggling with the "Robert Greene" worldview: life is a battlefield of psychological warfare. Greene adopts a postmodernist lens of seeing social situations as transactions of power between people. While this view and the associated tactics have allowed me to identify malicious people in my personal life, I find it neither romantic nor rewarding. It pains me deeply to worry about wolves in sheep's clothing, and to worry about miscategorising people (both false negatives and false positives).

I want to know your worldview. I'm a strong believer in the cliche that you find what you're looking for. In effect, the confirmation bias. I find HN to be an honest crowd largely due to the nature of our work. I ask you to take a leap and share your worldview. Maybe we can figure this out together.

Thank you.
> Well NO its not, that's pure FUD from the FSF:

What matters is if the upstream Linux community is comfortable enough with the license to allow it upstream, which is why I said "considered".

> No im asking why Linus thinks its acceptable to distribute proprietary Firmware, but needs a personal letter from Lord Elison and ZFS needs to be GPL'd....otherwise just don't use it.

There's a big difference between these two things. The first is redistributing proprietary firmware in a completely separate repository from the Linux source code. All firmware included in the linux-firmware repository is explicitly allowed to be redistributed [1], which is why they do not have fears about distributing those binary files.

I'll quote the readme: "If your commit adds new firmware, it must update the WHENCE file to clearly state the license under which the firmware is available, and that it is redistributable."

The second is introducing CDDL licensed code into a GPLv2 project, where that project considers the CDDL license to be incompatible, along with worries (however unfounded) about a notoriously litigious company.

> That is because you can close and still distribute BSD licensed Software, but not when it contains GPL'd Software, thats why you dont want it in the Base-System, no one has something against GPL there, but FreeBSD wants to distribute a complete Operating-system under the BSD License.

Yes the FreeBSD community does not want GPL code in the base system as it prevents them from from distributing a 100% permissively licensed system, and it's understandable why that is a goal. But how is that meaningfully different than the Linux community not wanting code with a license they feel is incompatible with their goals?

[1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/lin...
It should be possible to use monospaced fonts only for tables.

They're syntax highlighted in a distinct way and that should be all you need.

This is the fundamental tradeoff of emacs, basically: it's nearly always possible to get exactly what you want, in exchange for an unreasonable amount of effort.
Steve Jobs on Next at MIT Sloan (1992)
With your attitude, someone could try to something sneaky and dishonest like TripleByte did, but as long as they walk back on it eventually, it's all good.

Why wouldn't another company first try to push privacy violating changes on a Friday, when people like you are so willing to turn a blind eye to it if they get caught?

They violated trust and it's going to take a lot more than an email apology to get it back from people who care.
End-to-End Testing with Node and Docker Compose
URL to delete your profile, if anyone is thinking to do the same: https://triplebyte.com/privacy-center
I fully accept that you are willing to put up with this and that you'd like to see something 'in between'.

I'm not and most people I know aren't. The 2 metre rule will kill off all of the cultural institutions I hold dear. The recent video of a Wetherspoons pub with 2m distancing has people guffawing up and down the country.

It doesn't make sense to me anyway - as I've said, a person in a vulnerable group will not wish to perform outdoor leisure activities, or work, etc, even with the 2-metre-rule in place.

We'll just have to agree to disagree.
Ask the engineers grousing about whiteboarding algorithm interviews, or the companies assigning them.
The line that stuck out the most to me

> In San Francisco today, people who earn less than [$82,000] a year—or a [$117,000] for a family of four—are considered low-income.

Most people outside of San Francisco would consider that a lot of money. Would a barista working at a Starbucks in the city ever earn that much? What about a public school teacher or cleaning staff? Essential services that need to be filled are worked by people who need to live somewhere.