skysight-inc/HackerNews huggingface dataset:
Much of web development doesn't need extreme levels of attention to safety. A good fraction of web development is such that errors are quickly caught in manual testing and at worst just make some button look weird for the short span of time before the problem is noticed and fixed. Also, time spent using generic safety tools is time that could instead be spent reworking and better understanding the specific code to make it safer. There is a lot of cultism in the industry about testing and type safety. I have seen people demand almost 100% test coverage for code that displayed some extremely simple UX which, if it broke, would be completely obviously broken the first time you tried actually interacting with it. I have seen TypeScript used for short code that basically just displays simple UX and is made up largely of calls to third party libraries anyway. I think there is no generic appropriate level of attention to safety. It depends on the context. If you're working on code that controls a spacecraft or a medical device, it makes sense to spend an enormous amount of thought and work on safety. For much of web development, that just doesn't make sense, but organizations seem to often fall into a trap of mandating bondage-and-discipline features for stuff that doesn't need it - why, I don't know. Maybe because there's an impression that "everyone else is doing it". I guess also, some people just enjoy it.

But I don't enjoy it. I like writing JavaScript. I think I can often do it elegantly and that the perceived elegance at least somewhat corresponds to objective quality. TypeScript makes my code uglier, to my taste at least, and makes development less fun for me. This impacts not just my feelings, but also my productivity. TypeScript had better provide me with something great to make up for this. I rarely make the kind of errors that TypeScript is capable of catching or feel like I need the help with readability and code discovery that it provides. But other people, I recognize, do benefit from it sometimes and in any case, other people pay me to use TypeScript.
No. Not perfect, not bad.
I thought they were changing their terrible name.
> I do see the toppling of the US government having a domino effect on other powerful nations.

I guess you are about 11? May be 15?

Before you were born a great power was toppled, called The Soviet Union. It happened over three years, 1989-1991. We can all see the domino effect, for sure.
> An important part of the regulation is that the landlord cannot raise the rent when a new tenant moves in - the rent is locked for the unit, not the tenant. This prevents situations like New York, where you are essentially unable to move.

Mumbai did this and it was a disaster: https://marginalrevolution.com/marginalrevolution/2017/04/tw...
390K Valid Mail-Access HQ Combolist
It takes a certain kind of puzzle curiosity to do this sort of thing. I find I would have re-written Lotus 1-2-3 from scratch rather than do all this but that is just another way of spending one's "cleverness beans" as they used to say.

People with this level of curiosity and puzzle affinity make great security researchers/staff. In their own way older binaries are all puzzle boxes that are holding some number of exploitable vulnerabilities to make them do things that their original developer either didn't intend or didn't foresee. Finding them gives a dopamine hit.
querySelectorAll returns a NodeList, which is even more limited than an array (e.g. no map or filter).
This is so common that I considered creating a browser extension to convert/normalize the the min and max values on a page into a 5-star rating. When the lowest rating of items on the page is 4.2, 4.2 would displayed as 1.
That's the point. People are forced concentrating their wealth into a single asset.
Exchange it for goods and services.

What can you do with USD besides exchanging it for goods and services? (Pay taxes)
I will be very happy if the US lays down its arms- I can employ former soldiers as mercenaries to seize bitcoin wallets and mining complexes.
Promises aren't available in IE11, and as the last "true" IE, I imagine it'll be around a bit longer than it should be.

I recently had to rewrite a bunch of vanilla promise-based code to use jQuery promises once I realized IE11 didn't work.
Will an electrobike take you home when you are blind drunk? What do we do when you run out of charge on your electrobike? what happens when there is a blackout? I don't think you've thought through all the problems properly.
I'd say that's only partly true.

Even at large companies, there's often pressure to deliver quickly and often. Throwing out large parts of the UI and starting over to please the marketing department is SOP at a lot of places too.

If it were a normal desktop application, they would throw a 30-man team at the problem, but because "it's just a web page/site", it'll be a team of 3-5 people and the time tables will be pushed up.

When you combine these problems, it's no wonder that a lot of JS devs view almost anything that isn't a new deliverable as overly-optimized.
As a "senior" I'm still not sold. Running across bugs in the type checking that blocked us for a while (trying to avoid Broken Windows to boot) and the fact our development times skyrocketed (including on personal projects) or that the answer to poor tooling was "just use VSCode" is not something that really screams "developer friendly".
Just a nitpick, but querySelectorAll returns a NodeList.

This can bite at times, for example IE supports Array.forEach, but not NodeList.forEach
Does anyone know of any good resources on how to kit out a home with sensors that speak strictly locally/have no cloud connectivity?

Is the answer just to find zigbee-only gear?
Or if it's a page or two in the entire book—hire someone to redraw those pages without the offensive content.
Offtopic but thanks for launching this.

A happy customer.
An issue that many commenters here are missing is that the problem with rent control will manifest more sharply in the future.

Sure, the impact today seems relatively equitable: a windfall for people that rent today coupled with a small drop in supply.

But fast forward 10 or 20 years and the situation looks far worse: everyone who got a windfall today is still living in the same apartment, whereas anyone trying to enter the rental market is utterly SOL. The people that are really getting screwed are 10 years old today: when they try to move out of Mom and Dad's they will enter a market with vastly reduced supply since nobody has any incentive to move.

This is why if you're 19 you can't afford to live in Manhattan: you're either old (and lucky) or rich.
The housing market (and luxury vehicle market) on the Pacific coast of America would beg to differ
I don't think this is a very useful way of looking at it. it's uncommon, but not unheard of, for people to rent more than one apartment in the same city. especially if it's a large city, someone with a lot of money might find it attractive to rent a small studio by the office and a larger space in a nice residential area. if rent were really cheap, I might lease a second unit in my building for out-of-town visitors. it would probably be more practical to just rent a 2BR instead, but in some sense this is the same thing. renting two 600 sqft apartments takes roughly as much living space off the market as renting one 1200 sq ft apartment. if rent were way cheaper, you would probably see developers start building much larger units and people renting them. indeed, this is often what you see when you compare housing stock in the city vs. the surrounding suburbs.
NZ govt investigating wearables/app for early Covid detection
Do you really think that suppressing professional home builders to make room for homesteaders building their own homes by hand is a good idea for Berlin?

Why not get rid of greedy farmers so people can grow potatoes in their backyard? Why this longing to re-implement the failed policies of East Germany? Is it nostalgia for police states and shortages?
In other news 60% of people don't pay attention to anything other than what is parroted to them by other "people"
> Isn’t this the case of any system then?

No, libertarianism/minarchism/anarchism are real belief systems.

> If you prefer your own authority, does that make you an authoritarian?

If you prefer your authority be imposed on others, yes; dictators are very much authoritarians.
The first screenshot they show you (on the screenshots page) is a Windows XP program. I can't say that inspires much confidence. Am I wrong?
Yep - they get blocked a lot by CF (probably for not honoring robots and crawling random websites for marketing purposes) yet a lot of people use it and wonder why it’s blocked: https://community.cloudflare.com/search?q=Semrush
I did one of my internships at a financial services company. Their web applications were responsible for performing transformations on massive JSON datasets, with a huge variety of financial data. This is precisely the kind of project that would benefit most from typing.

I was relieved to find out that they were smart enough to use TS, yet horrified when I looked at the code base and found that the entire codebase was littered with the "any" keyword, making typing damn near useless.

We had so many bugs reports that essentially boiled down to "this data is being transformed in a way it shouldn't be". Almost invariably these bugs were due to the developer thinking that some variable represented one thing, when it really represented something else, and they thus performed an incorrect transformation on it. Typing would've eliminated this entire class of bugs.

Figuring out what any variable represented often involved traversing the huge codebase to find out where the variable originated. On some occasions, I even had to talk to the back-end developers to figure out what the heck was going on. Typing is self-documenting, and would've completely eliminated the need to go on a scavenger hunt to figure out what a variable meant.

Anyways I got sick of this rather quickly, and made sure to add types to any new code that I wrote. I was the only developer on the 20 person team that bothered to do so.

As an intern, I didn't understand why these developers refused to use types. I just assumed that with their years of experience, they must've had a good reason. Now looking back at it, it's clear that they didn't understand types, didn't want to learn how to use types, and thus just chose to completely ignore typing.

As you said, this is utterly horrifying (especially for a financial services company dealing with real money).
> IMO, React doesn't bring much to the table in this regard while adding a lot of complexity and heft.

Strongly disagree with this. In any complex web application with a lot of components, specially ones where a lot of fixed components can live for a while, React is definitely a massive improvement over vanilla JS or something like Backbone which allows wild west.

Imagine state coming from sockets, rest APIs etc with updates being either pull or push. A user might do an action which changes the state in some other component, keeping track of the components gets hard if the state is distributed. Also, centrally managed state with things like Redux allows for good caching of API data which can make a SPA considerably fast.

While I love plain HTML pages which need little or no JS, a lot of applications are better as SPAs.
SPA make sense whenever you want to write a proper application running in the browser. When you just want a website, stop the SPA madness.
That's pretty neat. Thanks for the link.
I agree, in my experience, they need it mostly because of security. Let me know your thoughts when try it out.
What a useless, hand-waving, nothing to see here article.
I start all/most of my shell scripts with

#!/usr/bin/env bash
set -xeuo pipefael

-x to print the commands
-e to exit on error
-u to error out if there are unbound variables
-o pipefail to exit if a command that's not the last in a pipeline fails

No need to || {}.

Only word of warning here is that -x can print out secrets if you're not careful.
> Says someone who is using 1970s technology called ACH and SWIFT to send money over. At least be aware of what is happening around you before attacking other technologies.

Technology isn't a linear tech tree with newer == better. In some very real ways, Bitcoin is like a a new car design with some interesting new technologies (e.g. a satellite radio receiver) but that doesn't support other technologies like seatbelts.

Dismissing something as "<past-time-period> technology" is lazy. You really need to compare explicit pros and cons.
In a non-inflationary monetary system cost of goods decreases every year, thats how productivity growth works.

You seem to have it backwards, this is where the Econo101 book from the parent comment might help ;) /s

Inflation drives down the purchasing power, hence why milk gets more expensive every year, even though we get much more efficient at producing it. Remove inflation and 1 bitcoin buys you a liter today and 1.03 litres next year.
I guess that's an accurate analysis of the economic situation in Europe AD 1100, a time period famous for its laissez-faire capitalism.
I think you're right. Speed is a component of the User Experience. My point in writing this is that when you abstract to a higher level, the beauty of the UX was that you can instantly do whatever you want. Your thought -> your touch -> action.

However, I think you make a great point that the two are interrelated.

My straw man starting point would be:
A poor user experience that is lightning fast can still be a great experience.

But a great user experience that lags or is slow will typically not be successful.

The iphone succeeded because it coupled a great user experience that was so fast that it felt like interacting with objects in the real world.
You can follow this guide if you have one of the easy installer compatible devices: https://doc.e.foundation/easy-installer

Or on any other supported phone (see this list: https://doc.e.foundation/devices/) you can follow the install guide there. Might even work with your current phone!
I second this. I was poised to dismiss your comment as facetiousness, and then suddenly realized that you are exactly correct. Why indeed should we prefer cars over horses for most (but of course not all) applications?

Aren't we as technologists always preaching the benefits of technological conservatism, minimalism and simplicity?

Our environment has obviously changed in such a way that it's now difficult to re-introduce equine transportation on a mass scale (where would you park them in a city designed for automobiles?), but we need to think long and hard about the world view that led us to conclude cars were universally superior to horses. I suspect the argument comes down to "productivity", and the axiomatic belief that it should be maximized in all circumstances.

I think your comment actually is wise.
Not the target I guess, but this one of the challenges of OpenStreetMap. "Armchair mappers"[1] are aplenty, but sometimes you just need to see the place on the ground, which is OSM's gold standard [2]. An example is resolving Notes (ie. error reports) [3] which may take either hours or days to get resolved. Technically there's Mapillary and Kartaview, but the coverage is spotty and not always up-to-date.

[1] https://wiki.openstreetmap.org/wiki/Armchair_mapping

[2] https://wiki.openstreetmap.org/wiki/Good_practice#Map_what.2...

[3] https://wiki.openstreetmap.org/wiki/Notes
IE3 gave me a bit of a challenge because it likes cookies to only be set a certain way, JUST SO.

However, the most adjustment was probably for Mosaic, who treats ">", not "-->" as HTML comment closing, so my JavaScript can't have > characters. For if statements, I flip them, and anytime I need a > character, I get it from the char value. (Almost all my JS is baked into the HTML by the templating engine, because some browsers don't like/support external includes.)
Let me get this straight: the population of Berlin has been stagnant since 1950, wages aren’t rising, but the reason real estate prices are rising is because of demand from renters?

Sorry folks, the correct answer is: it’s a real estate bubble. And deregulation is not going to help with that.

We all lived through 2008, didn’t we? We’ve seen this before. It shouldn’t be a big mystery. Speculation drives real estate prices, real estate prices drive rents. Government intervention is necessary to break the cycle.
A different policy (Mietpreisbremse -> rent price brake) with this explicit goal is in place in "high-pressure" rental markets all over Germany. It means price cannot be more than 10% over the local average.

Berlin specifically wanted something more.
>> to distribute pornographic content without the subjects’ consent.

Fine wording issue: To distribute pornographic content made without the subjects' consent. Actors cannot remove consent post-production, they cannot make the R-rated movie and then turn around and say it cannot be distributed because they no longer like the sex scenes in it. No doubt countless celebs would love to delete scenes they did in their early careers. That it is simply pornographic is not enough. The must prove that it was made without consent (eg a hidden camera or long range lens through an open window).

Where this mattered very recently: What about a "sex pic" taken by the celeb themselves? Say a selfie taken using their own phone pointed at a mirror? That happened a few years ago to lots of very famous female celebs. Or, going back more years, the infamous Paris Hilton tapes. She made those herself. She lost control of them much later. She consented to their creation at the time, only removing her consent to their distribution after someone purchased the originals legally at auction.
+1 for project farm, I've found his recommendations and putting things to the test to be very accurate. Been pleased with the buys I made off his recommendations.

Will Prowse is a real gem too
https://www.youtube.com/channel/UCoj6RxIAQq8kmJme-5dnN0Q
So if you wanted to apply the rationing strategy to housing, would high taxes on unoccupied be a way of doing that? I think I have heard of cities (Vancouver?) implementing such taxes.
Flashing is one thing, flashing without Google's services is another.

My point is if you think flashing is no fun, working around the fact Google has moved more and more functionality to Google Play Services every year is going to be even less fun.

This is a product that only enthusiasts will find fun flashing or not, so why even bother paying extra for obsolete hardware?

-

Edit because people don't like when you point out the obvious and now I'm rate-limited:

Privacy concerned smartphone "normies" have Apple. By definition "normies" are not concerned with Stallmanistic posturing about how Apple locks down their very secure devices.

If you have an ideological opposition to them that somehow doesn't apply to the large manufacturers making the phones these guys flash I'd love to know it
> jQuery is ≈30k gziped and most likely already cached from CDN.

This part isn't so true in reality anymore, due to revised browser caching systems[1]. Doesn't mean you shouldn't use jQuery, just that part of the benefits of a centralized CDN are no longer a factor and it's a lot more sensible to self-host.

1: https://www.stefanjudis.com/notes/say-goodbye-to-resource-ca...
Sir, are you telling us that instead of dealing with that small problem of pollution (https://www.workinghorsetack.com/catch-it-manure-bag-horse-d...), we created a whole new system for transport that requires you to build infrastructure from the ground up just to use them? I wonder why.
One apartment per person or per family? If per family, is it still per person if the couple is not legally married? If they are married, but divorce, get an apartment each and then re-marry, are they supposed to give up the properties?

What if my nephew from another town moves in to live, it becomes tight… are they eligible too?

There are plenty of places in the world where real estate was/is rationed or distributed, and they all end up having very similar social distortions.
Plus it's easier to hire for. Chances are more developers have experience with JQuery than <new hot js library>.
Whichever miner mines the block that a transaction is included in must collect at least enough in transaction fees to cover the energy spent on mining. Since the block size (and thus number of transactions that can be recorded per block) is fixed, this implies that any increase in the global price of energy will raise Bitcoin transaction fees (all things being equal). This assumes that the transaction rate is always at the maximum possible; if the transaction rate is too low and blocks are not being filled, the effect is even more pronounced as there are fewer transactions over which the energy cost can be recuperated (last I checked, Bitcoin is already operating at its maximum transaction rate, but someone may want to correct me on that).

The reason it impacts coin prices is that higher transaction fees make Bitcoin less desirable as a medium of exchange and reduces demand. To put it another way, let's say I am paid in Bitcoin. If transaction fees increase, I will need to demand a higher nominal salary, at least enough to cover the transaction fees incurred when I spend my salary. Likewise, any merchants that accept Bitcoin payments will raise their prices, to cover the fees they will have to pay. Yet the same work is being done and the same goods are being sold; hence, inflation, or in other words, the value of Bitcoin has decreased.
Watched a cool video about the benefits of hempcrete last night. Very neat substance with good mechanical properties and it absorbs CO2 as it cures. https://en.wikipedia.org/wiki/Hempcrete
"This space" didn't exist 20 years ago.
Dead link that. Should let the author know.
But there's a link at the top of the page as well:
https://zyedidia.github.io/literate/website-source/
How to Grow, Support, & Fund Your OSS Project – Marijn Haverbeke – Part 1
Venezuela to Start Using Cryptocurrency in Global Trade to Avoid U.S. Sanctions
In Oregon, they passed a statewide rent control. They pointed out repeatedly at how rent had gone up 30% over five years.

The solution, is that now landlords can only increase rent 7% (plus inflation) per year. This year, its something like 9%.

Apparently, someone forgot to figure out what >7% per year for 5 years is..... Its 40%, before the inflation numbers are added in.
That is actually a really cool idea. Probably a lot more work than it sounds like.
'FinTech' in the UK is only in London. It also relies on the old boys network to keep 'the system' running, where everything is centralised in London and is full of corruption and world beating scandals. To them, sometimes the crime pays more than the actual fine.

It won't ever change, because that's the way the City of London is. It's always London.

It's a big club and we're not invited.
The USD (and more importantly, the banking system), also allows for efficient high-volume transfers, reversibility, ID verification, and fraud investigation. None of this is possible with blockchain, by design.
I wasn't trying to "getcha", but I do think this genuinely is a supply chain issue.

Consumer form factor toilet paper is still being rationed for me right now (in Cambridge, MA-max 1). That's a year after the start of this.
General Availability of Ethereum on Amazon Managed Blockchain
As a competitive code golfer, I can confidently say that vanilla JS has never offered the raw performance of jQuery.
lol, cars have some tradeoffs as compared to horses, but overall they are a vast improvement to the problem of transportation compared to horses. Bitcoin is generally worse than what came before, despite being a new and otherwise interesting phenomenon unto itself.