skysight-inc/HackerNews huggingface dataset:
Do you really think the solution to homeless people is to just build more buildings and give it to them for free?

Hint: if you announce to the world that you're doing that, there'll suddenly be a lot of homeless people coming from everywhere to partake in your generosity.

As an aside: I'm in need of money, how much are you willing to give me? You'd be resulting in a social problem by not giving me money. Let me know how much you're personally invested in solving social problems.

If you think it's an absurd ask, I agree. That's exactly how I feel about the homeless. If you can't afford Toronto, go live somewhere else. It's not a God's given right that you get to live in the 6th most expensive city because you want to, anymore than I get to take some of your money because you happen to have more.
Low-Skill Workers Aren’t a Problem to Be Fixed
This reminds me of Growth of the Soil. Same themes.
Sounds like Substack for data viz.

What's your pricing structure?
Print debugging is useful for the same reason backtraces are useful: both allow you to see what happened in the past, which is usually where the problem you're trying to fix actually happened.
Pressuring your representatives to do something about it, and helping others get mad about it too, and encouraging them to encourage their representatives likewise, is probably the most bottom-up response possible. It can do enormous good, but of course can also go nowhere.
> running out of private address space

Classic merger "solution".

Company A uses 10/8 Company B uses 10/8, company A buys company B and orders new subsidiary B to renumber into 11/8 "All you have to do is change every first octet to 11"
You may have misread the situation.

I have known him for decades, and I have never seen him take advantage of another person. Not ever. Not even once.

If he said he forgot to bring money, then he probably did.

Let us raise a cup to his name. A kind soul and an inspiration to us all.
A Rust library for generic lossless (concrete) syntax trees
Aside from it being not 1.0 yet, I think this is the right answer for the future.
Presumably the police could see the actual detail.
Taste is individual, but I just don't understand how you could find a heap of concrete slabs to be beautiful. To me, beauty is life-affirming, and brutalism is the physical embodiment of a philosophy that denies life in favour of rigid functional structure. It's the physical representation of kafkaesque bureaucracy.
I got the idea when I was thinking about the applicability of computer algebra systems to math education. Some way of visualizing the decisions and steps of a logically complicated program seemed necessary for that. Getting a readable trace of the computation in a similar way to the one that some logical programs or expert systems can justify their reasoning with seemed like a usable form of such a visualization, and some time later then the analogy with CSS/XSLT struck me. I was thinking of collecting all the steps into an output, but setting breakpoints in a similar fashion with individual "selectors" could be useful for debugging, too.
Yeah all the news sources my parents sub’d to in the early 00s and I sort of figured I’d sub to as well once ready are aggravatingly narrative driven. I’m not sure if I never noticed that, or if it’s a new media approach, but I don’t need “baseball + narrative injection” articles in my life. I’m actually fairly bummed out about this, I go to Reuters now.
It's a great book. Bob's not a CS teacher, and it's great: the book is grounded in practice and has been structured in a way that lets you get a tangible result at the end of every chapter.
> The sad thing is, Turks don't hate Armenians, even today.

I'm sure that's true for some Turks. And many other Turks are extremely invested in hating Armenians, even after having lived in Europe for two generations.

> I do say bad things have happened to everyone, but labeling this as a planned and deliberate act is highly wounding

"eh, we both said things we shouldn't have, nobody is at fault here".

You're a genocide denier, it's pretty simple. And disgusting.
neck restraint is standard use of force

noone dies from back of the neck pressure unless there is physical damage and none was detected, not to his skin, nor deep tissues based on autopsy report, there was not enough pressure to cause suffocation

GF died from fentanyl overdose and sick heart which could't handle him resisting arrest for so long
The only real downside to scooters is that our cities are completely designed around cars. Nobody complains about cars being in the way, messy, ugly, unsafe, or causing accessibility problems, but it's even more true of cars than it is of scooters.

The quicker we can get our cities redesigned to meet the needs of all the people who need to get around, rather than just car drivers, the better. The problems with scooters are the same problems bikes or skateboards have, but just more visible because so many people use the scooters. The only way we are ever going to find the political will to adapt cities for non-car uses is if enough people use alternate transportation to make it worthwhile, and that's going to make things messy for a while.

Imagine how awesome scooters would be if a city had as many scooter parking spaces as it did car parking spaces, and as many scooter lanes as it did car lanes...
I don't know if you're from the USA (based on your username), but here government is very inefficient at the state/county/town levels where these sorts of things play out.

Maybe the department that issues tickets in your town doesn't have modern internet connected systems, so they only send notices by mail. If they have the wrong address in their systems for whatever reason (multiple legacy computer systems that don't talk to each other, happens all the time), you won't get the notice but you'll still be held responsible.

It's entirely plausible in cases like these that the right hand doesn't know what the left is doing - the ticket is generated, various due dates are set and the paper notices are dispatched, but there's no system to verify if the notices are delivered. Instead, the due dates pass without response and the system generates more fees, more notices, more due dates, until the above scenario reaches its conclusion where a warrant for arrest is issued and makes its way into the police computer systems. In many places in the USA, there's no built-in feedback for the ticket-issuing authorities to ensure that notices were actually received until the police get involved with a warrant. The notices are just fired off, the government says it's the citizen's responsibility no matter what, and they wash their hands of the consequences.

Additionally, in some places traffic tickets in particular have their own separate mini-justice system called "traffic court" or similar, and different rules apply - like no court-appointed lawyers because it's not technically a crime, no juries or even a "real" judge (just a magistrate or administrator), and so on.

It also varies wildly by state and town. It's hard to talk about governance in the USA in general terms because it is so highly federated. For all the power and visibility of the federal government, state and local authorities wield enormous influence over the lives of their citizens. In some ways, the USA is closer in structure to the EU than a single unified country.

In many ways, interacting with government and the justice system in the USA is incredibly byzantine, verging on kafka-esque. If you search around, you will find an endless series of stories of people who commit some minor infraction and are subsequently lost in the labyrinth of government, sometimes even destroying their lives and livelihoods in the process.
Every study and simple math says the same thing. Exercise is the least effective way to lose weight. The amount of exercise you have to do just burn 500 calories is far more than most people will do.

Besides, there are other ways to exercise.

The last point, if you overeat anything you will gain weight.
I just quickly went any checked the program I was trying to debug. I was running 'python3 package --arguments', where 'package' is the name of a directory which contains a package I was working on. 'python -m pdb package --arguments' just complains that 'package' is a directory.

Adding a 'breakpoint()' at the start of the program does get me into the debugger. I'll remember that for future (but, it's not easy to find by googling if you don't already know what you are looking for!)
> “You can have a second computer once you’ve
shown you know how to use the first one.”
(author here) - the subcommands are great but don't give me what I was looking for (as explained in the detail of the post).
To riff off that, it’s also a very common (not universal, nobody is saying that) thing to presume that the justice system works correctly, at least in some countries. But this is aspirational at best.

We need better frameworks for incorporating doubt into our thinking about such things... whether it’s the reliability of computers, or of the justice system, producing what we expect.
https://news.ycombinator.com/item?id=26917890
Suppose you are a c programmer and start a project in c++ and then someone joins your team and starts using a corner of the language you are not well versed in. That can be a very scary place.
wait until we weaponize the AI and let smart weapons decide who lives or dies
> When enough fake news is spread, serious things can happen. Bad things. At a small scale, an individual’s reputation can be ruined. At a larger one, a foreign government can manipulate the outcome of a rival’s election.

people keep repeating this like it is a truism, but how many specific examples are there of this and how much damage does fake news really do? Which specific piece of fake news influenced the 2016 U.S. presidential election? Where are these fake news stories that are always going viral? The only viral fake news that I have seen are The Onion and Babylon Bee but those are intentional satires.
I didn’t read the article, but it was quite soothing to look at the chalkboard photos. Perhaps due to the superficial chaos and the order that arises from it.
Have never found writing to logs to be "effective". More a necessary evil ;)

What is really effective is "visual debugging". Say for example you are testing for bias in an RNG. Rendering a large format image of random rgb values will immediately show any cycles, even to the untrained eye.

Consider GPGPU workloads, for ML or ray tracing for example. There are myriad levels of variables to track: resources, allocations, command buffer state, synchronization, compute kernel per vector, and so on. All primitives that very much lend themselves to graphical representations!

Right now editing live code in a profiler usually involves textual editing of the graphical shaders. But it's easy to see how this evolves to a purely visual shader editor, not unlike those found in Unreal or Godot.
> Earlier this month the chief executive of the Post Office said that Horizon would be replaced with a new, cloud-based solution.

I'm sure that will fix it. The problem is bigger than the software, obviously.
Wasn't Kolomoisky one of the oligarchs that backed the overthrow of the previous pro-Russian government as well as financed the current president of Ukraine? I am wondering what went wrong for him with the US, was it just Trump in power instead of a more friendly politician?
+1000 - I used your network programming guide extensively for my Computer Networking final project in 96, invaluable, Thankyou!
After <time passes>, you can run arc patch --diff D12345 again and arc creates another branch called arc-diff-d12345-1 or something like that, then you can rebase -i onto that.

I feel like phab had a couple workflows that were very efficient and if you ever had to do multiple git operations you were probably using it wrong. You could do everything but the actual code review in the CLI. Github is hampered because they can only use git operations and they just try to figure everything out server-side.

That said, phab certainly has it's idiosyncrasies and anything outside of the workflow that they intended was not supported.
I think that's what I just said...
The pinetime is almost identical with the Colmi P8. The P8 is about $30 and has a worse motion sensor, but is otherwise nearly the same, is easy to get, and is supported by most pinetime operating systems
Automatically translate wget, Vim into an Object-Oriented program [pdf]
TSMC themselves say shrinking from 7nm to 5nm offers either 15% better performance OR 30% lower power.

Neither of those would get x86 anywhere close to m1 in either performance or power consumption.
It's definitely more nuanced for sure. Factors that can play into it can include but aren't limited to race, social standing and class, country that you are living into etc. I agree there's a have vs have nots at play at times but I don't think you can discount race at play either.

As an example, I always found it interesting that when I moved to the US, I found the words use suddenly disappears despite there being lots of people that could fit that mold. Has anyone experienced otherwise? I'd be curious to know
I don't know about Canadian laws, but in the United States we let foreigners buy real estate with a phone call, or email.

So basically we let foreigners buy our land.

They can't live in the house/building, but they control the people whom do.

We make it difficult for hard working Americans to buy a home, but let foreigners scoop it up with funny money?

This has bothered me for years. Especially when it's not easy for Americans to buy foreign land.

(Supposedly the government asks about the origin of the wealth before the sale now, but in my county (Marin County) it looks fishy. I have neighbors who don't speak a lick of english, but are living in mansions. My gripe isn't cultural. I just have doubts on the origin of the cash they buy houses/land/buildings with.)
Lumi (YC W15) is hiring PMs to build the marketplace for manufacturing
The full headline feels misleading. It's not that no-one wanted to admit it could be wrong. No-one wanted to admit it was wrong. There were plenty of people involved who were well aware it was wrong, they just didn't want the consequences of that admission.
Another aspect, where printf debugging can be better than debuggers are use-cases where timing is relevant. Some bugs don't occur when break points stop the program at certain points in time. For completeness is should be added, that there are also cases where the printf can change the performance and make it impossible to find a bug.

I think the two methods are complementary and should be use in combination.

However, the big issue is that basic printf debugging is very simple to use and debuggers have a steeper learning curve in the beginning. Therefore, people start using printf debugging and don't invest into learning how to use debuggers. And when developers don't invest into learning how to use debuggers properly, they are missing the skills to utilize them and still use printf debugging in cases when debuggers are clearly superior.
> Indeed I'd argue that these lists are more for an intermediate compiler writer. Beginner compiler writers don't need to know register allocation.

I'm not disagreeing with you, but note that the title does not say it's for beginners, it says it's for amateurs, which is just anyone who does it for fun rather than money.
It doesn't mean anything without specifying the denominator, they could've meant per unit time, population, or crime.

Now that you've specified though, the only remaining wiggle room is 'who is actually committing the crimes'.

80% arrests being black people is 'fine' if 80% of 'arrestable crime'[^] is committed by the black population; it just points to something other than policing needing improvement. Education perhaps, or welfare.

[^] by this I just mean that not all convicted crime involves an arrest, and maybe there are demographic differences in the types of crimes committed
Those with exclusive access to the commodity make a lot of money. The Saudi Government, which is actually a 'family', are the richest 'family' on earth by leagues. That's there 'the profit is'.
Note that Keybase never offered end-to-end encryption, they tried to solve it with blockchain magic and, granted, got quite far (what they made truly was innovative), but missed a tiny step of actually checking the blockchain (which would be resource-intensive for mobile devices, which is why they pushed it back for later solving) or offering any other way of verifying the encryption keys.

I actually reached out to Keybase as well as one of the NCC auditors that I've talked to in the past for unrelated reasons, but the auditors are playing deaf and Keybase (on the third contact attempt) claims it's safe because of the decentralized social proofs (which aren't actually verified by the app -- you trust solely on the Keybase servers to give you the right encryption keys). All details are here: https://security.stackexchange.com/questions/222055/how-can-...

The whole thing seems moot now that Zoom bought them, but so now if Zoom does anything with blockchain and supposed end-to-end encryption, I'd be very weary and verify things regardless of whether it was audited. Even as a user, you can make sure they covered the basics (from my StackExchange post linked above):

> Users should have demanded followable instructions. We should have questioned Keybase, now Zoom, and anyone who makes a strong security claim. They claim it? You should want to see steps you can follow to verify it. Since you put your trust in the published code, those instructions should not involve any command line coding work, and definitely not have gaps like verifying keys on your laptop and hoping that the server sent the same keys to your phone.
Browser environment provides a living example that it's possible to have a proper application sandboxing. Even with multiple different produciton-quality implementations.

A more interesting and practical question is how difficult is it to have proper application sandboxing, while keeping reasonable backwards compatibility level with existing code. I think that it's near impossible, that's why I don't hold high hopes regarding any existing OS sandboxing. But new systems like Fuchsia might actually bring us Android successor able to run any code without fear.
Everything in this comment is verifiably false. Like, easily.
Does charging someone with a crime, doing nothing about it for 20 years, and not even telling them, actually help a DA? Shouldn't the number of filed charges sitting idle count against them, if anything? It would seem like evidence that the DA is, so to speak, all talk and no action.
The problem with the old old Dragon Book's treatment of parsing is that it explains a particular impractical algorithm (LR(1)? LR(k) maybe? it's been a while) in way too much detail. You would need that detail if you were to implement a parser generator (for that specific algorithm), or a parser using that specific algorithm, which isn't terribly well suited for generating useful error messages for your users.

Today's computers are ridiculously powerful, and the perceived performance advantages of LR parsing are simply irrelevant. Further, even if you were to implement an LR parser, you would do it with the aid of a parser generator, which hides the boring details and saves you from needing to understand the LR algorithm itself. But more likely when you write a parser you use a parser generator using a different approach, or you write a recursive descent parser by hand. In either case, the dry parts of the old old Dragon Book are completely irrelevant.

The people criticizing the 1986 Dragon Book's treatment of parsing aren't saying that parsing is irrelevant. They are saying that parsing that specific way is either irrelevant or done for you by a tool that is not the interesting part of a compiler.
> Speed of iteration beats quality of iteration.

That's especially true if you're doing some form of TDD/unit testing. With IntelliJ, I can easily set it to watch for changes and cycle one unit test while I make changes. If something weird happens I can just drop a printf in there, understand and rectify the issue, then take it out. Much faster than step through debugging.
‘dang, can we get a black bar for Dan? I can’t think of many people who deserve it more.
One thing that annoys me is the reasons administrators give for replacing chalkboards: "chalk boards are hard to maintain, the chalk powder gets all over the place, etc". But then they replace them with whiteboards that they probably spend twice as much to maintain. If they just spent that same effort sourcing high quality chalk and chalk holders, chalk boards would work great.
Holy crap, that's a lot of words. I'm pretty sure judicious editing could've halved the length of that.

Speaking as someone who lived in NYC for 10 years I am absolutely against the scooters that plague other cities coming to NYC. Why? Several reasons:

1. There are too many people on the sidewalks. At least cyclists almost always ride on the road. In my experience, amateur scooter riders think it's fine to ride an electrified vehicle (often poorly) on the sidewalk. It's not;

2. The sidewalks are too narrow already in most places. This is exacerbated by all the permits given for various news stands, outdoor seating and whatnot that create a ton of choke points on the sidewalks as is;

3. People are already really bad at effectively sharing the sidewalks as pedestrians. The three biggest categories here are tourists (this is probably the first time in their lives they've had the option of walking anywhere and it shows), phone zombies (just stop and send that text rather than walk oblivious to your surroundings at 1mph) and people who walk in groups and want to walk slowly 4 abreast.

Oh and as with cyclists, the problem isn't the delivery people. They have an economic interest in getting where they're going safely and quickly. The only time I see them (on vehicles) on the sidewalks is when they're picking up or dropping off.

It's all the shared bike and scooter people that are the problem.

At least previously the only scooter riders had their own scooter and were thus far fewer in number.

In other cities (eg Miami, even SF), the pedestrian density is far lower so it's less of a problem.

Oh and of course people just dump the shared scooters in the middle of the sidewalk. Honestly, they're a menace.

Here's a compromise: get rid of 1 lane of parking on each street and widen both sidewalks by the space saved. Then there might be room.
This feature has existed for several years.
> Beginner compiler writers don't need to know register allocation. They need to understand how to think about language translation, how to write an intermediate representation, how to learn a target language.

I don't think people that want to write a compiler want to end up with helloworld.c instead of helloword.exe. At least I don't.