skysight-inc/HackerNews huggingface dataset:
I've served on a jury in CA and have seen jury selection on a couple occasions. Based on what I've seen, I think it will remain highly unlikely that a convicted felon will make their way onto a jury of a criminal trial (civil trials might be more likely).

In the standard questionnaire that prospective jurors are given, they are asked if they or members of their immediate family have been victims of a crime, or if they work in law enforcement. Now that felons will be part of the jury pool, they will undoubtedly also ask if they have been convicted of a crime themselves.

In my experience, judges will themselves excuse jurors who have family in law enforcement (parent, spouse, sibling), which means the lawyers don't have to bother using a challenge on it. I would expect the same will happen with many/most criminal convictions, especially when they are related to the crime that is alleged.

And even when they are unrelated, I expect the prosecutor would dig in and ask questions like "have your feelings about respect for the law changed since you were convicted of embezzlement?" — even if it's an assault trial. These questions will be uncomfortable for the potential jurors, who may feel like they're being humiliated and put on trial all over again. I would not want to be a felon being questioned for jury selection by a prosecutor.

note: my experience is in San Mateo county jury selection as a private citizen. I am also a former lawyer, and almost all of my lawyer friends have never made it past jury selection. I served once, only because I emphasized that I practiced tax law, which is very different from criminal law.
> You are there on the floor with these men, lowest in the hierachy, selling your time which you can't scale.

What's the alternative? Being an employee is the same thing, but with better benefits and worse pay.
A Solar System Quilt from 1876
Many of these sorts of problems seem intimidating at first, but if you’ve had any training / exposure to implementing recursive solutions (i.e. a bit of SICP), the solutions come much easier because you are trained to think in terms of “what is the tiniest amount of work I can do to advance the problem by one step?”

In this case, all we need at each step is to look at one character plus one lookahead character from each string. We’ll call them a and b for string 1 and c and d for string 2.

If a and c are equal, advance.

If a and d are equal, delete c and advance.

If b and c are equal, delete a and advance.

If b and d are equal, change one of a or c so they match, then advance.

Once you use up an edit, the algo changes to “a and c must match” for the rest of the string.

Edit: terminate the algo when one of a or c is a NULL char. If they are both NULL, the string passes. If only one is NULL, then your one edit allowance was not enough to make the strings equal.

Also, rather than “deleting” a char, it is sufficient to simply advance that pointer an extra step.
I hate this line of thinking. If you're the kind of boss that makes your devs jump through hoops before you're willing to empower them on product-level decisions, your devs hates you and your product is suffering from your micromanagement.

Empower your devs right from the start and stop pretending that you know better than the devs who live and breathe the product every day.
I don't understand what the author has against requiring a pip install -e .

You're requiring contributors to install dependencies anyway.

If you're using pytest (I think the article assumes you're only using the standard library unittest which I wouldn't personally recommend) there is pytest-pythonpath which at least makes this invisible to the user.
Interesting, do you have a link to more reading on this? The Wikipedia page on the 16th amendment doesn't seem to mention WWI as the reason.
This is a genuinely great idea. Other stuff like recording audio, looking at your location, and even annoyances like sending you notifications all require a permission request that appears in the browser chrome. Why doesn't Firefox put other features that impact privacy behind the same barrier?
It's kind of funny that it's espousing GNOME tools for command line work. ;-)
Make website – shell script to generate static websites
Did you just call wobbly fixed point vertex no subpixel precision no transparency no perspective correction mess full of gaps on PS1 a nicest graphics of their generations?
me, reading this: wait, Munroe is at the higher end of the range because she's not writing short stories with wordcounts like that, she's writing novellas, are any of the stories he's listing for her short enough to be shorts?

john fox: concludes the article with a nice infographic that lays out the standard wordcounts from every
story size from "microfiction" to "Russian novel"; one of Munroe's stories is at the bottom end of the gap between "short story" and "novelette" with the rest well into "novelette" or "novella"
Most of the advice here seems okay but this stuck out to me:

foo += 'ooo' # This is bad, instead you should do:
foo = ''.join([foo, 'ooo'])

This seems like such a silly micro-optimization. I also have to question its validity, even in scenarios where you're working with huge strings.
> The main story that I am pushing in the book is called signaling

I saw this idea a lot in other various threads. As the average HN poster is probably well educated, I wonder if it’s a biais coming from software engineering where most of the skill set is learnt by experience.

Anyway, I have a long list of university degree, and I can tell there are indeed differences with autodidacts that learnt the same general fields. The fundamental difference is that university forces one to learn the unfunny parts. For computer science it means for example functional programming, database normal forms, language theory, anything with mathematics inside, etc. Of course, university classes alone are not enough and much like an autodidact much study have to be done alone, which might lead one to conclude that university is not required. But I don’t think it the case.
My Grandmother’s Favorite Scammer
Why is anyone ever barred from jury duty outside of severe disability? Voir dire seems to exist to mitigate any conceivable juror issues.
A $120k Banana Is Peeled from an Art Exhibition and Eaten
This was pretty enjoyable. It reminds me a bit of "return true to win" (https://alf.nu/ReturnTrue).

I think I cheated a bit on Level 7. I just copy-pasted the code that wrote to epochComms and changed it to write to interceptComms instead. I'm not quite sure what the intended solution is.

On Level 12, does Secret.extHash serve any purpose? It never gets read.

I was doing this on mobile (Chrome on Android) and I ran into a few odd problems. If you have two opening curly braces in a row and try to backspace to delete the first one, it instead inserts a newline and duplicates the rest of the line. That is, if you have "{{foo" with the cursor after the first curly brace and you press backspace you end up with two lines each saying "{foo". This doesn't happen for me on desktop.

Copy-paste also seems to be broken on mobile. You can't select anything and trying to paste is just ignored.

It would be nice if you go go back and view the hint after you've completed a level. Or even if you could try different solutions to a level after you've finished it. You may not always be happy with the first thing that works.
Uber Wants to Be Amazon
> I outsource a lot of game dev related work.

Do you mind if I ask what kind of game dev related work?

My experience in the industry involved only hiring companies to do completed bits of work. This included programming, art, sound and level designs all in one. Basically, whole playable levels and/or mini-games from scratch. Not ideal jobs for a single programmer.
Not just that part of the world.

This was an issue during the last Ebola epidemic. And it may impede a vaccination program.
Photos of Cardi B, Tiwa Savage, Burna Boy in Lagos Club
Many European countries are like this, go visit somewhere like the south of Spain and it's a completely different lifestyle. There was an article here the other week about a country (Netherlands?) where you can take up to six months off work paid (at a lower salary) for burnout.
Tsunebaro Makiguchi, an early 20th century Japanese educator, was striving towards deconstruction of rote education but his work was disrupted by authorities who worried that his educational revolution would disrupt orderly Japanese society. Careful, PG, you might be rocking the boat too much with this. ;)
$120k Banana Art
Tsunebaro Makaguchi – Education Through Interest
How is it like linear regression, considering linear regression has a closed-form solution, and even if you're using an iterative solver, is a convex problem.
Unless it is erradicated. Smallpox hasn't resurged yet, and we stopped vaccinating against it.
The server/workstation version of Ice Lake is not available yet and I wouldn't recommend buying a quad-core Ice Lake laptop for high performance computing.
ToyRap – Open-Source Toy 3D Printer Based on the Mendel90
Im pretty sure they had more than one board meeting worrying about sudden coordinated effort of 'linux nerds' to utterly destroy PS3 security model.
Is iwlist not the thing anymore?
Every example under "Instruction types" looks like a combination of 2 (or more) instructions. "Do this AND do that".
There was no point other than incorrectly parsing a unix timestamp to something other than UTC. If you need to pass the time zone then pass it separately or use an ISO format instead. None of this is that complicated.
> Building new luxury housing raises the price for all preexisting nearby housing

Based on this logic we should ban all new housing construction and ignore basic things like population growth.

Hint: It's only "luxury" because the market can bear it.
Unfortunately the settlement only required Intel to document their deoptimization practices, not change them.
How to write better game libraries
There were more cases of OPV caused polio than wild polio in 2019.

Maybe it's useful still in Pakistan and Afghanistan. Everywhere else should switch if it's viable economically to so so.
Looking at the comments, there needs to be a distinction between the "eminent" career vs what people define as "success" in the title.

The success in this paper is the equivalent of the Forbes 30 under 30 rankings except it's when you're 48. There will be genuinely eminent people who run a fortune 500 company, illustrious careers in academia, but the methodology of simply searching for someone years later has clear problems.

What if you were to win a Nobel prize at age 55 or 60 (very common). You may have contributions earlier but didn't meet the criteria.

On the reverse, like with Forbes 30 under 30, there are always people who master personal branding and PR over substance. Lot's of news articles about you doesn't equate to being eminent in the usual definition of the world- just well known.

FYI, I'm not disputing their thesis or suggesting their results are wrong, I just find it odd that evaluating people at age 48, they couldn't find an algorithm much better than Forbes 30 under 30 which we all know has a lot of BS.

I'd be curious to the results at age 75.
I've always thought of compiler programming as systems programming. I guess it fits your definition of being something application folks interface with in addition to kernel.
Buy ketamine online,ketamine powder online
I wouldn't be surprised if some of the participants on this HN actually are Orcas, they seem to capable of anything and everything ...
Markets require competition. If I have to pay a lawyer thousands of dollars before I can install some solar panels in my back yard and start selling the power to my neighbors then I'm not going to do it, and if the only remaining companies who do are an oligopoly of huge players with the regulators in their pocket then you no longer have a market.

A lot of that is regulatory capture, but the other huge factor is administrative costs. Even if I can do a great job and do everything safely with no danger to anyone -- suppose I'm an electrical engineer -- then I'm still not actually allowed to do it because the rules require an electrician.

We could have simple rules -- don't electrocute people, don't start a fire -- but sometimes it will happen despite our best efforts. Then a bureaucracy doing the work will want to defer blame. A set of regulations allow that. If there is a fire but they followed the regulations, well, they followed the regulations. Not their fault anymore, even though it ought to be. But then every time something bad happens, you get another rule (even if there are five other, possibly better, ways to solve the same problem), until the rules are so complex that only a large bureaucratic entity can follow them. Having destroyed competition, we can now blame the market for the resulting badness.
I'm confused here too - is there some other desired behavior? I thought the goal here was to avoid race conditions and just reproduce that order, since that's what's in the source code...

> var buttons = []string{"red", "blue", "green", "yellow", "purple"}
An unrelated question. For those using Vim, what plugins do you use to get a SLIME-like development environment?

I have read great things about SLIME and how it helps in hot-reloading code into a Lisp REPL using Emacs. But is it necessary to learn Emacs to do Lisp? Are the plugins for Vim good enough?
>The meat of your content is to just ask back at me what I'm giving you.

You keep misunderstanding. Intentionally, I imagine (par for the Philosophical course).

The meat of my content it: What do you want?
" ... it had to be something readable in a single sitting

As I recall it I read vol. 1 of Lord of the Rings in a single sitting
Fix These 5 PC Issues That Slow You Down
Watch Live Television via Smartphone
I disagree with this essay, I have no knowledge in the field that would allow me to argue against this essay, I think this essay lacks brevity, and the moral of the story seems weak.
Oh heh, I declared another method then used that to set the passcode var (without the var being shadowed), return it to the hardcoded method name, and returned that.

// readCodesFromKeypad - get codes from keypad input
func readCodesFromKeypad() []string {
var passcode string
var codes = make([]string, 0)

// Agent Getter - bypass keypad input
// codes := streamKeypad()

// Agent Getter - try brute force login
// TODO: not finished, someone's coming...

// use shadowed "passcode" to avoid unused var error
return append([]string{passcode}, unshadowedMethod()...}[1:]
}

func unshadowedMethod() []string {
codes := []string{passcode}

return codes
}
Ever replaced a blown fuse? Air filter? oil? requires authorized service technician with special lets call the mothership to reauthorize tool.
What that I've written is offensive or incorrect downvoters? You have a sense of righteousness, but do you have any courage? How do you know your ideas are correct if you never put them to the test? Hiding in a mob seems like a waste of something precious.
Good news: https://www.gavi.org/news/media-room/inactivated-polio-vacci...
Draining Swamps with high flow toilets?
There's a number of reasons the live polio vaccine is preferred in developing countries. The biggest is that the OPV vaccine, as the name suggests, is oral. You don't need needles, which means it's easier to mass administer, you don't have to deal with sharps, etc. I think people vastly underestimate the logistical difficulties of delivering vaccines, especially injectables that require a cold chain like IPV.

It also sheds, which is good if you're struggling with vaccine coverage. Whether this is a downside or not is a highly dynamic question - as we get closer, the side effects become a bigger deal, but part of the reason they're a big deal is because WT polio is so heavily suppressed.
If dismissing people for felonies was a valid cause by itself, then this law would be completely meaningless, that wouldn't escape a judge overseeing the proceedings.
The original Xbox had some contractual problems that prevented it from being cost-reduced. I don't think MS cared if they broke even since they were in it for the long haul. Everybody knows Xbox 3.11 for Workgroups was the first good Xbox anyway.
It's also much easier to administer, which matters a great deal in many of these settings.
Does K-12 education include civil aviation training now? It didn't when I was doing time, but that was in the 80s and 90s when we still did "duck and cover" drills as a placebo for the fear of nuclear holocaust rather than "active shooter" drills.

Furthermore, testing for pilots isn't just filling out a form; there's a practical test as well as a knowledge test.
Kubernetes in Layman Terms
The story is a little misleading -- the correct sequence is not in fact "sitting right there in the code."

I "cheated" on some questions by causing the correct output to be printed without actually doing what the instructions recommend, but in this case, the path of the least resistance is probably to follow the instructions, including leveraging what the lightbulb hint recommends.

Additional Hint 1: Tbebhgvarf nera'g arprffnevyl rkrphgrq va gur beqre gung gurl'er fgnegrq

Additional Hint 2: Qb nf gur vafgehpgvbaf naq uvag fhttrfg naq svk gur enpr pbaqvgvba ol hfvat n zhgrk gb rafher gung bayl bar tbebhgvar ng n gvzr fyrrcf naq gura nccraqf gb gur neenl

Additional Hint 3: Lbh pna eranzr gur frgOhggba zrgubq naq znxr lbhe bja ercynprzrag gung pnyyf gur byq bar

If you want to "cheat": hfr lbhe oebjfre pbafbyr gb frr gur .tb svyrf gung ner ybnqrq juvpu pbagnva gur fgbel, pbqr, naq pbeerpg bhgchg.

Decode hints with https://rot13.com/
AMD Zen 4 CPUs Rumored On Track For 2021 Release
actually https://www.nytimes.com/2019/11/20/opinion/military-right-to...
So does it replicate what Mujoco and Pybullet do? What exactly do you mean by simulation?
So, HTML?

;)

Slightly more seriously, systems programming seems to me to be approaching the lowest levels, so including "not low-level programming" would give the wrong impression that it includes the really high-levels ones.
> As much as 10-50x faster than existing best-in-class tools. We’ve flipped simulation software on its head through modern functional programming.

I'd guess they accelerate simulations on the GPU and/or over multiple cores.

Rarely revolutionary since this is certainly best practice in any serious application domain. Might make it much more accessible to implement though.

We'll see, I also remain rather sceptical.
I believe his point was that an instant in time (be it seconds since epoch or represented in some other way) is not the same as the representation of a calendar day - string-formatted standards let you represent concepts other than an instant.

The confusion might be coming from JavaScript incorrectly calling its instant representation Date, when it is actually quite a bit more precise than that.

Its also worth noting that you can't pick a time like 12:00 UTC and have it retain the calendar day in all time zones, because there are a few stray islands which are UTC+14 rather than UTC-10.
I’ve just recently started looking into implementing a minimal ALU, and I’ve been having trouble finding good resources to answer the question “other than a one-instruction computer, what is the smallest number of instructions needed in a Turing-complete RISC?”

I’m guessing it would be NAND, ADD, increment, and some sort of branch?

NAND covers all of the bitwise ops. If you have ADD, NOT and increment, you can get SUB. If you have ADD and SUB, you can get MUL and DIV.

Am I missing anything?
The way we filter candidates into any stream be it college or companies need to change. People are inherently pressurized by capitalistic mindsets and competition that makes them to not question things but just follow the herd mindset of setting up papers and interviews mechanically. We always are chasing the next than solving the now.
Some related thoughts I wrote a while ago on the state of Education https://medium.com/@thallukrish/why-the-why-matters-d7b8170b...
I tried typing full on mobile and it just kept deleting words.
Peaceful Nuclear Explosion
HomePod flopped because few people want to spend hundreds of dollars on Siri when they could spend tens of dollars on Google home which is a better voice assistant. Having good audio quality doesn't explain the price tag when you can pair Google home with a dumb speaker if you find the audio quality is insufficient.
Simulation of what, ffs??
> I can 'pattern match' code far faster than I can read the text

No you can't. You are getting the impression that you understand what the code does from its shape. This works only when the code does what you already assume it does before you start reading the code.
I started learning Common Lisp in vim with slimv, which works pretty well. After a while, I switched to emacs with evil-mode, because I could port my vim config to emacs pretty easily by finding emacs plugins for equivalent extensions.
Tried on Chrome and FF on Android. Can't type in either.
We stop when it's eradicated.
I guess it's a generalized environment to simulate any (or a subset of) complex system https://en.m.wikipedia.org/wiki/Complex_system
Far Cry
UK Future skills-based immigration system: executive summary (2018)
I tried weighted average, but in my case the weights were computed by doing dot product between all vectors in the phrase (m x m), then taking the average over rows for each word and normalising. Kind of like a poor man's Transformer. It will boost words that are supported by other similar words in the same phrase.
Spirit Scripts: Japan’s mysterious outcast alphabets
I know electrical shock is a different term but if he had burns from a capacitor, he very well could be mentally very shocked and babbling. You can be shocked (not electrically) from getting an electrical shock from the outlet, so why not from his capacitor?
Whom do we become when we inhabit another language?
One of my favorite college courses was a computer science course that taught C++. It only had 4 graded components, each worth 25% of your final grade. There were two tests (programming tests with paper and pencil only) and two projects.

It wasn't hard, but it was the fifth most failed course in the university because the tests were extremely difficult to "hack" and the projects were big enough that a student could not rush them at the last minute. There was no homework or attendance to pad grades.

It was one of the few times in my college career that I felt like a professor actually cared whether or not students actually learned about the subject.
Muslims in the US are a small, often despised, and occasionally persecuted minority. However, a majority of people in the US still identify as Christian, the US military is positively infested with Christian dominionists, and in most of the US you haven't got a prayer of getting elected to public office if you don't at least pay lip service to Christianity.
> because that’s closer to what a real world programming task looks like

To make it even closer, you'd have to have people coming in at various points with contradictory updates to the task, impossible requests, an overbearing managerial diktat, etc.
The CIA have crafted a wonderful brand: with their actions, they've created a (truthful) universal public image that they'd stoop to the southern tip of Hell to get whatever they want, completely numbing the public to any possible action. If the CIA had a good reputation, hearing something like "They undermined public faith in vaccines, leading to multiple modern-day problems and epidemics" would lead to skepticism, and then riots.

Instead, we all know the substance of the agency's actions, and of the character of its men. As a result, we're mildly surprised when we hear this, and don't feel it's a substantial deviation from the status quo.
One of the things I dislike about this "dilemma" is playing it off like it's unexpected.

This was true for Smallpox. This will be true for any disease as it approaches eradication if the vaccine isn't 100% side-effect free.
AT&T Website Bug Showed Other Peoples' Bills