skysight-inc/HackerNews huggingface dataset:
> Another article that purports to passively observe a phenomenon while actually doing everything to perpetuate it.

And this is the major problem with the mass media today. They absolutely refuse to acknowledge their own effect on the political landscape we face today.

The routine use of click/outrage bait headlines and context-free quotes is one of many common practices that warrant criticism of the media, to say nothing of biased editorializing (what articles to run, what quotes to print, where in the article to print dissenting opinions etc.) and the pile-on of seemingly verbatim headlines, stories, and opinions distributed among major outlets whenever any political "event" of note happens. Yet the push-back against it is sometimes surreal. Hyperbolic accusations of "attacking the free press" or "destroying trust in the media" (as if trust should just be guaranteed) are often lobbed. Issuing the occasional retraction does not absolve them (a common lawyers trick, saying something in court that they know will rightfully be objected to, and the jurors commanded to disregard, as if people can just be told to forget things).

This same media is quick to criticize alternative outlets and ideological opponents (eg Fox News and vice versa). At least with "new media", they generally don't righteously hold themselves up as unbiased arbiters of truth.

An institution which criticizes anything and everything is completely unable to take any criticism of its own. That is the very definition of thin skinned.

Now, the media benefits from being _big_, ie they run a lot of stories and have a lot of different contributors. So it won't be all bad all the time, and there will always be articles to point to that are decent examples of journalistic integrity (and this point is often used in their defense, while being ignored when criticizing their opponents). But the trends, especially in political content, are undeniable.

An acknowledgement that they often use and profit from biased and misleading clickbait headlines, that they have an overall editorial slant etc. would be a start. But that is as likely to happen as employees of some SV startup publicly admitting that the "game-changing" product they are selling is actually a cobbled together pile of shit that probably does not exist.

Or they could just admit that, regardless of all else, they are not just innocent flies on the wall, their reporting has a real effect on what they are reporting on. Take a lesson from what we've learned in Quantum Physics over the past 100 years; there's no such thing as passive observation, there's just interaction.
> you're pretty much arguing against introducing any new language feature, syntax or library that wasn't taught in your imagined CS101 or whatever.

But there clearly is a body of knowledge which you can discover yourself: you can interview candidates, read discussions on SO, read library code, and you will find some techniques are commonly used, and some are rarely used.

That distribution of what's known is changing over time regardless of what we do, because our peers are constantly learning and studying at different rates.

This feature has been around for years, and is so rarely used that only language mavens know about it. Thus, you can observe that this is a failed feature and avoid using it.

We can always reevaluate if people understand it later on, since that could change.
A few asics is not industrial equipment. Oh please.
It's 14 seconds to remove 200 seams on the 512-by-342 bench image, but I note potential optimizations in the notebook.

Right now, the seam_carve function in scikit-image accepts an energy matrix, which it then uses to generate the accumulated energy matrix. Forward energy calculates the accumulated energy matrix directly, but I calculate the energy matrix backward from it to be able to use scikit's seam_carve function.

If I write my own seam removal function or change scikit's, I think I could be able to make the speed comparable to backwards energy.

Furthermore, the accumulated energy matrix calculation step in scikit uses a double for loop, which might be able to replaced with some np stuff for a speedup for both forward and backwards energy.

I should probably raise this as an issue on GitHub... thanks!
Sure, and break/continue etc. should be discouraged for that precise reason. I don't quite see try/except/finally as a goto, since I'm not sure how to make one that behaves that way.

However IMO the best 'rigorous' model of programs is maintaining pre and post conditions. Escaping early when the post-condition is satisfied is compatible with this model (like with e.g. return/break/continue). Escaping in two different ways is not.

If you really need to handle exceptional cases where you need to escape a loop differently then exceptions are the better option IMHO, these also have a fairly rigorous definition in terms of Monads. Obviously if actual Monads (which in the case of python would be containers / generators) are an option they should be preferred.
This is an interesting question but I think you've got the terms reversed. This question should read:

"Real interest rates are basically the "return on capital". The question is: is it the supply side that is weakening (i.e. there are fewer and fewer worthwhile projects with reasonable returns) or is it the demand for capital that has grown (i.e. more and more people seeking to invest their savings in capital)?"
Most startups fail cos the founders broke up or cant keep going on anymore, we keep pointing to lack of demand or lack of money as why a startup failed but to be honest most startups start from a situation where there is either a lack of money or a lack of demand so technically speaking most startups start from a failed situation.

Theres no pass fail on a piece of paper as we're used to in school for startups, its more where you've given up and dont want to continue.
Sorry, I should have been more clear. Hundreds of millions included spending in categories not directly allocated to homeless services but impact line items in other budget categories related to homeless services like housing, public health, legal representation, etc.

Somewhat misleading, but so is saying that the city only spends what is directly allocated for the homeless services line item to maintain the status quo that isn’t working.

https://www.seattle.gov/city-budget/2018-proposed-budget
"There is no life I know that compares with pure imagination"
While this is a great capability to have, the tendency to have an indented “if” preceding a not-indented “else” just always seems like somebody might have made a mistake.

I would rather something that captures the loop state itself as an operable object, such as:

with for as loop:
for x in my_list:
...
if not loop.broken:
...
They are for sale : )
Hi, I have been keeping an eye on blockchain jobs in japan as well.
->That said, blockchain jobs in Japan are supposed to be abundant and pay more like US wages.
do you mind sharing some source about this?
This is a fantastic article and I intend to spend more time reading it in detail.

Articles about psychedelics tend to be either dismissive or full of woo and this takes them seriously as tools to better understand the physical basis of human consciousness.

A major thing I took away from my experience with lsd and mdma was how impossible it seemed that such a small amount of material could so utterly transform my experience of the world.

Anything that does that seems like it must be a powerful tool for understanding what the brain does. I’m glad that scientists and the establishment are finally taking it seriously.

I think the first and second waves of scientific research (as he calls them) ran aground after the early pioneers couldn’t resist evangelizing. The current generation seems to have learned the dangers of becoming another Timothy Leary and have remained clinical and detached in their descriptions.
> I don't quite see try/except/finally as a goto, since I'm not sure how to make one that behaves that way.

I suggested try/except because goto is very commonly used to provide similar behaviour in C where there are no exceptions.

> break/continue etc. should be discouraged for that precise reason ... the best 'rigorous' model of programs is maintaining pre and post conditions ... Obviously if actual Monads are an option they should be preferred.

But why? Do you have any evidence that this leads to better/more robust/easier to understand code in practice?
> Sure, and break/continue etc. should be discouraged for that precise reason.

If you naively banish break and continue, but then the programmer has to work around your banishment by adding one more state variable, and assigning to that variable, you have not gained anything.
You've pushed down a bulge in the carpet, only to have it pop up elsewhere.

Assignment and goto are bedfellows, which is why purely functional programming banishes both. (Goto, at its essence, is in fact an assignment to the program counter.)
Putting the loop in its own function would solve the problem as well (allowing you to just return the output), or if that's not an option then you need to store the output anyway so you might as well just add a check 'if output is None:'.
As a native speaker I refuse to say 'these data' or the word datum. I prefer 'this data' for plural and 'this piece of data' for singular. Yes I know its wrong in some sense, but I think that ship has sailed
In a totally divorced from morality sense violence has a purpose in making the current status quo less worth it to the powers that be. If they won't respond to decency they may to the costs imposed - even if it isn't the desired response. Violence isn't needed per say for this so long as damage can be inflicted by some means.

Boycotts and strikes can do so as well and are generally less backfire prone. Granted they require valuable resources in their control to do so. Meanwhile everyone has some capacity for violence and it becomes more tempting in response to violence received. In some cases it is the only option. Look at Haiti's bloody history. Their revolt was brutal but they had lived in a situation that was essentially a death camp - population of slaves was sustained by importation. Peace was never an option and there was no halfway. Once the revolt started it was either kill every oppressor or be purged and replaced by the next shipfull.
Same thought occurred to me as I was searching for counterexamples.

My initial hypothesis is that civil wars fought over economic systems tend to result in reunification afterwards with the more efficient economic system establishing hegemony over the less efficient one, while civil wars fought over culture tend to result in universal ruin. So the U.S. Civil War was ultimately a contest between manufacturing (Union) vs. slave plantations (Confederacy), and the Union won and re-established hegemony because it was better able to mobilize its railroads, arms production, shipbuilding, etc. There are a few other examples that support this, eg. the Russian Revolution pitted the feudal landed aristocracy against the urban industrial working classes, and was won by urban industrial working classes, who subsequently reunified the country (at least until Communism fell apart in 1991).

That hypothesis can't explain why the Reds defeated the Whites in the ensuing Russian Civil War, though - the White coalition included large numbers of the liberal urban bourgeoise. It also can't explain why the Communists defeated the Nationalists in China, yet subsequently adopted an economic system much more like Taiwan. And it doesn't explain why the English Civil War (which was Catholic vs. Protestant, like the 30 Years War) was comparatively bloodless and resulted in greater unity rather than disintegration.

I wonder if it may have something to do with the organizational abilities of the leaders (the Union, Bolsheviks, and forces of William of Orange were all quite well-organized compared to their adversaries), or of the relative power balances between them. Both of these are still fairly unsatisfying as answers though.
"Das Mädchen" is actually neuter, because it's descended from the diminutive of "Magd" (English "maid"). It's the same for "das Jüngelchen", except that "der Junge" is much more common for boys.

I don't think there's any case where German has a word of the opposite gender for a person whose gender is known, because it's usually easy to adapt the default (masculine) form by appending "-in".
I agree. It's seldom something I've used in my scripts/small projects for this exact reason.

It should also be noted that there is a `while-else` compound statement as well, wherein using a `break` immediately exits the loop, without executing the `else` clause [1].

[1] https://docs.python.org/3/reference/compound_stmts.html#the-...
I don't know how common I am, but literally everybody that's ever paid me to do any development work has wanted support for Windows. (I'm a bit worried that this might date me, but my first time coding for coins was 20 years ago.) Tools that don't support Windows are just not useful to me.

I'm not even sure which standards you're worried about, either. VC++ supports C++14 pretty thoroughly, and you've got various builds of gcc or clang if you want whatever extra support they give you. We're long past the dark days of yore when support was hit or miss and MS didn't give a shit.

If you want POSIX, you are out of luck, but that's fine, because Windows isn't a Unix, so POSIX doesn't apply. My view is that this is actually a pretty good thing, but reasonable people may differ - e.g., by thinking that this is a fantastic, amazing, excellent and extremely good thing ;)

Overall: the really weird thing is that Windows support is no harder to arrange than support for any other platform. But because it's so unpopular with a certain brand of nerd, it's somehow OK to just code for POSIX, complain when your code doesn't build on Windows, and blame the whole affair on Windows. But, dear people that do this, I'm afraid you appear not to have noticed that portability is your job, not platform vendors'.
Because the word terrorism has a universal condemning connotation. Given the tumultuous history of the US and its founding based on militant popular revolt, the history towards political violence has always been ambivalent.

So in cases like this were the militant struggle involved fighting for what we now consider a fundamental right rather than purely barbaric violence, people want to make a distinction from terrorism.
I think you're right. Could have sworn I had looked through his works already, but looking again I found this: http://www.gregegan.net/DIASPORA/01/Orphanogenesis.html
> that ship has sailed

Wha? Oh, you mean quae navis navigaverunt.
Actually，the president of YC answered this question in the course of startup schools. I remembered he said several principles or questions, such as "why now?", "why you?",etc.
It's a special case that matches `else` with `if` at the wrong level of indentation. Seems a lot like faux-simplicity, like a lot of Python: it seems simple and "pythonic" superficially, but really forces the coder to learn special cases.
Type alias is a poor alternative for true primitive types. Like (pseudo code):

primitive Dollar: Decimal // no mixing with euros
primitive Meter: Double // no confusion with miles

You can do the same in Swift with typealias _but_ it will happily accept you passing in Euro where Dollar is declared because they’re both Decimals. This doesn’t happen in languages like F#.
It looks exactly how I'd imagine a tech firm would design it.

Focused on system automation and data and not so much the tech debt being created.
Warren Buffet and other billionaires love to complain that they pay too little in taxes. They could band together and give the IRS more revenue yet they don't. If billionaires won't do the right thing, why the hell do you think small town Joe Schmoe should?
I totally read that as "the superscalar stagnation"!... unsatisfied, :(
Well just FYI this guy himself produces nearly that; I have him in my RSS reader and he produces great articles like this on a weekly basis.

There is also: https://swiftweekly.github.io
Pickle is an entirely reasonable way to move data between processes when you're using Python for distributed processing.
In case anybody is wondering, this is the attack vector that was used for the equifax hack and is also used in a fair number of remote code execution exploits for java servers.
> At least, it should show the area as "Gallic tribes."

That'd probably a good solution which doesn't make it look like most of Europe is missing its population.

I guess the creator didn't go with that because it wouldn't fit with the theme of showing actual rulers and not regions of influence by tribes.
You're probably right, and the EU are trying at least - but there's also an argument that once "the genie is out of the bottle", there's no way to stuff it back in.

A friend of mine makes a very persuasive argument that Facebook has demonstrated how to manipulate vast numbers of people at mass scale - so much so that shutting Facebook down would no longer make any difference - now that it's known to be possible, it's much easier for anybody else to copy what's public and work out how to make the "private" algorithms work.

A long-ish read, but a lot of that argument is here: https://meanjin.com.au/essays/the-last-days-of-reality/ and here: https://ukvid.net/video/mark-pesce-on-the-end-of-reality-fPA...
I believe "persons" is similar to "people" but differs in register.

For example, there is a UN Convention on the Rights of Persons with Disabilities. Obviously, native speakers would say "people with disabilities" in almost every situation, but that would be too informal for the title of a treaty.

Likewise, law enforcement use formal speech such as "persons of interest" to bolster their authority, but nobody would ever say "I sat next to two Australian persons on the flight".
Kinect-like tech to speed up boarding on Sydney trains
We also didn't have borders. In the case of well-defined civilizations like the Romans or Chinese it's relatively easy to tell where the empire ends - look at the walls. Even for the Huns, you could tell the greatest extent of their conquests. But for the Gothic tribes? They were semi-nomadic groups of clans. It's hard to put a dividing line on a map when it's unclear even what the basic unit of a polity was.
Is this actually true though? I'm sure some now-generic drugs have pretty complex and hard synthesis problems.

I know some medications for sure have struggled because of manufacturing. Whether these are actual problems, or legal problems because some part of the the synthesis is patented, I'm not sure.
Great to connect, will reach out via email. Thanks for the kind words about the website, it was just relaunched last week.
There's a proposal to add SIMD intrinsics to Java (sort of), but i have no idea when it might happen:

https://bugs.openjdk.java.net/browse/JDK-8201271
To achieve the for else I suggested for general generators requires a similar pattern to your suggestion so both of them save equal amounts of complexity.

However I'm struggling to find a use case for the python for-else definition where you don't end up doing something like 'result=something; break' anyway. What would be the point of breaking if you don't have any results? And if you have such a situation, wouldn't an exception make more sense?

Conversely to check if an iterator is non-empty you need to set a boolean to true, and you can't easily skip this part so you end up setting it to true every loop. It would have been quite nice to have an 'else' condition that triggers when the generator is empty (which also fits quite nicely with all empty containers being considered falsy).
Latin Wikipedia
I'm reminded of how English orthography has that weird thing where the presence of a silent E can seemingly change the vowel in the previous syllable. For example the Tom Lehrer song, "who can turn a can into a cane? Silent E..."

So a hypothetical "nife" would never be mistaken for "neef", as "nif" could be.
The proof of concept has been around for a bit longer than that, it's just the guidance systems needed refinement:

https://en.wikipedia.org/wiki/Fire_balloon
Note I said discouraged not banished.
Meritocracy is a word used by the right (you succeed by your will and your skills). It's not compatible with the system of believes of the left (the unlucky should be helped more - something like a rule, a rate must compensate that injustice).

It's logical they change that and it confirms the political nature of those subjects.

My advice is to avoid people dealing with that because it's not related to computers.
They did recover a mini dv camcorder from sts-107 and managed to record some video during the early phase of re-entry.
https://spaceflightnow.com/shuttle/sts107/030225caib/
Reminiscences of a Stock Operator

Fascinating story of a fabled trader from the bucket shops of mid-America in the Gaslight era to the roaring twenties on Wall Street.

https://smile.amazon.com/Reminiscences-Stock-Operator-Commen...
Huh? Set bits 6 (DAZ) and 15 (FZ) in MXCSR. Done.

The only instructions you can’t set to flush are the legacy x87 opcodes, which you shouldn’t be using in a performance-sensitive context anyway.
Raising kids but I'm not even sure about that.
Yeah, that’s a good point. To me it’s a little more clear than ‘else’ but there might be a better name still that doesn’t suggest this code always runs. Naming is hard :)
I like reading history about old chips like this, i've read about the z80 before... but where is the rest of the article? so short, the z80's story is far longer than this.
The platforms aren't internally inconsistent, one person could genuinely hold all the views of either with logical consistency, based on core principles[1]. You're right they are meant to pick off single issue voters.

I don't know how we'll move back to the center, but as the article mentions I fear it will just be another war.

[1] For instance I prefer smaller government in general, but strongly support single payer healthcare (a compromise of govt size against equal opportunity).
Absolutely, but if that’s what you need to compute, that’s what you need to compute. Sometimes it is.
When picking a platform, it's generally not about the feature set, as to why one is chosen over another. Often it's service : price, flexibility (integrations or future expansion), or just how the business operates in general. Best of luck on your reach. Feel free to reach out if you have any questions.
Do wonder if in/out and altruism/psychopathy overlap.

Meaning that an altruist has a wider sense of in-group, while a psychopath has a much narrower one.

I guess this however opens up the possibility that one can "learn" to be a psychopath by narrowing ones in-group.
I'm not sure you can _legitimise_ violence just because you think you are in the right. Justify? Maybe--it depends on the the circumstances. Take people who are violent in the name of religion - those people have a _fundamental_ belief they are in the right, and might well couch it in terms of having "the right, no, duty to commit violence against the evil <whatever>", but I don't see many legitimising their actions.

I get the appeal of achieving noble goals through whatever means necessary, but the question of "What is a noble goal?", and the impact those means have the rights of others, is an _incredibly_ tough question to answer. I worry that legitimising violence just because you believe what you are doing is right short-circuits the necessary questions: is this _necessary_? (are they other means that could achieve the same end/be tried first?), is it _justified_? (is it a net gain for _everyone_/society, or is it just a personal opinion?), is it _proportionate_? (is the short-term impact of the violence justified by the long-term goals, or is it significant violence for little gain?). Maybe at the point, it could be seen as legitimate, but I find the idea of legitimising violence merely "in the name of something" worrisome.