skysight-inc/HackerNews huggingface dataset:
I think the article, and my test just showed that the comprehension is faster than preallocating. So if it's something that works well in a comprehension, you should do it that way. The preallocation is only an improvement when the code you're doing per loop is too complex to be done in a comprehension. My initial thought was that a function in a comprehension would be better than preallocation with code in the loop, but I was wrong.

Unless you're suggesting that Python has a special optimization for the range generator in comprehensions, which is plausible, let me think of a way to test for that.

EDIT:
I changed it to iterate over the characters in my shadow file, and comprehensions were still faster. I'm not sure if that is enough to fake out possible optimizations, but it definitely rules out range.

def pgen():
with open('/etc/passwd') as f:
for char in f.read():
yield char

def func(i):
"""simplest function"""
return i

length = len(list(pgen()))

%%timeit
#preallocating list without range
pre = [None] * length
for i, v in enumerate(pgen()):
pre[i] = v

711 µs ± 14 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

%%timeit
#preallocating list from custom generator, and zipping from range to avoid enumerate
pre = [None] * length
for i,v in zip(range(length), pgen()):
pre[i] = v

687 µs ± 1.93 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

%%timeit
#comprehension without range
comp = [v for v in pgen()]

456 µs ± 6.48 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

%%timeit
#comprehension without range, and using enumerate to judge the difference fairly
comp = [v for i, v in enumerate(pgen())]

648 µs ± 14.3 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)
Real musicians frequently record things they are unable to legitimately perform live
Most employees don't need to even submit a tax return as with PAYG your taxes are already collected by your employer.

If you do end up filing your taxes, you can access the prefilled tax statements. Software to do that is free and easy. If you want software advising you on how to get a bigger refund, you'll have to pay maybe $10-20, though the $5 software from Aldi works fine for me.
Or not use Log4J at all.
Those new editors gross like weed. Every month there is a new shiny one which promises to be the new vim.
Listening to the two recordings, the one with the cowl has a very slightly higher fan speed (by less than 6%). I don't know if it cools the CPU better or worse at a given speed though.
It appears like they're just going through a "rebranding"

https://mobile.twitter.com/Pingu/status/1469314222349852675

Quote from the OP article:

> the public prosecutor's office wanted to secure the assets potentially obtained from an unlawful act by means of an asset freeze in order to be able to confiscate them if necessary. The group of companies escaped seizure through insolvency

So you know what's going on.
When I bought the iBook it came with Mac OS 9 installed.
This video gets posted lately every time anyone posts any fusion news lately. It's not a bad video, but I think the point everyone is trying to make is like, "we're not even close, we're orders of magnitude away!", and that's true, but I think maybe a bit misleading. Since fusion experiments began in earnest in the mid-20th century, we've improved in terms of Q by about four orders of magnitude, and the pace of improvement was pretty steady through about the mid-90s, when ITER started to suck all the air (funding) out of the room. Commercial viability is probably somewhere between Q=10 and Q=30, depending who you ask and what specific technology you're talking about, and the best we've done so far is around Q=0.7. So... four orders of magnitude so far, and between one and two still to go. And finally ITER has some competition that could get progress back on track. It's a big lift, but not, like, impossibly or unattainably large.
> some act or another would be the first-to-market with catchy tunes and stadium-filling star power

The thing about the Beatles is that even after they stopped filling stadiums, they turned to experimental and innovative musical techniques that changed the face of popular music forever.

Their best and most beloved work all came after Beatlemania ended... any attractive boy band with a catchy beat could've fulfilled your conditions, but the Beatles were so much more than that.
You can fix log4j in Java 8. But you do need to have extended support for it so you actually get security fixes in general.
Well, I can only say things that helped me.

I'd have fun with a game, namely Typing of the Dead, and then I'd invest into a keyboard with no labels, say a Das Keyboard Ultimate (https://www.daskeyboard.com/daskeyboard-4-ultimate/).

This way your muscle memory will pick up, and you'll lose the habit at looking at the keyboard since there's nothing there.

Will take some time for sure, but nothing in this life is free.
> We all agreed on the rules as a society

Actually we didn't. None of us chose to be here. None of us has a choice over when or where we're born. We all arrive and grow up in societies structured and governed in ways that we've had no say over, and over which very few of us will have meaningful influence during our lifetimes. Some of this is OK, some of it isn't. Some places are more or less OK than others. But don't act like we should all simply accept everything about systems we've had no agency in building purely because we might live in a democracy.
I just got a Mac Mini for this exact use case.

Let's be honest, Raspberry Pi is garbage. It's just insanely weak, I regret spending around €100 for mine (Raspberry Pi 4, with case). It's got 32-bit ARM chip, and USB 3 ports that you can't use (I plugged in 2 external HDDs into it, was running a SMB share for Time Machine and Media, they just kept dropping. Apparently something power delivery related, works with USB 2.0 speeds though.)
> You can't have it both ways, so you have to do something.

But we could have it both ways pretty easily (if political will is there). Meaning, protect both parties from abusive people on the other side.
I would be surprised if she was doing it alone, it's likely others are involved and were paid to turn a blind eye.
Hey, noted, thanks for the suggestion. I should put this out soon. :)
That memcopy version is hilariously bad.

He could at least have made a proper assembly version for a proper comparison.
>though I won't shell out for state e-filing when I can print and mail.

This is pretty much the only reason I own stamps.
Landlord are already incentivised to do so, the reason they don't is because there are costs of doing it, which regulation magnifies
I get that this is just a game but I seriously think if you’re going to spend so much time playing a fake instrument, you might as well learn to play the real thing. As for speed - shredding anyone?
"Doctor if and only if <this works>"
Typing can be seen as just a way of creating automatically some unit tests you probably haven't bothered creating.

Types are useful when they don't get in the way. As are method contracts.
I've got a 35 - 45 minute bicycle ride which makes it a nice workout.

I really felt it when we started working from home during corona and I was sitting on the couch just eating chips and ice cream.
Have fun believing that knowing people individually as a burden akin to reading instruction manuals. Why would you choose that?
I do the 10-15 minute cycle and it is excellent. Have been considering throwing in the occasional walking day too.
You are putting words into his mouth. He is not blaming Netflix and co for anything, he is just stating that he is personally not interested in doing anything online in his free time and that the reasons he got into FOSS are not valid anymore.
It's 250k and a bit: the launcher is reusable.
What if you go for a bike ride in the morning instead?
The first sentence of the link you posted shows that the GP used the term correctly:

> Rent seeking (or rent-seeking) is an economic concept that occurs when an entity seeks to gain added wealth without any reciprocal contribution of productivity.

Landlords produce nothing. They don't provide housing; builders do. All landlords do is hoard housing and get other people to pay their mortgages. They literally want to get paid for owning stuff.
It's not wrong, but I don't think it's the whole story - otherwise, we'd expect today's youth to be just as happy and excited about that stuff as we were. But they don't seem to be - gen z seems to feel more miserable than previous generations at the same point in life.
Sometimes someone needs to say it. Someone else seconded it, and I'll happily third. Let's get druggie rapists the hell out of our medical systems.
This is the true role of a great drummer. To play what is needed and nothing more or less. Sometimes to be quiet and stay in the background, sometimes to be loud and take up space, sometimes just to crack a joke and break the tension when things start to get off track.
How do you build your intuition about creating queries in a way to avoid this?

Is it a matter of having a conceptual model of relational algebra and the way the different db engines work, or is it more an accumulation of heuristics over time for what probably will cause problems, and an iterative process of using EXPLAIN, adjusting the query and seeing what happens?
Depends on the individual you are renting from. I learned the hard way to never have a lawyer for a landlord. Landlords shouldn’t be allowed to represent themselves (too bad it’s a constitutional right!). Anyway, come to find out the guy set the deposit amount specifically to make it just enough that even if you went to court to get it back, you’d never get it back because that’s how much you’d spend to get it back.

After randomly running into his ex-wife at a party and hearing that it was all done on purpose, we started to put together a class action with all of his past tenants. Then we moved to the EU instead.
> But, separate ablation study found that if you just drop confidence bit altogether and allow RNN to compute some more every time (e.g., always perform 4 computations on single input for 1 output), you get same or better results without extra complexity of training.

Do they saw what happens if you do both? Perhaps the “benefit from a higher computation/per cycle” phenomena and the “benefit from signalling relative computation resource allocation” one are different.

I guess I’ll have to try and read the paper, but I’m new to the literature and am clueless about the current state of research.
you, sir, are a fire. in dumpster. omg.
Currently using SonarQube at the company where i work - since the scanning is async, the CI builds typically don't wait for it to be finished, otherwise the lead time for changes would grow (e.g. not one of those places where a server farm would run integration tests overnight either) and additional configuration would be necessary, for which there are no resources at the time.

Furthermore, SonarQube doesn't let you automatically enable e-mail notifications for everyone: https://docs.sonarqube.org/latest/instance-administration/no...

> Only users who subscribe themselves will get notifications. With only one exception, there is no admin functionality to proactively subscribe another user. If you believe a user should be receiving notifications, then it's time to practice the gentle art of persuasion.

So everyone is also free to ignore the e-mails that they may or may not receive. This isn't made any easier by the default quality profiles being problematic to deal with, e.g. SonarQube asking you to add HTML tags which would break XHTML templating in certain frameworks, such as PrimeFaces, thus having to spend a lot of time marking stuff as false positives, since that actual check might be sometimes useful except for your particular circumstances, of which it is not aware.

So perhaps it's a good idea to indeed utilize a language or another integrated solution (versioned/shared IDE code style preferences are also pretty cool), since other solutions, although workable with a bit of effort, wouldn't necessarily thrive in all environments. Unless, of course, you want to find a different environment, but that's a slightly different discussion.
It can work ok if you're a single person with no children. However, you'll potentially have to pay a lot more tax if you're married where your spouse earns more or less than you. There several other reasons where legally you'll have to complete a tax return (e.g foreign income).

German taxes are really horrible, in general. They expect you to pay in advance for expected untaxed income (based on the previous year's return). Working out the taxes on the income from some ETF is a nightmare, unless your platform does it for you. Unless you really understand the system and can file your own taxes, then low-wage freelance work just doesn't make sense as the cost of doing the taxes can be higher than your income. This means people are trapped into not working.
Consider taking a look at: https://orbitalquark.github.io/textadept/. It's a rather "old kid on the block" actually, it's quite minimal ("Relentlessly optimized for speed and minimalism over the years, the editor consists of less than 2000 lines of C code and less than 4000 lines of Lua code") and it is crazy extensible; actually in my experience trying it, I found it too much extensible - it was too easy for me to break it while trying to configure it. Anyway, IMO it's a project definitely worth taking a look at. (Note: if it's not immediately obvious from the website, it does have a terminal UI version.)
Guitar playing doesn't have visual reinforcement. It would be interesting if it did.
You forgot systemd.
Where is the explanation that serialize / deserialize has a RCE bug?
On what basis does anyone think there is a 0 day here?

The commit just looks like sane defensive programming. Serialisation is a known source of RCEs, so they deprecate its use.
it's embedded in the very beginning of the article
Frankly, this is an awful idea. Investment in real estate is basically the best way for the middle class to use their savings to build wealth and long-term financial stability.

And I don't see how modern property law is geared toward the interest of small landlords. In every major city—i.e. the places with affordability problems—the laws are extremely friendly to tenants and hostile to landlords. Sure, there's the peculiarity of Prop 13 in California, but I don't see how you can generalize that to any other part of the country.
And if you have been there for multiple years, with plenty of severance; at least one month per year of service IMO.
But all the money they lose on administration expenses! /s
Have you ever rented a property from a corporation? They are the worst.
I actually might be wrong.

I remember danabramov claiming more than once on twitter to people praising preact's bundle size, that it also came with a performance cost when it came to diffing and rendering because React had much more code to handle the many edge cases where preact would hit walls.
If you enact laws that make it impossible or very hard to punish defectors from business contracts, don't be surprised that the particular market sector withers and loses its vibrancy.

Geniune poverty should be taken care of by the welfare system, not by random landlords who may be in a precarious situation themselves. Not everyone who owns an extra property is rich and it does not make sense to treat a small local businessperson exactly the same as Amazon.
The spent the $40M mostly to buy tablets for the medicine dept, but then sold them and pocketed the money.
I can't speak for others, but generally I like my tools, computers or hammers.
viral? i'd say it is the most political one, viral would be the Israel-Palestinian occupation, low media coverage, high social media impact, on other hand, Ukraine - Russia, high media coverage, low social media impact
IIRC Open BSD saves a seed each time the system is turned off. Of course, thebvery first boot is problematic, but this one tends to be the installation.
Why would you need extended support for Java 8 to deploy a log4j patch? Oracle will happily take the money I’m sure but the log4j update is freely downloadable from
Apache.
How do you know the second or third mechanic you take your car to isn't shining you on? My hourly time is $200, when I'm on the clock. Nothing spectacular, but not bad for a drop-out. That doesn't mean I can't do 4 hours of yeoman's labor in my free time to save myself $200 in legal or accounting or insurance or construction contractor or mechanic's fees. Plus I end up educating myself in some field I'm less familiar with. Doesn't that education more than offset the lost opportunity cost, considering it's done in my off-work hours and only at the expense of entertainment?

Congratulations might be the wrong word, but I applaud that you chose to become an attorney and an engineer; that type of combination is the gold standard for my family. I can't believe it's something you'd ever regret.

My argument throughout this thread has been misconstrued. All I'm arguing for is that people should use every available opportunity to educate themselves, and that certain things (to me, logic, computer science, legal, mechanical, biological, historical, and literary - but your preferences may differ) are valuable tools that are worth constantly continuing to educate yourself in.

On refraining from spending money: If you buy things that are worth what you paid for them (as an expendable or an experience), or things that increase in value over time, then spending money is fine. i.e. a fairly agreed-upon trade benefits both parties. The loss of net value comes in with friction in the transaction. Generally, spending money unwisely. If you require an expert go-between for every transaction, those fractions add up to the difference between your income and expenditure. Put more bluntly: The money I save on mechanics because I read the manuals and/or do the work myself is money I save. When I do want to spend money, it's not a problem if I'm getting what I expect from it, because it's an equal trade. The only loss would be if I didn't willingly agree to pay for what I got.
I play guitar/bass, and I’ve played in bands and by myself, but this represents an entirely different and interesting skillset. Rhythm games are a skill in their own right, the visual element of what they’re simulating is somewhat inconsequential - the guitar controller could just be a stick or even a regular controller and the gameplay is roughly the same. Maybe the drum controller for rock band(?) is a close analogy, but it misses the point so to speak
I've moved countries four times in my life. You might not have chosen to be here, but others have. Speak for yourself.
> The industry is exhausting to be in. It takes bright eyed talented and creative individuals and grinds them to dust.

Sadly, I think this is true of every industry - with a few rare exceptions, perhaps. Workers are burnt out everywhere, and companies treat them as grist for the mill. It's just how industrial society is organized, it seems.

Elsewhere in the thread, someone mentioned how the school system "completely removed that joy" (in this case of mathematics). That sounds like the same situation, it's not just tech workers, it's teachers and students too.

There definitely are some pockets of hope, niches where creative juices are flowing, where people are enjoying their work. It's so rare to see, but I believe that's actually how things are supposed to be - I mean, the ideal state of society.

The historical period we're in currently is very primitive in some aspects, brutal and ignorant, despite all the advanced science and technology. The hope I see is to nurture and cultivate our "bright eyed talented and creative individuals", so that some of them may survive the grinding gears of Mordor.
What you say above is ambiguous. Hence by your definition "Weasel words."

I say the pejorative is there in Weasel Words and so does the dictionary and indeed it must be there to describe something as weasel words or we end up with everything being weasel words. Hilariously the work of max plank is weasel words. He intentionally does not express an opinion on whether light is a wave or a particle.

My opinion on your good faith in that post above is now also unstated.

Some people say Jimi Hendrix is a wonderful guitarist and it's a shame he died so young. What weasel words. You should recoil. Some people say using words with their accepted meanings is essential to communication but James Joyce might disagree.
You mean the "secure" technology where countless barely accountable organization across the globe can provide accreditation for any entity they want and it will be trusted without any hierarchical restrictions?

Or the one that is hierarchical in theory but provides no accreditation in practice an uses a completely insecure protocol? Or the protocol replacement for that technology that replaces the hierarchical nature and replaces it with cantralized entities that again get full authority to answer any request how they want?

Plus from the article:

> It involves compromising email accounts and websites tied to police departments and government agencies

If websites and emails can be compromized then the hackers also have a good chance of gettng at certificates.

But the root problem isn't even that hackers can claim to be the police when making the requests but rather that the police can make these requests in the first place without getting a court order. "Police" is already a very large group of externally unaccountable actors that will include those willing to abuse these powers without the need for "hackers".
Big enough, or high-enough field strength. For a given power density, I think required radius scales inversely with the fourth power of the field strength, or something along those lines. ITER was designed when niobium-tin superconductors where the best available, which will limit their field strength to around 13T, but newer HTS magnets should allow some of the upstarts to achieve comparable power densities with much smaller reactors, which should help with at least the economic concerns (durability is still a big concern, though).
“Space is big. You just won't believe how vastly, hugely, mind-bogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space.”

Douglas Adams
It really shines through in Get Back - Paul, John and (to a lesser extent) George are flailing about, causing drama but Ringo just patiently sits behind his drums and as soon as anyone starts playing he's there to pick up the beat.
>Half a million to destroy something that costs a million or more seems like a decent bargain to me

That's fine as long as you don't forget that a tank is designed to do the same thing. Nobody builds a $6 million tank to destroy $3 million worth of targets.
> Candidly, no one would pay for a prep course for a 30 point gain.

My understanding of the research in this area is that the 30 point gain is if you compare people who take a prep course to people who put in an equivalent amount of time preparing on their own with the widely available (e.g. can check them out of the local public library in many cases) preparation materials.

The 200 point gain is if you compare people who did the prep to people who have not done any prep.

The set of people who can't make themselves put in the time without the structure of a course would benefit by a lot more than 30 points from the course, and would pay for it. And do.
"nothing ever gets worse, you just get older", is just as bad a rule of thumb as, "how it used to be is how it ought to be."
That's what I did when I had a 10-minute cycle. A 25-minute minute walk gave me a chance to, depending on the morning, either listen to a podcast or shake off the morning grogginess before heading in to work.