skysight-inc/HackerNews huggingface dataset:
I’m currently involved in a project to develop a tech intervention to support outreach workers in providing emergency shelter to unhoused individuals[1].

Part of the goal is to get data on why people don’t accept available shelter and how to address those blockers by creating more shelter spaces that meet more people’s needs. We know we will see the ability to keep companion animals, safe storage for personal items, and the ability to stay with family members as reasons people don’t take shelter. It’s easy to empathize with that. If I were a woman on the street with my mid-sized dog (companionship and protection) with all the possessions I had left (after months at least of hard decisions about what I couldn’t take) and a 13-year-old son (we are likely to get separated in shelter placement) I would be resistant to most of the options available to me. And that doesn’t even begin to address what led me to the streets in the first place (job loss, family support system loss, domestic violence, health expenses).

This is my opinion, but based on some observational experience, the only people for whom living on the streets is “easier” are those who are young, healthy, and have a family support system to return to.

This recent article in the Guardian provides a good overview: https://www.theguardian.com/us-news/2023/aug/17/san-diego-ar...

[1] https://insider.govtech.com/california/news/san-diego-county...
Looks like awesome project!

EDIT: Ctrl-C and restart with ./goMarkableStream got it working more or less.
Saving the below message if it helps anyone else

EDIT2: Awesome when it works - but getting quite a bit of spotty service. Still frequent `waiting for reMarkable screen` . SSH is showing everything normal, except for occasional:

2023/08/20 14:48:16 read /dev/input/event2: file already closed

2023/08/20 14:48:16 read /dev/input/event1: file already closed

I upgraded my reMarkable2 to 3.5.2.1807 (from ancient 2 something version)

Unfortunately I am getting waiting for reMarkable screen after installation.

That is nothing is happening when I draw on reMarkable2 - in notebook, in sheets, on book.

On inspection ReMarkable2 is certainly serving html with canvas element

Both https://192.168.8.143:2001/
and
https://10.11.99.1:2001/ work (after accepting unsafe SSH cert which is normal)
and are serving html.

Tried on Chrome, Firefox, Brave

I installed it per github instructions.

From Windows via PuTTY through 10.11.99.1

EDIT3: Looks like limitation is one browser (and one IP address) per stream - normal considering the usage :). Still sometimes no matter what address and browser I try I get `waiting for reMarkable screen`

EDIT4: tried `nohup ./goMarkableStream &`, closed PuTTY and restarted client computer - all browsers giving `waiting for reMarkable screen`

How would I restart the stream? Inspecting https://10.11.99.1:2001/stream gives `too many requests` response.
I was honestly trying to think of how an X11 bug could affect images and links in tweets until I opened the link and remembered that rebranding exercise.
(beautiful writing, as others have said!)

> the same depressing crumbling economy of coastal towns all over the UK

I'm surprised to hear that coastal towns in the UK are doing poorly. In North America, it's generally the coastal areas that are more prosperous.

Was it overbuilding during the era of British sea power? Or a great sucking-up of wealth by London?

It makes me wonder if, long term, seaside areas would make good places to buy property. Surely, on the whole, they have more natural beauty than inland areas.
You are much faster than a professional cashier? Congrats I guess.
Also the space argument doesn't hold up. The cash register belts are not need on staffed registers if they are not needed on customer slaving ones. So they are approximately the same size minus the chair for one helpful human.
It’s live updating, so 0% of the electricity right now is being generated by coal (ie. The coal power plant is off). Note that Greece says “estimated” though so I presume they don’t have the actual live numbers.

You can view averages from the past 30 days, 12 months, and 6 years though and that shows the percentage of coal generation being about 800MW over the past 12 months.
Measuring at the group head is the critical part here, as opposed to at the boiler, because in most machines there is a lot of thermal mass which will actually equalize temperature fluctuations that happen on the scale of seconds or minutes. This means the effect of having a PID is less about smoothing out the short term fluctuations and more about the ability to set the average temperature
A couple days ago there was a thread on Hacker News that devolved into a discussion of what a comp-sci student learns in school that they can't learn by themselves. Control systems are a good example of something that is good to have a basic background in and can be hard to learn by yourself. I think it much easier to learn this topic in school because you have an instructor to answer questions and are surrounded by other students who you can discuss the topic with to help you gain intuition about all the math.
"I've been involved in a number of cults, both as a leader and a follower. You have more fun as a follower, but you make more money as a leader." Creed ;)
Thanks, I never really understood feed-forward well, but modeling the thermal mass makes a lot of sense for keeping the terms in check.
(As I understood it in Betaflight, it overrides the PID controller and mixes setpoints directly into the output.)
caniuse and MDN compat data is really good these days, so you usually don't even need to crack open Firefox to be able to decide whether a JS API or a CSS feature is portable. For instance, in the Mega case, I assume they use the FileSystem API (since they have to download a large encrypted blob to a staging area first), and it's very easy to check availability of that API on all major browsers. As long as you don't chase the latest standards or WICG proposals, your code is likely going to work across all major browsers.[1] As I said in another comment, I occasionally check whether my sites work in Firefox and Safari, and they're just fine almost all of the time.

It seems to me that some diehard Firefox fans assume that just because some sites don't work on Firefox, all developers have to dedicate special attention to Firefox or their sites will be broken. That's very far from truth.

[1] More care is needed for mobile Safari, which often imposes additional non-obvious constraints, but that's a separate topic.
They key phrase in your comment is "that is already working well".

After many years of fixing things that aren't broken, I've come to appreciate the phrase "If it ain't broken, don't fix it!".
Inside the Collapse of a Plea Deal
This grasp of history isn't quite right.

Adobe PostScript, invented by Warnock, was _the_ standard. It was the means by which an application could describe to the computer in the printer the layout of the page. (And later the compute resources in the printer got separated first into Raster Image Processors (RIPs) and later just part of printer drivers in the computers).

The development of PDF was driven by the need to resolve incompatibilities in PostScript implementations that had become the nightmare of graphics pros in the early 90s. It was not uncommon to have to use random software to convert one PS file to another PS file which could be understood by the RIP owned by a given print shop.

Quark was built on the infrastructure enabled by PostScript in the first place.

Edit to add: possible confusion - RIPs were primarily used to generate super high res output on film used for lithographic plates, but they were enabled by the standardization around PostScript for driving laser printers.
Some would say that SLS applies to JavaScript. ;)
The introductory paragraph of the submitted article certainly makes it look urgent:

"[Malaria] [...] was responsible for over 600,000 deaths in 2022, according to the World Health Organization. [...] 95 percent of malaria cases and deaths are reported in Africa alone, and 80 percent of the people who die in various African countries due to malaria are children under 5."

This new vaccine seems to be targeting a different stage of development of malaria and seems to be compatible with augmenting the existing RTS,S vaccine for increased protection if I read that correctly.

Edit: calculating the fraction of these numbers for children makes three quarters of all malaria deaths children. This sounds surprising and excessive but is sadly corroborated by the 2022 World Malaria Report [0] which states: "The percentage of total malaria deaths in children aged under 5 years reduced from 87% in 2000 to 76% in 2015. Since then there has been no change." [1].

[0] https://www.who.int/publications/i/item/9789240064898

[1] p.22 of the report
Do not forget the rate-limting. That one seemed like a misunderstanding of the business: to keep people sucked into the platform.

Why would advertisers pay if their cows could only be milked for a few minutes of engagement per day?
For anyone who likes white noise, highly recommend the Dom white noise machine.

https://a.co/d/gbr7cV9

It's what most biz folks use (eg therapists, massage, etc) in their office to ensure privacy.

We've used one for like 9 years with my son and it helps him sleep really well too.
Every time I see things like this, I feel like the person must be unaware of awk.

# the original one-liner to get unique IP addresses
cut -d' ' -f 1 access.log | sort | uniq -c | sort -rn | head
# turns into this with GNU awk
gawk '{PROCINFO["sorted_in"] = "@val_num_desc"; a[$1]++} END {c=0; for (i in a) if (c++ < 10) print a[i], i}' access.log

It's also far, far faster on larger files (base-spec M1 Air):

$ wc -lc fake_log.txt
1000000 218433264 fake_log.txt

$ hyperfine "gawk '{PROCINFO[\"sorted_in\"] = \"@val_num_desc\"; a[\$1]++} END {c=0; for (i in a) if (c++ <10) print a[i], i}' fake_log.txt"
Benchmark 1: gawk '{PROCINFO["sorted_in"] = "@val_num_desc"; a[$1]++} END {c=0; for (i in a) if (c++ <10) print a[i], i}' fake_log.txt
Time (mean ± σ): 1.250 s ± 0.003 s [User: 1.185 s, System: 0.061 s]
Range (min … max): 1.246 s … 1.254 s 10 runs

$ hyperfine "cut -d' ' -f1 fake_log.txt | sort | uniq -c | sort -rn | head"
Benchmark 1: cut -d' ' -f1 fake_log.txt | sort | uniq -c | sort -rn | head
Time (mean ± σ): 4.844 s ± 0.020 s [User: 5.367 s, System: 0.087 s]
Range (min … max): 4.817 s … 4.873 s 10 runs

Interestingly, GNU cut is significantly faster than BSD cut on the M1:

$ hyperfine "gcut -d' ' -f1 fake_log.txt | sort | uniq -c | sort -rn | head"
Benchmark 1: gcut -d' ' -f1 fake_log.txt | sort | uniq -c | sort -rn | head
Time (mean ± σ): 3.622 s ± 0.004 s [User: 4.149 s, System: 0.078 s]
Range (min … max): 3.616 s … 3.629 s 10 runs
It doesn't take much magic to convince certain pointy haired bosses.
There's a great opportunity for someone to make a satirical "modernized" HN page with all the worst features of the modern web.
What am I looking for?
Same situation here. For us it went away with gradually introducing dairy to her and that was the protocol given to us by the doc here.

She hasn't developed an appetite for cows milk yet (prefers oat), but enjoys many other kinds of dairy now, like cheese, yoghurts etc. without any symptoms.
Heh...

"I can answer it in several paragraphs, but I really would like to be able to answer it in a single sentence some day!"
...

"Datasette is WordPress for data: an extensible open source platform with plugins for exploring, analyzing, visualizing, and publishing data."
I think what they're saying is that addiction is itself a symptom of some other trauma, where substance abuse is a way to fill some void or distract from some hurt.
Ever increasing price? In the US and much of Europe, one price change since launch.
There’s a crap-ton of money to be made in renewable energy.
I'm always at a loss with this argument. How does chasing cheaper sources of energy that also happen to be renewable hurt the poor? Gas generators cost the most per kWh to run. Our electricity prices rocketted because of natural gas prices rocketing.

If we'd managed to get off gas sooner we'd have clean cheap power, and energy independence.
Side projects benefit greatly from ChatGPT because usually:

- the projects are small in scale, meaning ChatGPT needs less context, and stereotypical solutions probably work quite well

- you're not a domain expert (as opposed to your paying job, which hopefully you are an expert in the niche there), this means relatively speaking ChatGPT can help you more, whereas if you're a domain expert, you probably outperform ChatGPT anyway.

That said, ChatGPT often replaced Googling and stackoverflow when I need to look up how some things are done. The benefit is that I get to ask very specific questions and get to ask follow up questions.
Modernizing Legacy Systems with Amplication's DB Schema Import
> This is where a PID controller comes into play. This advanced technology optimizes the brewing process

Calling something that first year electrical engineering students were getting taught in an introduction class 20 years ago (well 18 years ago in my case but it had been on the syllabus for at least two years at that point) is a little laughable.
Ask HN: What’s Your Desk Setup
Hello HN,
I’m in the process of building my desk for work from home. I’d like to hear/see any recommendations on your dream desk setup.
Where did you buy your desk? How about cable management? Lights, pads, chargers, keyboard, etc…
Did lawmakers consider this scenario before voting on the law?
It's an interesting topic but the article is very weird, seems like SEO spam almost.
Person B could just vacuum (assuming B wants vacuuming twice a week).
Well, there is one around 2km from me, though I'm not sure if it's running right this instant. I can look later, though.

EDIT: It doesn't seem like the specific unit is on the list, it's called Ptolemaida 5.
Both at U of U, with all the other founders of computer graphics: Jim Clark, Jim Blinn, Ed Catmull, ...
Ok, Vladimir
> paying rent/bills seems anathema to them

Social services can pay rent and utility bills directly, so the person receiving rent assistance does not have the option to forget to pay the bills.

> People are severely disabled by mental illness or addiction

People with mental illness are typically assigned to an assisted living care home, or mental health institution, involuntarily. This is common in Europe. I understand, in America, involuntary institutionalization is pretty much a taboo.
This educational paper [0] titled "Expanding Confusion" (2003) is a classic on the general topic and well worth the read.

Holding the two concepts of an accelerated (!) (in terms of objects [1]) expanding universe and the fixed finite speed of light simultaneously in one's Euclidean head can be dizzying, so be prepare to draw and enjoy the hard earned manual labor of counterintuitive conclusions.

[0]https://arxiv.org/pdf/astro-ph/0310808.pdf

[1]https://bigthink.com/starts-with-a-bang/universe-expansion-n...
SegmentAnything is the big one missing from other UIs, but IMO most of the other extensions are pretty niche, especially with how hackable diffusers is compared to the A1111/Comfy SAI backend.
Programmer humor is so shit, man..
>Who is that human?

exactly. I worked at FB and commuted with some folks on the CP/dismal/abuse review team (they reviewed contnet flagged for all sorts of crazy shit)

It was disturbing.... I wouldnt want to be that human, nor know those humans as well - there is a lot of dark content that makes ignorance bliss - both from knowing the content and knowing the humans (even the mods) around it...

yuck
Sounds like a good opportunity to apply the Five Whys approach.
This line in particular really bugs me:

> The present blog post brings bad, and as far as I know, previously undocumented news. Even if you really are targeting an instruction set without any memory access instruction that requires alignment, GCC still applies some sophisticated optimizations that assume aligned pointers.

I could have told you this was true ~20 years ago, and the main reason I'm so conservative in how far back gcc has been doing this is that it's only around that time I started programming--I strongly suspect this dates back to the 90's.
In this case that food is probably not cows milk, typically being pasteurized before being sold. This is not a debate about macronutrition, it's a debate about the particular distributions of guy bacteria in different people
For me it boils down to this, which is more successful: treating addiction without houselessness as a factor or treating it with houselessness as a factor?

If it's the former, then you provide the home to increase efficacy.
Not necessarily - India, China, Japan and US have all upped their ante on space exploration and so Russia will too. (And with the US militarising space with its US Space Force, well, ... "Begun, the space war, has ...")
This argument doesn't follow. Internet access is already mostly commoditized. Pushing Google's complements to be even better commodities are things like DoH, Net Neutrality, and free-as-in-beer Android. Taking on the business of running an ISP doesn't make Internet access more of a commodity. The adage is "commoditize your complement", not "enter the business that is your complement" - the point is to squeeze their margins while growing yours.

> What do these dense urban areas have in common

Higher population density such that any activity in the public right of ways affects proportionally more people and thus receives more scrutiny and review?

I honestly don't have any easy prescriptions for facilitating new Internet buildout in dense areas. I do agree that zoning and permits have gotten us to a condition where it would be effectively impossible to rebuild what has already been built (eg the common example of most walkable duplex/triple deckers not conforming to the lots they currently sit on). FWIW this would imply that the incumbent communications companies should continue to be highly regulated due to new entrants being unable to duplicate their existing buildout.

My comments are focused on the not-dense areas where laying/stringing new lines is perfectly straightforward, but there are no incentives for Ma Bell or Ma Coax to build new infrastructure (aka FTTH) as they're perfectly content milking a captive market. There are multiple comments in this thread of people suffering Ma Coax with some ridiculous bills, fiber being promised but not available, etc. Then a newcomer enters the market, whether municipal or private, and then all of sudden Ma Coax snaps to attention and starts competing. As I said, in places that new privately-funded competition actually does enter we should celebrate. But that shouldn't involve municipalities abdicating their own interests (eg mandates to build out the complete city/town) in the hope that it might make competition magically appear, since that's a race to the bottom - especially if we're talking about relaxing requirements for the incumbents, meaning competition still hasn't arrived.

Furthermore for many places (my own included), the needle was only ever going to be moved by the municipality getting involved. Internet access is basically a solved problem for me now, so much so that I have to wonder why I even started commenting in this thread, apart from saying to people who are wondering if pushing for municipal fiber is worthwhile - yes, it really is.

(And as far as electrical lines and infrastructure in general, I certainly have my complaints but overall I feel it's being decently maintained in my area. Trees are trimmed often, and I often do see lineworkers replacing poles and upgrading lines. Electricity distribution certainly has advanced in 100 years. Looking at the overall national statistics, I see the trends behind the narrative. But I'm also not going to let those general narratives destroy my faith in my local institutions, because that too is a cause of the problem)
> "The car was probably driven by someone who needed to do a human thing. Drivers are not evil Captain Planet villains."

In other situations where someone annoys hundreds of people, harms the health of hundreds of people, primarily for their own benefit, we'd call that bad, undesirable, and socially shame the person doing it, wouldn't we? The situation is anti-human; it's not a nice situation to exist in as an unaugmented human outside a car, not nice to walk in, to talk in, tarmac road isn't beautiful, vehicle fumes don't smell nice, they're harmful to health, and it's not cheap to build cars and roads everywhere and maintain them. Cars take a huge amount of space to move one person compared to the space of one walking human or one biking human, and they push 'places' further apart to make room for vehicles and car parks.

It should be that for such tradeoffs, cars need to have an enormous payback - things which absolutely can't be done without them. For example, emergency services - noisy, but needs to move mutiple people and equipment in a hurry. Delivery vehicles needing to move large quantities of goods around, labour needing to move equipment around. However if it's done for travelling 2 miles because urban design gave no thought to walking or biking so that the only safe and convenient way to cover 2 miles is by car, even though owning a car is a huge cost, that's anti-human design.

The NotJustBikes YouTube channel linked above has the message that most people are not 'car people' but will use whatever transport is (the cheapest, the quickest, the most convenient). It's a failing of urban design and big picture thinking when individual car driving is the winner for many short journeys when it could be otherwise. It's a bit of a failure when walking and driving are a sidewalk beside a main road and other routes have no (sidewalks, streetlights, bike lanes, safe crossings, etc).

Compare for example the NJB videos:

- "Why grocery shopping is better in Amsterdam" - https://www.youtube.com/watch?v=kYHTzqHIngk where he compares shopping for food in Amsterdam with driving to an out of town box store in Canada, and having to drive in Canada.

- "Safe cycling showdown - Good vs. Bad city design" - https://www.youtube.com/watch?v=M8F5hXqS-Ac which is a 20 minute video, first 10 minutes is NJB cycling from Amsterdam center to a hardware store ~10Km away on the edge of town, voice overlay is him describing what makes good/bad cycling infrastructure along the way. The next 10 minutes is an equivalent ride in Calgary, Alberta, from city center to out of town hardware store a similar distance, and similar overlay commentary. The contrast is stark.