skysight-inc/HackerNews huggingface dataset:
It depends what you are doing with the value.

If you are going to iterate through some of the resulting thing but not all of it then the generator means you aren't throwing away a bunch of the work that you've done.

It can also be more cache friendly. It doesn't need to allocate a whole new lists worth of memory.

One of the downsides of it being lazy is that if list x is mutated between when you create the generator and when you consume it then those changes are reflected in the generator.

I've done some micro benchmarks and it really depends on what you are doing. Profiling it with cProfile, Pyspy or using %timeit in an Ipython shell will tell you if it makes a difference.
I just wish westerners who visit Asian cities like Singapore would stop gushing over the cleanliness and orderliness there while bashing the US/west if they're not willing to adopt Singaporean drug laws. You can't have it both ways. "Freedom" means accepting the consequences of people exercising it. Some people experiment and tap into massive creative potential(even Steve Jobs went through a phase), others fall into addictive traps.
Companies don't pay a premium but merchants pay a transaction fee.

Reading from Swile's website, it is a flat 3.85%, quite lower than what I initially thought. I am not sure how it compares to credit cards.

Source https://www.swile.co/en/merchants/meal-vouchers
I don't understand how all that bit twiddling is faster in the 100% case (where the branch predictor should be hitting home runs.)

I guess it means a js branch is very expensive even when predictable but that feels slightly unsatisfactory.
Interviewing is a terrible way to screen candidates, but if you're literally asking questions that appear on "top 10 interview questions" pages, you're not even trying.

This whole thing really comes across as an interview process that is about soothing the interviewer more than it is about collecting empirical data that can be used (and iterated on) to qualify candidates. Be upbeat! Show that you've read the same Uncle Bob posts I have! Question me when it's important that something I said be questioned, but listen carefully and do what I tell you to in other cases!
Feedbin is so great. Easy filtering, can process newsletters, etc etc. Very reasonably price. Highly recommended.
Intel CPU is faulty and has Core errors. It's not your GPU, its your CPU
This "tipping" concept seems to have been originally proposed to deal with GPT-4 Turbo being "lazy" when writing code. The article cites a tweet from @voooooogel showing that tipping helps gpt-4-1106-preview write longer code. I have seen tipping and other "emotional appeals" widely recommended to for this specific problem: lazy coding with GPT-4 Turbo.

But the OP's article seems to measure very different things: gpt-3.5-turbo-0125 writing stories and gpt-4-0125-preview as a writing critic. I've not previously seen anyone concerned that the newest GPT-3.5 has a tendency for laziness nor that GPT-4 Turbo is less effective on tasks that require only a small amount of output.

The article's conclusion: "my analysis on whether tips (and/or threats) have an impact ... is currently inconclusive."

FWIW, GPT-4 Turbo is indeed lazy with coding. I've somewhat rigorously benchmarked it, including whether "emotional appeals" like tipping help. They do not. They seem to make it code worse. The best solution I have found is to ask for code edits in the form of unified diffs. This seems to provide a 3X reduction in lazy coding.

https://aider.chat/2023/12/21/unified-diffs.html
A good trick is to think about what you are doing instead of the (negative) outcome.

If you run, thinking about your movements and where you're at in the sprint is good, thinking about what if you stumble, what if a fan throw a bottle at you, what if the guy behind me speed up, what if I lose and did everything for nothing...in this case, you've stopped to think about running, you're not focused, and so you're not doing a good run.
Can the flipper zero be used to steal cars? it's got a radio and can do raw input/output, so sure, but I've not seen anything definitive that says it can actually be used for that.

you'd need a break in the encryption and seed values used in order to get into and start a car with one, and afaik, that's not been shown to be possible. I've heard a rumor that older models of certain cars have weaker implementations of how they handle rolling codes, but nothing definitive.

more specifically, if I had such a break, you could program a cheaper device with the correct information.

without anything definitive, it just comes across as fear mongering over a toy has the word "hack" as part of its description.
> Police system wants criminals to persist

It's not actually police most of the time, it's for-profit prisons. They are by far the biggest lobby for keeping minor drug offenses illegal. Police don't actually benefit a whole lot from there being lots of crime, at least where I live -- it makes them look bad.
TIL. Updated, thanks.
Didn't find this one in the list, little divaness imo: https://www.youtube.com/watch?v=O3qD1jKNYaU (Huey Lewis & the News)
You posted this exact comment 7 times. That's abusive. Please don't do anything like that again.

https://news.ycombinator.com/item?id=39479190

https://news.ycombinator.com/item?id=39479188

https://news.ycombinator.com/item?id=39479185

https://news.ycombinator.com/item?id=39479183

https://news.ycombinator.com/item?id=39479177

https://news.ycombinator.com/item?id=39479174
P.s. to make that function an actual generator you could use

yield from

Instead of

return
“Everyone else is stupid but me” is not an actual argument, dude. I’m talking about the uptick in drug abuse in Portugal while the article is just completely ignoring it.

By the way, the proposal excludes increase police enforcement. So yea, it is the Wild West even if it says it’s not.

Like all “drug reform” plans, there’s no actual plan for the people who don’t want to stop using drugs.
... but you sure as hell can make it inequitable.

> Harvard gives preference to applicants who are recruited athletes, legacies, relatives of donors and children of faculty and staff. As a group, they make up less than 5 percent of applicants, but around 30 percent of those admitted each year. [1]

The writer holds an MA in "Writing and Rhetoric", and a PhD in English. So why is he using equity and equality interchangeably, and basing his argument on those lines:

> You Can't Make a Competitive Selection Process "Equitable" [...] you cannot make a competitive selection process a tool for equality, as the entire point of competitive selection is to identify inequality.

> What are those students doing when they brag about themselves, list their accomplishments, try to impress the admissions officers? They’re saying, “I’m not like those other applicants, I’m better, we are unequal.”

The lefty-woke brigade has never been about demanding that everyone's life be the same. The DeSantis definition: "the belief there are systemic injustices in American society and the need to address them". Inequities. Not inequalities.

Let's see what Yale/Stanford/Cornell prof Robert Sternberg says about standardised testing for admissions:

> First, their content is “often trivial with little use outside an academic setting.” Second, “life never seems to present us with multiple choice or short answer responses to problems,” indicating a flaw in the response format. Finally, the issue of “equity,” as the tests “rely heavily on socialization in the middle to upper middle class” and “unfairly favor white and Asian students.” As Sternberg pointed out, this system creates an “illusion of knowledge” and “self-fulfilling prophecies.” [2]

But hey, the writer seems to just love the prestige differential between universities, so I don't feel unfair in saying that maybe he was unaware of the above because he's a Purdue guy.

> Why do people covet that status? Because coming from one of those institutions signals to employers, graduate schools, and your social peers that you are in some sense better than others.

How long is that status going to last once people figure out that it's pay-to-play. Maybe there's no woke bogeyman pulling the strings. Maybe Ivy-league admissions know something you don't. Maybe they don't want to export footballers and presidential-hopefuls who went there to party and make connections.

[1] https://www.nytimes.com/2023/07/25/us/politics/harvard-admis...

[2] https://www.hamilton.edu/news/story/standardized-tests-narro...
What are people using for rss on mobile? I feel like that's the biggest change, at least for me. The way I consume news moved from something I did on my laptop to something I did on my phone.
You need to stay on top of things. It was later reported that it was in fact transmitting. https://www.nbcnews.com/politics/national-security/china-spy...

As I recall, the spying case was suspected from the start. The Navy cleared out a port just before the balloon passed overhead, just to be safe. I can only assume that's why the ships were evacuated, anyway. The media is not going to tell you the truth, especially not about stuff like this. They wouldn't have told us even if they knew it carried a bomb, probably.

As a matter of fact, you should take anything the government or media says with a healthy dose of salt. Seek out alternative sources. It might save your life. For example, people in Ukraine were told that Russia was not invading up to the day it started. Then they closed their borders and conscripted just about all the men.
Running a benchmark on my system comparing your generator expression version versus their generator function shows that they perform within a small margin of each other. Yours was marginally (< 1%) faster. (not a real proper benchmark, there's quite a bit running on this computer right now but it still has a lot of free cores so should be close to the same result from a proper benchmark)
No. No one trusts Chinese research to be:

A) accurate
B) reproducible

Even in Western journals it's frequently suspect.
Not only that, but you destroy a part if it actually deploys. More $$$.

A pair of Kevlar gloves is $20 or so.
>If you think those principles got out of date then indeed I would not hire you

If you think your hiring criteria are some kind of general yardstick, I wouldn't want to be hired by you in the first place. What's with people using their position of power (hiring people) as some kind of argument - or perhaps threat?

>Something like the "single responsibility principle" is just good software design to anyone who ever had to maintain any piece of software.

The "single responsibility principle" is an ad hoc, ill defined idea. A bad idea for many real world cases, that has to be applied with discretion - not taken as a core guiding principle. Not to mention that neither "reason to change", nor "change" is well defined by Martin.

It's as bad one-size-fits-all advice as advising about the ideal function being "two to four lines of code long" (also by Martin) - leading to crappy, hard to follow code, and needless abstraction.

KISS - now that's a principle I would get behind.
the function isn't a generator, but that value is a generator expression: https://peps.python.org/pep-0289/
I think mental practice (e.g. visualizing yourself playing in the place you will perform next day, going through the sheet music consciously noting your intent and possible difficulties, or memorizing complex passages without the keyboard etc.) is a great complement to actual physical practice. It's no substitute, but at least it can be done basically anywhere.
> Every time a new board came out, the protocol was to copy the code for the most similar board and start making modifications

I only saw that happen at one place. It was a bit of a shitshow.

Big corps don't do that, they have a clear internal division between various levels of hardware-independent and hardware-specific components, down to workarounds for specific bugs in specific releases.
Just wait until you disagree with them.
Not everyone is you and you're ignoring the fact that some people do subscribe to those feeds and will drive traffic to your site for a completely negligible effort even if you personally wouldn't.

Your original post was about why you, as a website owner, would provide an RSS feed. Not why you personally would use an RSS feed
The vast majority of devs are under 30. Already most people are "senior" after 5 years experience. What are we going to do when this cohort wants to get promoted into architects and managers in 10-20 years time? There just aren't enough senior jobs.
Gotta disagree with you there. The whole point of a good cover is to put your own spin on the song. If it's just a note-for-note redo of the original, why bother? The best covers end up "owning" the song, and the original is sometimes forgotten. Do you think Johnny Cashs's version of "Hurt" would've been better if he tried to sound like Nine Inch Nails?
I'd bet they have very similar performance-metrics, but the yield syntax is more extensible (i.e. you're not limited to one expression) and debug-able (you can put breakpoints within the function).

Also the name and the generator is nicer (for some definition of nice):

>>> def square_vals(x : list):
... return (v * v for v in x)
...
>>> square_vals([1,2,3])
<generator object square_vals.<locals>.<genexpr> at 0x786b8511f5e0>

>>> def square_vals_yields(x: list):
... for v in x:
... yield v * v
...
>>> square_vals_yields([1,2,3])
<generator object square_vals_yields at 0x786b851f5ff0>

I think it's more idiomatic to pass generator-comprehensions into functions rather than return them from functions

>>> sum((v*v for v in x))
I dunno, I've been using gimp for literally decades and for about a year recently, it couldn't paste from the clipboard. I didn't even bother reporting the bug because I knew I'd come across like an entitled whiner in today's atmosphere.
I did say "early 00s".

KDE4 was released in 2008.
Oh wow I'd never thought about the "block out the sun" naming for Eclipse. Fantastic.
This elitist attitude, is another mainstay of the Erlang community that hasn't helped in the slightest.

What is the reason it's not popular again? My reasoning is not "a bad take", as much as it's my take from over 30 years programming. I would say it's my own twist on common understandings across the west coast of the US.

You probably have your own, equally wrong reasoning. Would be great to hear them.
No problem- If it’s not marketed as stain resistant or waterproof it should be PFAS free.
Its funny you mention this.

While working for some years in the south bay tech hub (san jose), I knew a guy who was a VP at a tech company.

Everyday he would lock his office door at lunch and do a shot of heroin. He'd lay back at his desk and zone out for an hour or so, then wash his face and go back to work.

When I left the bay area and lost track of him, he was still in the same cycle and not spiraling into destruciton.

A big difference in outcomes is dictated by WHY a person is using drugs. Someone with mental health problems (and/or major life problems in general) is going to do far worse than someone who just wants a little temporary escape.

After growning up in the US souteast, I can athoritatively say that a big part of the US situation is due to the uneducated, uninformed, hateful, religous population that mmakes up a significant part of the total...
You mean... Kind of like living? Are you the same now as you were a year ago? I find it scarier to think that my personality might become static! Plasticity is the ability to learn new things.
Looks like us at playboy.com/app have Pornhub beat, with our 1.1 MB (when authenticated—when not, it's 993 kB).
Obviously the optics are horrendous, it's why they had to go to the backup optics :)

I thought it was weird that they didn't do any testing of this primary system until they needed it to correct their orbit. One would think dry running all of their components as soon as feasible in the mission plan would be SOP.
What will future AI code reviewers think when they see prompts interspersed with tips and threats?
newsblur has a mobile app.
The real-time, nicely designed view of it as shown in the screenshots looks interesting.
For about a year now I've privately wondered if GPT-4 would end up modeling/simulating the over-justification effect.

Very much appreciate the link showing it absolutely did.

Also why I structure my system prompts to say it "loves doing X" or other intrinsic alignments and not using extrinsic motivators like tipping.

Yet again, it seems there's value in anthropomorphic considerations of a NN trained on anthropomorphic data.
They are different.

def square_vals(x : list):
return (val * val for val in x)

is a function that takes a list and returns a generator. While

def square_vals(x : list):
for val in x:
yield val * val

is a generator itself.

The first case creates an anonymous generator. When in doubt you can always use the dis module: https://docs.python.org/3/library/dis.html
That's where opiads (and other substances come in) just not before you hit those limits.
That’s different to Google serving ads
On cotton fields lead arsenate was used as a pesticide to kill boll weevils. Some of that land now is rice fields. USA rice is marked Product of USA to differentiate from foreign crop. California grown is marked California to differentiate it from US south grown rice.

https://www.consumerreports.org/cro/magazine/2012/11/arsenic...
FWIW, Kreator, Scorpions, Destruction, Sodom, and basically every other German metal band probably have better English than most native speaker groups for the past 40+ years. Americans in particular seem to do quite poorly at speaking other languages partly because to be American, particularly in cities, one needs to know several dialects given the many different creoles and vernacular groups due to the country being so massive and diverse.
>Failure to collect trash under certain conditions is not a failure of a trash collecting system.

Of course it is. If your phone fails to make calls under certain conditions, that is a failure of the system, and we try to fix it (for example by deploying more antennas, or by fixing software bugs in it).

If workers refuse to pick up trash, we can also fix that (ask Ronald Reagan).
Ledger kind of side steps this "debit" and "credit" issue by just using positive and negative numbers to add to or subtract from a particular account.

If you get paid $1000, your Income account gets -1000 and your Checking account gets +1000.
This is a very small section of the algorithm. This is just how it collects the tokens it has generated into a sentence.
Voiced by Daryl L. Coley if anyone's curious.[0]

Bleeding Gums Murphy was ultimately portrayed by three voice actors across the character's arc.

[0] https://simpsons.fandom.com/wiki/Daryl_L._Coley
The thing that bothers me is that a free logo generation requires a signup. Props and all for creating a non-unique service, but there is a 99% chance that I do not want any further interaction with you whatsoever. If you want to reduce that, show me something that is worth interacting for. Otherwise, I’m assuming you are going to spam me, or your successor will, regardless of what I decide, and dead serious, fuck that.
> Enroll and then drop out (figure out the minimum for your school to consider you a dropout

Stanford considers everyone who has completed three quarters (equivalent of two semesters) of a degree program alumni, and they are eligible for `@alumni.stanford.edu` accounts. <https://alumni.stanford.edu/help/alumni-email-faqs/>
Are you suggesting Navalny could win through the social media?

Russia really tightened control over its part of the internet. If you are a normal russian citizen you can't visit twitter or instagram or linkedin, you need to know what a VPN is first and also you need to install it.

Still probably better than Iran. (I assume) in Iran some websites are blocked by iranian government and some (dockerhub, github) are blocked by US government.
"AI Safety" (as defined by clients' corporate leadership being able to say "Yes, this AI is safe for us to use and won't cause repetitional harm to our company") is both worthwhile to approximate, but impossible to achieve.

There exists content which will offend some important constituencies if the content is generated, but it will offend other important constituencies if the content cannot be generated.

I think a huge part of "AI Safety" (as I defined it above) has to involve driving society towards a consensus on what content they should expect AI's will generate vs. will not generate. It's more okay if people are not happy about it, if they are also not surprised by it and it doesn't generate newsworthy headlines because the behavior is expected and mundane.
I love the idea of a "poor man's cluster" of hardware that I can continually add to. Old ereaders, phones, tablets, family laptops, everything.

I'm not sure what I'd use it for.
I'm confused why people can't also send anything they want over RSS. Unless you are directly scraping their website for updates, I thought they could publish anything to a feed.
i like them... a little too much. i keep abusing them more and more until every part of my program is a some sort of coroutine involved in an extremely elaborate dance of having to remember to randomly next() to keep the return values from all the yield expressions in lockstep. you're not having fun until you're next()ing and .send()ing the same generator. or trying to remember how a trampoline works. and then you realize that you have a problem. one that even generators can't solve. xD

but like seriously sometimes i feel like they are just strictly better than functions. ok time to take my medication.
And apparently 3D renders can be inferred from only 2d images like in these image gen models, so even without video or parallax, brains could probably model the world in 3D.
Nope. Airplane was undefined as specific questions regarding design requirements and defining features where asked, the response was: there are no limitations other than it must be a shape made out of paper.
Tethered Accelerating Rockets in Special Relativity [Thread]
Forget about ads, Gmail is essential to paying Workspace customers.

They don't need it to fingerprint people by forcing them to sign in -- Google has enough other priorities like Search, YouTube, Chrome, for that.

Making Gmail available for free to consumers, along with Docs and Drive, isn't something to drive ad sales. It's to get everybody used to the products and liking them, so that businesses choose them instead of MS. Google has successfully turned themselves into the main alternative to MS Office with this strategy.

When it comes to Gmail, Docs and Drive, Google's making their money "honestly" -- not through ads but through paid corporate subscriptions, and a smattering of consumer ones (like extra storage).
> A tear shed for Simpsons being called wacky humor

You know what I meant, hopefully? I predate the Simpsons, and I remember when they and their brand of humor first appeared. I also remember how annoyed I felt towards Family Guy (a cartoon I never liked, unlike the Simpsons) because it felt like a cheap copy. And yes, over the years the Simpsons turned wackier and wackier while retaining nothing of what made them good at first.

I don't claim Bojack and the Simpsons have the same kind of humor, it was a shortcut to hopefully explain what I found jarring about the former?

Given the rest of the comments, I'll try giving Bojack season 2 a chance.
so, what laptop do you use for Qubes?
Or because they just fucking work without us having to think or spend time on them getting them to do what we want. And no, I don’t care about the “full feature set”. I know it does what I need it to do without any hassle.
How to design an impactful protest sign
He can use these cards for 128days non stop and re-sell, claiming back the purchase price almost fully since OP bought them cheap. Buying doesn't mean you use the GPUs to a point where they end up costing 0, yes there is risk with GPUs going but but c'mon.... Renting is money you will never see again.