skysight-inc/HackerNews huggingface dataset:
>I don't believe white and black people are on the same footing economically.

I agree! I infer you think it has some causal connection with murder rates. I think that's probably true, but that the relationship is weak. Black people in the U.S., while poorer than average compared to the rest of the U.S. population, are some of the richest people in the world in terms of their actual material consumption. There are lots of poorer (and much poorer) populations out there who do not display similar murder rates. I take that as evidence that not being on the same footing economically is probably not a primary driver of the high murder rate among Black Americans.

>Do you think we can improve the damage we've done through policing?

Yes! Step one is stop causing new damage. I think the easiest way to accomplish this is to end the War on Drugs once and for all. It's the lowest-hanging fruit--a watermelon-sized apple really. We're starting to go down this path as a nation, and it's imperative we keep going down that path. There will be negative effects, but I think the positive effects will greatly outweigh them.
Not at all. Stepping through a function with a debugger usually takes on the order of seconds and minutes. Printing some stuff in the function usually takes on the order of microseconds or milliseconds. That's a difference of at least three, possibly eight or nine orders of magnitude. It's very easy to imagine a timing-related issue that's affected by a delay of X seconds, but not a delay of X microseconds (RPC calls are typically on the order of milliseconds, for instance).
Great lecture. I can't remember how many times I've recommended it to people.
Humble are capping charitable donations at 15% starting in May
Getting IDMOO running live again would make an interesting browser experiment. Hardest part may just be finding a downloadable archive. This is why software preservation is so hard ;)
Understood. However, that was not what I meant. What I was thinking was in terms of the culture and how decisions like this might look to peers, supervisors, etc. I might guess that going easy on people might be looked down upon, and that the usual fear is being blamed for the person that could have been prosecuted, but wasn't, and then did something bad. "lenient prosecutors" vs "tough prosecutors"
I'm also looking for part-time development work. What kinds of positions are you currently hiring for that would be amenable to 3-day/week work?
Because criminals have alot of guns
I always hated seeing “FBI Surveillance Van”

Made me wanna climb out of my FBI Surveillance Van and have a word with them.
Thanks for the kind words, they are surprisingly motivating (and rare).

I was the person who responded to this at the weekend while my youngest kid was having a nap. I'm glad to see people recognise that this sort of turnaround on a volunteer-run project has a human cost and doesn't come automatically.
Fayette County Kentucky is the location of downtown Lexington, the second largest city in the state. It's not rural.
> So how would this actually happen? That is the question. Well, let’s be real. It won’t start with me.

That is the question, indeed. It won't start with the author, and it won't start with anyone else. Any movement to mass delete Facebook that started to gain traction would be immediately shadow banned. There's no way for it to gain critical mass.

There are two ways to bring about the end, or at least control over, Facebook: alternative platforms that are self-hosted and/or privacy focused, and legislation. Both of these have significant hurdles, but stand much more of a chance than just trying to gain momentum for some "delete day".
The Machines of the Isle of Nantes
I have no idea what the author is trying to say.

Given that they "just recently" learned about microcode, I'd not hold my breath expecting a profound insight about computer architecture or anything computer science though.
Even if you didn't mention it was a Soviet joke, I'd know it was Russian.
I would like to see it too, and I even referred to it in a comment a few days ago. Did they release the code or just describe it in papers and talks?

A cursory look at the website and Googling says the latter, which is a shame. The research would be more impactful with source code. There's no reason not to release the source, and if you fail to do so, you can't really complain if practitioners don't pick up those techniques :)

I think OMeta was related and that is released, but IMO it's not that practical.

-----

Thread from 5 years ago that is not that flattering of their work: https://news.ycombinator.com/item?id=11686325

Oh it actually points to some more source: https://github.com/damelang/nile

Although I think it's easy to pick on different parts; there's definitely value to having a holistic system and design. But it would be better if we could see all of it instead of just the parts
I used this a lot! Combined with scripting support, you can make the experience even more interactive.

Used gdb scripts in the past to make debug sessions repeatable. Stuck beyond the point your interested in? No problem, just restart the session with your gdb script and your right back on track! You can also add custom functions to output your state in a more meaningful way or to mock some state. In longer debugging sessions, a good debugger can be a life safer!

Still, for shorter sessions, reading logs and adding occasional prints are hard to beat.
Ah, sorry, I should probably clarify that there are two completely distinct uses of the term "interval" in data flow analysis.

One (introduced in https://amturing.acm.org/p137-allen.pdf and discussed in the old Dragon Book) groups program points into nested "intervals", i.e., intervals are pieces of code. Analysis information is then propagated among these intervals. This is what I was referring to above. As far as I know this approach is completely obsolete by now, with everyone using methods based more or less indirectly on Kildall's worklist iteration approach (http://static.aminer.org/pdf/PDF/000/546/451/a_unified_appro...). The theoretical advantage I was referring to above was that the interval approach is AFAIR sometimes more efficient because it can take program structure (loop nesting) into account more directly.

The other meaning of "intervals" is used for an analysis domain, i.e., the kind of data you want your analysis to compute. For example, you might determine that the possible values of some variable x are in the interval [10, 20], the values of y are in the interval [5, 15], and then you can compute that the values of z = x + y must be in [15, 35]. There is nothing wrong with this approach, and any optimizing compiler is pretty much forced to use something like this. Based on your reference to modular congruences I think you probably want to do analysis of numerical values and meant this sense, which is anyway the only one in common use nowadays. Go ahead and do this. Extensions are with congruences, like "x is in [10, 20] and also congruent to 1 modulo 4" and/or "known bits", like "x is in [10, 20], and I know that (counting from the LSB) its bit 2 is 0 and bit 3 is 1".

Personally I learned about data flow analysis in a university course based on Principles of Program Analysis: https://www.springer.com/gp/book/9783540654100. It's a book that goes into a lot of mathematical depth but not much breadth of analyses, and it doesn't handle data flow analysis on SSA form. Then I learned additional details from various well-known papers like the ones linked above, and the classical early papers around analysis on SSA form, like https://www.cse.wustl.edu/~cytron/531Pages/f11/Resources/Pap.... I'm sure there must be a more straightforward text to get you there, but I don't think I can give a definite recommendation. I have vague memories of the coverage in Muchnick's "Advanced Compiler Design and Implementation" and/or Cooper and Torczon's "Engineering a Compiler" being reasonable, but I can't find my copies right now.
My view exactly, he bought something way out of his skill to know how it works. He expects Dell to baby sit and pander to his illiteracy.
In that case, gas plants are the best peaker option in most places as in most place CO2 and methane emissions cost $0.
I implemented it in Go for fun. I expected Go's standard lib will beat it but for long substring searches it perform up to 10 times faster than `strings.Index`.

https://github.com/sarpdag/boyermoore

Go's strings package depends on the substring size tries different approaches like Rabin Karp algorithm, (https://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_algorithm)
> in my experience they're different tools for different use cases

Exactly!

Debuggers are very useful tools, and typically not as general-purpose as print. I don’t view “not as powerful” as a meaningful distinction, because it requires that you ask “powerful at what?” ---

VS’ watch window is great but (I assume) doesn’t work across distributed systems, etc. — as a general technique, print is universal in the sense that there are very few problems that can’t be diagnosed by modifying your code and printing some (possibly a manipulation!) of the hidden state. This is going to be harder than using a special-purpose tool designed for exactly your problem.

In the same way, “no-code” tools are typically better and/or easier than writing code to solve the same problem, but special-purpose.
See also: https://news.ycombinator.com/item?id=26926054 and https://news.ycombinator.com/item?id=26925698
See also: https://news.ycombinator.com/item?id=26926071 and https://news.ycombinator.com/item?id=26925698
Thanks! did not see that before. Will keep the complaints to myself :)
ProTips after writing numerous kinds of compilers in university:

Recursive descent with backtracking is much easier to construct and maintain for diagnostics than bison/flex.

Derivative parsing is very interesting.
It uses the same open GSM audio codec implementation as John Walker's Speak Freely (http://www.speakfreely.org/history.html, https://web.archive.org/web/19970511165210/http://www.fourmi...) from around the same time.

https://imgur.com/a/y4De3Wc
Supreme Court Urged to review case against searching of devices at the border
People know who the problem is.

The thing is, if you want to do something about them, you're going to need to use a lot of violence - because those people will happily use violence against you.

Most people aren't interested in a starting a war, and would rather keep their heads down, and mind their own business.
Really annoying because URLs impart lots of meta information
You’d be surprised how much manipulation is taking place through local television and even social media. Local support is needed for elections, different politicians threat their existence..
See also: https://news.ycombinator.com/item?id=26926054 and https://news.ycombinator.com/item?id=26926071
yea it was an example supporting the reason why I think they suggested not to speculate, sounds like it must have been a good example :)
Getting through lectures and audiobooks that are good but can sometimes put you to sleep would be impossible without Tetris.
Sony Patents AI That Plays Games for You
> stringly-typed back-and-forth communication (JSON)

JSON, while it has a very limited set of built-in types and (outside of add-ons like JSON-schema) no type definition mechanism, isn’t “stringly-typed”.
Ideally, you'd emit LLVM IR or some similar bytecode or assembly. Then you'd use llc/opt or an appropriate assmebler to get an executable.

Trying to emit machine code isn't too interesting when you're writing your first compiler.
Jokes aside, I never have seen lecturers to make such beauty on whiteboards. There is an old religious war of blackboards vs. whiteboards, and somehow the whiteboard has won and lost at the same time.
^This

My thought was that many responses are of the form "well good craftsmanship is boring and not 'interesting' - that's why we charge money for it" and I'm glad to have found lots of people that I DO NOT want to work with.

Good craftmanship - writing tests, documentation, making sure something works and actually ships and gets out the door - now that's interesting and rewarding. OP is trying to avoid those organizations that get caught in the trap of "we don't know exactly what we're building, so we're going to write some tests" or "well we could ship now, but we should probably add some more features just to be on the safe side." Places like that would be really boring.
That seems oversimplified. Do you have any data about the trends of gun possession by criminals or gun crime related to attacks on police?

There are also a lot of innocent people being shot too, or the visibility of it has increased.

Edit: also, could it be police are less trained or more fearful than in the past?
The James Fields case isn't nearly as cut-and-dry as they pretend. There's video of his car being attacked immediately before the accident, a confession by a Redneck Revolt (antifa) leader that he chased Fields' car with a gun, and then Fields' tearful breakdown when he heard that someone had died. Not long ago liberals laughed at the absurdity of not running over violent rioters.

https://www.youtube.com/watch?v=08Khc2wqtCQ
This reminds me of my previous job where we had an optimized single-server solution, whereas the competition scaled horizontally. They couldn't out-scale us at what we did until they got to 20 servers or so, which only the biggest customers needed anyway, and even then they would be really slow. You can achieve some impressive speedups when you really focus on the problem.

Still, it wasn't that helpful from a business perspective, because apparently it is easier to justify mark up on solutions with lots of servers.
But with print statements if the first place I put them doesn't work, I can start doing bisects and quickly find the right place to print.

As you note, debugger breakpoints aren't magically better than print statements when I'm investigating a hypothesis – I'm no more likely to put them the right place than I would have put print statements.

And then there's a class of problems that neither debugger nor print statements will help: many years ago a very junior co-worker was wondering why his C code was giving the wrong answer for some math. It took me pointing out that one of the numeric types he was using in his code was different from the rest (I think it was #defined elsewhere, in some library, as an integer type). When the compiler did the math it had to do some type coercing.
How to Think Like a Detective
Python 3 is now over 12 years old. That's a very long time. And having a merge request open for almost 2 years is also a very long time.
And people don't come into your city from the outside but maybe you're OK with that.
Arguably, if a gas plant hasn't run for a year then it'll go bankrupt and shut down pretty soon.
What's the deal with the Gulf of Guinea? Night fishing at scale?
No idea, it's very new so the driver side is probably flaky. This being said Lenovo is shipping it on Thinkpads and the likes, so Linux support shouldn't too far fetched.
I hope the wrongly accused are able to sue the software company to get better than the offered 22k compensation.
> All those code samples will crash and burn if s and t point to the wrong locations

This is true for all uses of pointers in C. The only validation you can do is whether a pointer is null. Apart from that you can never know that a pointer points to a non-wrong location. And still experienced C programmers seem to be OK with using pointers.
Okay, but if I see something shared that I know to be false and can demonstrate to be false with links to robust summaries of evidence and argument from trusted sources then how do I respond? The Facebook model is that I have no real alternative except to share opposing views with others in my bubble. It is fine for your grandpa to talk to racists, but if he shares his newfound junk with me then I should be able to flag it and link the truth such that any viewer of his posts can see how others see it.
I returned to school for comp sci past year and as an older student, I still feel like I got the "college experience" because I actively sought it out. I was also in a state that didn't care about covid so that helped a ton too. But, my experiences weren't with people at school, they were predominantly with people and randoms at bars you just talk to. Also dating apps as well.
Nope, it doesn't have a consistent look, because in the end it's still the browser engine rendering the SVG, and asking the OS for the glyph for the particular emoji.

In Windows 7 I get black & white emojis, and the website's favicon is a different shape to the one on Windows 10.
I met him at Defcon 21 and ran across him again when I was running a developer hardware access project in my last job just a couple years back. He struck me as incredibly curious (as a hacker must be!) and was a pleasure to work with. The friends who introduced me to him at Defcon are devastated for a reason... rest in peace.
it works, its convenient, its easier to learn, easier to setup, it has less side effects in multithreaded programs meaning you can debug those too. You can even log to a file and then get these logs from your end users... The article does make a good point, errors that only cause failure a few hundred calls after the originating problem are easier to find this way too. Every few years I make an effort to learn to use whatever the current most popular debuggers are, but at the end of the day, its really just very specific kinds of errors that the debugging tools are better for finding and I generally go back to debug outputs soon enough.
I think far more likely is a gradual quiescence of accounts. I still maintain my accounts because there’s the odd HOA thing that pops up on a Facebook group, but I don’t actively “engage with” anything else on Facebook.

There’s a finality to deleting your accounts, sure. But you can also get most of the benefits by just using social networking less.
I have heard the 'red-lining' problem, at is is a problem in wealth accumulation but it still doesn't explain high crime rates at all.

Problem is that you have lots of poor immigrants that immigrated here from former communist countries, or latin america, or Laos/Cambodia, with no money and no savings whatsover. Some came as starving refugees, and are still poorer than the average.

Yet, they don't end up doing crime at the same rate as some other poor people.

Being poor seems like a copout and doesn't address the issue.
I think more important is the actual cost of communication. Networks are slow. 100Gbit is still a couple times slower than the memory controllers in our phones.

https://en.m.wikipedia.org/wiki/Bulk_synchronous_parallel is a useful model for incorporating communication costs into design vs. PRAM.
We discourage using the CPU miner with the Ethereum mainnet
I was just reading https://geth.ethereum.org/docs/interface/mining and that:

"We discourage using the CPU miner with the Ethereum mainnet"

made me think why? I guess this is for environmental be green reasons? But it's ok just for testing?
If you're concerned that a script's root password prompt may be a forgery, you can run "sudo -v" before executing the script.

For background, there is a convenience feature in sudo: It only requires your password prompt if you have not had a successful sudo invocation in the same terminal in the last X minutes (5 minutes, I think? not sure on the exact value). "sudo -v" is a special invocation which does not actually execute any command, but it renews your 5-minute lease. ("sudo true" is effectively equivalent, though not idiomatic.)

So if you're executing a short script that needs sudo, run "sudo -v" before running the actual script. Then you know that if a root password prompt pops up again, it's not really sudo who's asking.
That's such a classic coiner reaction.
> I just said that Jesus was pretty clear about this.

Not unless you feel "damned" in that sentence is adequately defined, and as the earlier link to the Wiki article on the many different Christian theologies about Hell shows... it's NOT adequately defined.
> "I recall a certain person being hesitant to send US tax dollars there because of corruption concerns."

I think you meant IIRC, but the C is the problem. That certain person had no problem with corruption in Ukraine, it was just that he needed some of it's corruption to act in his favor first.

And the jump from the article to "So is Ukraine basically the playground where all of the worlds corrupt elite steal millions?" Is a little (not a little) broad. It's a former Soviet bloc state and this is pretty much table-stakes corruption for those.
In banana republic may be, where mob decides who’s guilty and who’s not
They could always say the software was shining a light on a problem that was going unnoticed before.
The State of Michigan installed a software program to eliminate tens of millions of dollars of unemployment fraud. Seems foreign actors figured out how to cheat the system.

Along comes COVID-19 and tens of thousands of Michigan residents have legitimate unemployment claims denied. Some people have been waiting for over a year.

What about all the fraud? Seems the foreign actors figured out how to beat the new system and fraud is at record levels.

Sorry no link but both Detroit newspapers are behind paywalls - even for articles that were free to read at the date of their publication :<( .
Those are the right questions, that only time can answer.
Are there any other imaginary situations you've dreamt up that you think are applicable to this thread?
>The more general advice for error handling is that you should try to make APIs that require very little in-line error handling. Instead, keep errors behind the APIs, maybe collect them in a list, or only keep the first or last error, and allow to handle them at a later point (out-of-line).

I guess you wanted to say that instead of printing just what's wrong at some point, be smarter and try to build some handier error handling like attaching error to ast's node and then maybe do something with it
As a return college student, my college is just filled with women who are at college to rack up absurd amounts of debt for worthless fields making subpar art or papers. Also the typical trip to europe that costs 3x the amount it does if you did it yourself.
That’s the hope! Though the rover should have most of the scientific equipment that it needs to run the relevant experiments right there on the surface of Mars.
Oh, yes, that’s a good point!
That goes against Occam's Razor.

I wish I knew if that were true. Our world is complex and it's unclear how to calculate the odds of someone in his position killing himself, accidentally falling off a cliff, or being murdered.

Maybe someone assassinated him, maybe he had a heart attack. There are plenty of plausible scenarios.
You Should Probably Be More Extroverted
You don't join clubs with the intention of dating. If you are, you're going about dating 100% wrong...
Does anyone know how good and accurate this heart rate monitor? OR know of a good one-time-cost ideally open sport fitness focused watch?

I would LOVE for someone to hack the Whoop. It's not accurate/good enough, nor insightful enough, for me to want to keep paying $30 a month. but a one time cost and an open community to patch it to match individual use cases would be completely worth even a couple hundred upfront.
Criticism is the path to improvement. This is yet more proof that Indian leadership is doubling down on public relations magic and attempts to control the narrative when they should be focusing on practical ways of improving the situation. Politicians that win through hardcore divide and conquer strategies perform badly when tested with real crises.