skysight-inc/HackerNews huggingface dataset:
"Structured programming" has a very specific meaning. Or at least, it did in Dijkstra's goto paper. It's not that all uses of goto are terrible, it's that if you restrict goto's uses to specific types of control flow, you can make provable statements about the behaviour of the code, which other uses blow up.

The goto's you've used here are within the set of allowable uses, so can be mapped directly onto structured constructs. There's literally no advantage either way, other than introducing the possibility to the reader that there could be something weird going on in your code.

> Would love to see a faster version in some popular, "structured" scripting language in the same number of characters.

How's this?

#include <stdio.h>

void main(){
for(int a=1; a<100; a++){
int y = a % 3;
int z = a % 5;
int x = y + z;
if(!x) puts("fizz");
else if(!y) puts("buzz");
else if(!z) puts("fizzbuzz");
else printf("%d\n",a);
}
}

Same technique, give or take some unimportant details. Not particularly golfed. 240 characters to your 312. I have no idea if it's faster because I don't know how good the spitbol interpreter is, but I do know that because I've used "structured programming" structures, the compiler (or interpreter, whichever you prefer) can in principle make more safe optimisations to my code than to yours.

If C doesn't meet the "scripting language" constraint (which I find arbitrary, but not insurmountable), I'd throw Julia or FORTH at it and probably shave a considerable number of bytes off.
China Mobile’s Latest Move Unveils China’s New Chip Champion
> (i) relate at the time of conception or reduction to practice of the invention to Google’s business, or actual or demonstrably anticipated research or development of Google

That's the catch. Not related to what _you_ do at Google, but related to _anything_ that Google does. Pretty much all the stuff I wanted to work on in my spare time while employed at Google could be seen as related to Google's business/research, as Google does a lot of things. And that's how Google seems to read this too, considering how the Open Sourcing documentation [1] is written.

[1] - https://web.archive.org/web/20210710210932/https://opensourc... “As part of your employment agreement, Google most likely owns intellectual property (IP) you create while at the company. Because Google’s business interests are so wide and varied, this likely applies to any personal project you have. That includes new development on personal projects you created prior to employment at Google.”
1997: Netscape Crossware vs. the Windows Web
Oh wow, TIL. Does that work? It says the draft expired in 2014.

"[T]he SMTP client first looks up a DNS MX RR and if that is not found it falls back to looking up a DNS A or AAAA RR.

Many domains do not accept email, but do have A or AAAA records. If they have no MX records, senders will attempt to deliver mail to those A or AAAA records. "

Nothing like a good opt-out to make you feel like you're signing up to a Do Not Call list.

I guess we can't blame email too much, it's an incredibly old protocol. But at some point, some quirks have got to be worth rethinking, right?

Maybe we can deprecate the fallback from MX to A/AAAA for the next, oh I don't know, two hundred years before we can move on.
Yep, absolutely. Chances are if there's a going fire there won't be any isolation at all before the occupants need to be moved. In that case you try and extract them from the vehicle without letting them be shocked. Never touch the car and the ground at the same time. Shuffle away from the incident rather than walking to limit step potential.
"Key figures must be held responsible" is the highest rated opinion right now. It's fascinating how nation denies responsibility for the actions of the freely and democratically elected officials, which are the very same key figures that "must be held responsible".

For some reason, people with option to choose and change their representative claim that they cannot be held responsible for the actions of their representatives.

What's irrational on holding a population responsible for the choices they make? I see statements but no reasoning that would explain the irrationality of holding the electorate responsible for the actions of the elected. Care to explain?
Drone strikes of innocents, including US citizens, are an easy one.

Illegal kidnapping, detention, and torture, of mostly innocent people at that, is another easy one.
I have an oil furnace and two gasoline-powered cars, as do tens of millions of Americans, and I hope my bank is funding businesses based on their solvency, not a political agenda. The people who want to eliminate fossil fuels should read a book such as Bjorn Lomborg's "False Alarm: How Climate Change Panic Costs Us Trillions, Hurts the Poor, and Fails to Fix the Planet" (2020).
question: "How to avoid being hit by laser in a room of mirrors?"

me, a connoisseur: "This requires further reflections..."
It's not, because forward depends where you are looking it. That is, the front part of the boat might be on your back.

So "move forward" doesn't say much, whereas "toward the bow" e.g. does.

Same for left/right compared to port/startboard.
why mention cow, it's lab made milk

i don't want lab milk, i want milk from the cow that had a sweet and free life with its set of (good) bacteria

i don't want a pasteurized milk

it's an alternative to industrial milk, maybe

but not an alternative to fresh cow or other animal's milk

people who push this want to sell you a product, they don't care about what it is

i'll never buy one of their product

Oh and, life is already an open space lab
I guess the important question is that who is going to hold US accountable and make sure that the resolution is carried out. IMO there is no other powerful entity in the world to impose restrictions against US yet.
That's a really good question! I'm planning on making parts of it open source and for mission critical applications (for example, companies like Discord) that they have the option to host it on their own hardware. If the project fails, I'll make it completely open source so that people can continue to use it.
It’s worse than that. The US offered cash equivalent to several years wages for turning in suspected terrorists. People immediately started reporting any tribal or personal enemy to collect a check and rid themselves of a rival.

The first suspect who died in custody was a cab driver named Dilawar. He died in handcuffs that were attached to a chain link cage. One of his interrogators said he knew the guy was innocent —- he had some experience interrogating terrorists —- but his superiors wouldn’t listen and he continued the torture.
Currently, no limits. As long as it doesn't look like a DDoS attack nothing will be blocked.
Are 780 people, of which only 8% were actually "bad", "one strike"? Not to mention even most of the "bad" ones were not tried or given a due process, and most were tortured.
Awesome! It's based on an open source model :)
> If you have a `then` clause, you know it will only run when the `if` condition is true.

Can someone please tell the clang compiler folks?
It's not unheard of for one western country to refuse extradition to another because of poor standards of prison systems.

https://www.theguardian.com/world/2019/may/10/dutch-court-bl...

From what I've found, the UK in particular is not in a huge position to throw stones given the standards of their prisons result in this being yet another area where they're a sort of mini-USA. But e.g. the Swedish system would be better.
>an email from Git’s Project Leadership Committee

Ah, the poisonous administrative busywork doing nothing departments infecting developement projects...
This is one of the main points I make when giving talks on it.
Somewhat relevant, my experience with running a small private mail server.

https://jschumacher.info/2021/05/running-a-private-mail-serv...
Actually according to recently declassified documents (and comments by Brezinski in the 1990s) the “rebels” were armed and created before the Soviet invasion by the CIA under Carter.

https://www.washingtonpost.com/outlook/2019/01/07/history-tr...
I added a number from 0-100 how confident it is
Ask HN: Learning Go, what’s the best steps to take to better educate myself
Would really like to develop on Pulsechain when it’s launched. Learning the basics of Go, but not sure where to get better self-educating material.
Yea, it’s huge. Abuse is constant if you don’t.
I clicked it, but there was no content, even after enabling Firefox's Reader View. I assume something would load if I enabled JavaScript, but in my experience this is rarely worth the effort.
Right or wrong the longer a list of grievances is the more a person looks like a professional victim.

A rational tone doesn’t help because some of the worst trolls stay unemotional and try to get other people to lose their shit.
How about running? (The definition of "running" vs "racewalking" is that at some point during each "step" of "running", both feet leave the ground.)
My card expired, plenty of renewal reminders but I knew it was on auto-renew so ignored them as usual. Domain stopped resolving. Thankfully nowadays you can recover, in the past it meant you'd lost the domain for good.

This is one of those situations where too many warnings just causes users to ignore things. The only warning I needed - your card expired - was either missing or hidden in the morass of "ordinary" warnings.

It happens.
I didn't remember that the early models were DOS based, that puts them closer to my favorite 90s portable, the HP 200LX
This is just demonstrably untrue. Most Asian countries are either non-signatories, or have withdrawn. China, Russia, Israel, KSA, Thailand, Malaysia, Singapore, Philippines, Qatar, Turkey… are all post-industrial nations.

Also, of the fully ratified signatories, it’s only supported when politically convenient. No member of NATO is going to allow for their citizens to be prosecuted by some extraterritorial court that thinks it has jurisdiction over half the world. Every NATO country has been accused of war crimes, and they’ve probably all committed them. None of them have been prosecuted, allies won’t call on other allies to be prosecuted, even Angela Merkel defends Israel’s on this topic, and Israel barely even pretends that they don’t commit war crimes.

It’s also why there’s so much popular anti-ICC sentiment in Africa, because a lot of people there think it only exists to prosecute Africans (which isn’t a very easy accusation to rebut).
Living in Switzerland cheese is the main reason I don't know anyone here who has been actually vegan for more than a year or so.
Elementary, Take Six
Even if you know that, failures still happen all the time because as you state, there are thousand things that could go wrong and this task could be too much for a single person.
Maybe because that's all there is to it.
He happened to there at the wrong time.
It's really similar to what happened to Mohammed al Gharani
https://en.m.wikipedia.org/wiki/Mohammed_el_Gharani
Why are they separate problems? Maybe I should have phrased "how to create a complete shadow in a room full of mirrors".
>an email from Git’s Project Leadership Committee

Ah, the busywork doing nothing part of the project...

As if Open Source development didn't have enough self-inflicted wounds and needed more...
Content for the buyer's journey[from growthmarketingpros slack community]
Thousands and thousands of dollars for a BIMI certificate is just ludicrous.

Certificates are certificates are certificates.

They're 1KB files full of random numbers. What you use them for shouldn't alter their price... which ought to be zero.

The facts that a handful of near-monopolistic CAs have managed to control protocols, set standards, and generally funnel money into their coffers that need not have been spent at all is one of the worst examples of naked capitalistic greed I have ever seen.

Rent seeking, pure and simple.
If your L2 DNS (hostnames, typically auto-generated) doesn't match your L3 DNS (handpicked) you're going to eventually have a Bad Time.
The mind does a lot of unconscious work before coming up with some conscious results.

That's true even for very simple things like motion. You can measure things in the brain before those things become conscious thoughts. (Those experiments caused by the way a lot of fuss whether we have free will or are completely predestined in all we do; but that's another topic).

The consciousness only observes a small portion of the thought process. So for it a lot of thoughts seem to come out of nowhere. But the unconscious parts of thinking are very important to the whole process and it's outcomes. I think nobody disputes this by this time.
When you flag and downvote someone it doesn't make them wrong. Feel free to let me know some time what I said which was actually incorrect.
>Drone strikes of innocents

They knew the target was innocent civilians?
Oh they could do the latter, they just need to trust it's gonna work.
You mean the development language is German?
Peek inside NASA’s starchitect-designed condo for Mars
It feels a little far-fetched to suggest that one of the leading handset manufacturers putting out one of the very first "smart devices" had no influence on the future of smart devices that followed it, if you ask me.

Yes, they weren't in the hands of every stylish adult or high-spending teen, but it wasn't for them. I'd guarantee it influenced the thinking of other people building products in that category for at least a few years. And in the long run the world changed due to that product category.
Hive Metastore – It Didn't Age Well
I think there’s a counterpoint which is “while you may not have everything, it seems wise to use those things you do have.”

I cannot fathom that a person with the skills, resources, and tenacity to DIY a helicopter could not lay their hands on at least a car seatbelt and a scooter helmet during the course of the project. I wouldn’t be surprised if the crash scene was within sight of both of those items.

“Aviation in itself is not inherently dangerous. But to an even greater degree than the sea, it is terribly unforgiving of any carelessness, incapacity or neglect.”
Hopping with your feet together works just as well and is much easier.
Not true. You need explicit permission (there is a process for obtaining it, and it is very lightweight as I've done it myself). The general idea is that you get permission without much hassle if you develop something that doesn't compete with Google. You need to argue your case otherwise.

Source: I'm a Googler that went through the process before.

Edit #1
for all Googlers reading this: search "IARC" internally and you should land on the proper page to kickstart the process.
> i still don't understand how turning off case sensitivity would speed up things.

Maybe it's very Samba specific, but when doing a directory listing on a case-insensitive SMB share it parses the entire directory first before returning the first result.

I forgot the exact reason why, maybe to resolve conflicts, say "foo.txt" and "FOO.txt" can only have one entry.

Regardless, the result is a massive initial delay. Marking the share as case-sensitive skips all this. Worked wonders for me anyway.

Also, when creating "Foo.txt" on a case-insensitive share, it has to check that it doesn't collide with any existing file with different case, etc.
Red Ventures has turned very specific advice into very big business
I don't remember if the xkcd://243 is affected but I think so. Touchpad buttons are also affected. However the digitizer pen works, I don't know if it charges though.
It looks like in most fields (medicine especially) all the money just goes to administration and rent. This seems to have taken off since the 70s.
I follow EPDiy, a project to drive ED097OC4, ED060SC4 and ED097TC2 displays with an ESP32 [0]. While I’m not going to shrug off Valentin’s work as trivial, it doesn’t seem like magic. The hype around the difficulty driving e-ink displays appears over-hyped.

There may be many details to get it perfect, but displaying a basic (pretty good!) image does seem to be quite doable.

[0]: https://hackaday.io/project/168193-epdiy-976-e-paper-control...
Murat Kurnaz was also held and tortured for four more years at Guantanamo, even after it was clear that he was innocent.

The person responsible(²), Frank-Walter Steinmeier, is now Germany's president.

There is a repeating pattern here: Governments, officials and people in power are not held accountable.

--

(²) https://en.wikipedia.org/wiki/Frank-Walter_Steinmeier#Murat_...
You Need a Sales Brain to Succeed. Here's When to Tell It to Just Shut Up
> Naturally, they don't explain all the ways they didn't solve the problem when they finally do solve a problem.

I do think something related to this is less obvious than you're suggesting. A proof generally presents a train of thought gets you from point A to point B. It's almost never a representation of the train of thought that the author actually followed to get from point A to point B. This is obvious to people with experience in mathematics, but it's much less obvious before you have that experience. Even if you know it's true in principle, appreciating it viscerally and adapting the way you interact with mathematics to account for it is basically a lifelong task.

A big component of good mathematical communication is explaining what motivates a solution to a problem (or even what motivates the problems in the first place). Sure, you don't have to do that every time, but it's fair criticize a broad lack of this. A lot of mathematical communication is... not good in this sense. Notably, the problem/solution in the OP isn't really motivated by the author. A skilled reader will think about it themselves, but they need to learn that skill somewhere.

More or less on topic, here's an example where an experienced mathematician tries to reproduce one of Sylow's theorems without looking it up, and writes down a more-honest account of the thought process involved: https://gowers.wordpress.com/2011/12/10/group-actions-iv-int...
News co-ops are part of the free market. If you want to site successful non-free-market news organisation there are things like the BBC. Which is respectable, and really quite a wonderful organisation if the propaganda is favourable to your cause.
I'm not surprised defenders didn't want to do their job, since they were lacking ammos and even food [1].

"Soldiers in Ghurmach in the northern province of Faryab had spoken to a local media about the same topic just a month before, saying, "We haven't eaten for days. We only have four sacks of flour for 400 soldiers. No one cares about us. We can't fight the Taliban on only bread and water.""

It seems that endemic corruptions was one of the main reasons.

"[...] In May 2018, the police in Badghis province in the north-west of Afghanistan confirmed that a contractor that provided food to Afghan security forces was serving up dog meat. "

"[...] According to the same report, there are thousands of 'ghost soldiers' in the ranks of the Afghan army: soldiers who exist only on paper, allowing commanders to inflate their budgets and fill their pockets. An Afghan army soldier earns only 200 dollars a month. "

With all the money that was funneled from the coalition, this doesn't surprise me. In hindsight, I don't see how the Afghan government could have ever survived the Taliban without indefinite presence of the USA.

https://observers.france24.com/en/20200218-afghanistan-corru...
The west has been fighting and messing around over there since the end of the 19th century.

Realise that 120 years later, the cycle never has ended.
3. "Professional" as in it's your job, and you're being paid to do it.

4. "Professional", as in you work within a profession, such as law or accounting, and are an accredited, paid-up member of the appropriate professional body.

I'll buy your (1), as in "professional paint job", but your (2) isn't a kind of professional; that's just race-to-the-bottom commercialism.
The "doing nothing" department consisting out of Nr 1, 2, 6 and 12 of the most active git contributors?
Back in early 2000s I worked at company doing pharma CRM for emerging markets in rural places like central Africa, Mongolia and east Russia. We used Nokia commnicators as a client nodes for field representives.

The platform was really limited, app development was tricky, but at the end it did the job and there were very few alternatives.

We actually ended up using emails as our sync mechanism: internet connectivity in places we served were as limited as you can imagine and also because of device limitation. It worked in a way that changes in data were serialized and sent to server that merged the data into the master and sent you changes back via email as well.
So in an icosahedral room, let me guess : one would need 696729600 blockers ?
> Interesting that the guardian is reporting on this as if their very own government consists of angels and saints on these matters.

It's The Guardian US reporting about the United States. The Guardian UK is also generally very critical of the UK government, so I don't get your point. You don't need your government to be made of saints to criticize war crimes.
The point is if you have electricity then converting to hydrogen, compressing transporting and turning back into electricity in a fuel cell is much less efficient than just charging a battery.

Why would you do that? You could argue energy density, but looking at current fuel cell vehicles like the Mirai shows the have only a slim advantage in range dues to the weight of the fuel cells, high pressure tanks and tractions batteries and extra structure to protect the tanks.
I'm opinionated in the sense that the only "legitimate" government would be one that is chosen democratically and acts in a particular manner.

And I'm particularly not saying that there is or must ever have been some particular "legitimate government" for every piece of land. I'm just saying that when the US went in and kicked out the Taliban, they definitely weren't making things worse from a lot of perspectives. They ultimately weren't able to solve all the problems, but that is a different question. The 20 years have largely been better than the years under Taliban rule.
Duplicate
https://news.ycombinator.com/item?id=27968292
> At least I tend to see marketing without details as condescending.

In my experience, products that lack details in marketing are usually geared to C-level execs for decision making, with their underlings being the ones who are then supposed to call a dozen vendors for demos.
Most popular data structures only provide average case guarantees with bad worst-case bounds. Dynamic arrays also have O(wildly erratic) append. I think for most use cases this is perfectly fine and does not result in any perceivable jitter in programs.
So we have gone from 'there were none' to 'we punished those' where next?

'Well that guy over there did worse' 'It was only 100 civilians' 'There could have been a bad guy amongst them' 'Oops I did it again'

That list was wikipedia, so pretty limited in scope and skewed to cases that have been charged and prosecuted.
I believe Biden said we would see no such evacuations.
>happy to answer any questions anyone might have!

Any reason for the snark towards a Java port in the FAQ?