skysight-inc/HackerNews huggingface dataset:
The "inside" part is slightly wrong, the payload is outside of the try/except clause:

while True:
try:
number = next(iter_object)
except StopIteration:
break
sum += number

You can check this by throwing StopIteration inside the loop, and watching it propagate outside normally.
Thanks! I’ve heard of SIDS but didn’t know there were detection devices. Also not a fan of the idea of co-sleeping. I’ll check a few out!
Because stupid managers see security as a cost, and possible future security breaks as something that will not happen to them.
Australia threatens social media laws that could jail tech executives
You tell us.
> Every project has to start somewhere and as you can tell from this comment page there are many groups of users who feel we have not met their expectations...

I think you've inflated the expectations by creating a 1.0 release, that's a point where you'd expect things like accessibility to be included. Had it still been 0.x then you'd get a lot more leeway on missing features.

It would also be great to list these limitations on the main page, anyone that finds those limitation important can then avoid it, they'll be a lot less annoyed than someone who invested a lot of time learning to use Fyne only to discover the limitations.
seatguru.com
I think under the construct that computer code is a means of expression protected under the first amendment, the US government requiring Apple to implement a code change would be considered a form of compelled speech.
I'm glad to see NYC catch up to its European counterparts. This could do wonders for the air pollution inequities that exist in the city.
IMF chief joins calls for big tech firms to pay more tax
> I, the engineer, do not want them to do this.

You don't matter, consumers matter.

> Before Google and Apple, I didn't have this problem.

And you didn't have distribution either.

> But it wasn't always this way!

Indeed, there wasn't even distribution. Do you actually remember what was shipping mobile software back in 2005?

> I want them to pay back the negative externalities they've leveraged onto us.

Again, you as an engineer don't matter, only as a consumer. And consumers have never had so many options and at such low prices.
If by integer you mean the four or so bytes that many languages use to represent a (bounded) int, then it is indeed constant. This is often the context in software engineering.
Why anyone would develop apps for Apple/Google duopoly is beyond me.

Right, I get that you may need the money - but if your livelihood depends on money earned from making this world a worser place perhaps it is time to gut check and determine what really is your purpose and best use of time; maybe (easy) money is not all it's cut out to be in that context.
I can't speak for every post, but there are plenty that are bots. At first I thought the same, because I noticed people leaving notes on these posts like "Don't upvote, bot" (not that it ever mattered) but I wasn't sure - so whenever I saw tiktok I started checking account histories and nearly every time it was an account with no activity other than maybe one or two failed tiktok posts, then one successful front page post. There'd also be posts that took already successful FP content, and reposted it with the tiktok branding.

Not very scientific, but it was enough at the time for me to sort of take note.
It's a subtle point, but anon946 was pointing out that since your loops are fixed at 1000, this entire thing is O(1) (granted, with a large constant). You should change all of the "1000" to "n". That would make it O(n lg n).

edit: you've now edited the inner loop to be n, but the outer loop is still 1000. This is still wrong, as the entire algorithm is now just O(lg n).
Pocket belongs to Mozilla FYI.
Yes you're right - let me modify my contrived example and say 'at exactly midnight, the complexity is O(n)'.

(the cool part about contrived examples is that you can keep making things up until it fits - now I'm just hoping I didn't miss something again like the first time :) )
IBM seems to have no official statement about whether z is vulnerable to Spectre but Power7/8/9 are/were definitely affected. Fujitsu SPARC is also vulnerable but interestingly Oracle SPARC is not. If Alpha, MIPS, or PA-RISC still existed I would expect most of them to be vulnerable as well.

Are there specific hardware mechanisms in "real" server processors that can provide high performance without side channels? What are they?
I love this game. It manages to be boring in a good way. It’s so relaxing!

I don’t know how to explain, but I can highly recommend it!
they used bootstrap, which is responsive by default, but they disabled the responsiveness with body{min-width: 1200px;}, they are actually fighting their framework, disabling the acceessibility features that are already there.
Sites that require phone number verification often block numbers allocated for VoIP services for fear of spammers. YMMV if you've tethered your GV number to a physical device at some point.

I've run into this semi-frequently over the years, and it's always extremely frustrating when it happens, but somehow I can't remember exactly where either.

Old references online point to Facebook, Line, and Snapchat:
https://www.reddit.com/r/Googlevoice/comments/3uv3mt/google_...
It's just a risk the business owner should be aware of, best is to make sure you have a dedicated account manager.
I respect the hell out of these guys. They launched to widespread criticism, and rather than giving up they’ve spent the last few years working hard to improve their game.

Isn’t that something we can all admire?
Wanna build your game on the same network Stadia uses?
Https://cloud.google.com
This reminded me of something I recently learned of, SQRL, a 77 digit numerical identity for web service authentication.
Information loss is inevitable when that information isn't used enough to become inately retained. When we focus on a particular area of study, what we learn is self-reinforcing. If I study calculus and discrete math, my understanding and retention increases in each subject, because the overlap between them connects mental pathways. If I study calculus and eastern Asian religions, retention suffers because my brain cannot make meaningful connections between the two. This lack of coherence in what I'm learning means that I'm wasting my time with one of those subjects ;)
Yeah. I think while not nation-state-secure, you can still improve your PII exposure to Facebook/Twitter/Google et al by buying/activating a SIM/phone-number and only using it one time for the purpose of creating an account.

I don't _think_ Twitter or Facebook are doing backroom deals with every prepaid sim vendor to be able to tie that phone number back the the identity used to register the sim card.

I wouldn't suggest you use this to register your Dream Market vendor account, but I doubt you'll end up with targeted advertising based on your other real-world web/app behaviour based just on the ID provided for a single-use burner SIM...
If you do agree that mathematical problems can be considered practical, many prime-hunting computations do intend to resolve conjectures (Seventeen or Bust [1] was a good example), thus solving practical problems. I of course think that that pi calculation is nothing more than GCP advertisement ;-)

[1] https://en.wikipedia.org/wiki/Seventeen_or_Bust
As your quote says, that study is talking about birth years, not the year they were tested. Since it's based on conscription it's around age 19-20, so the decline was measured between ~1994 and 2011. Your lead paragraph also states as much:

"...At some point in the mid-1990s, IQ scores in these countries tipped into decay, losing roughly one-fifth to one-quarter of a point per year..."
We improved Tensorflow Serving performance by over 70%
This is a good point. People don't drive in Manhattan because it's cheaper (or less tax) than Public Transportation. There's a reason people aren't taking the Subway and the best way to fix the problem is to make that better instead of trying to make the currently better options less appealing.
Actually, if you just read the news stories, and not the opinion articles from all three of those, you are probably doing pretty well. They can get something wrong once in a while, sure, but it's mostly good.

Television news is going to probably be not quite as good, just because they can't cover as much as a newspaper in only 30-60 minutes. Again, just the news, not the opinion stuff.

If you just take all of it in uncritically, and especially if you don't pay attention to what is labeled news vs opinion, you're going to end up believing a lot of things which probably aren't true.
Here I am using Macbook with a good old mouse.
This is a pretty common post-startup experience. You'll likely find that positions in the Senior Manager to Director/Senior Director range are a good fit. It's often easiest for hands-on CTOs to transition to Director of Engineering roles but look at Product Director and VP of Product roles also.

The most likely challenge if you haven't been in large enterprise before is that the level of formality around processes and permissions can be a hard-start for people accustomed to the speed and autonomy of a startup.
Yep it’s the same across the board.

The main differences involve how you utilize the available components and parameters—like web I guess but with greater restrictions that put the reader first (IMO).

You’ve nailed the view of art teams, but they’re generally welcoming in my experience. The challenge is in preventing doubling up their workloads.

Edit again!: I can’t speak for every magazine and what Apple might be permitting now. But most are providing at least a simple reader-style view.
Besides already given references, here's two more:

https://shiverware.com/musixpro/harmonic/chords.html
http://www.altkeyboards.com/home
Do you think that thieves and violent criminals should be allowed to exchange money for goods and services or is that a punishment you reserve for the worst of the worst, those who make offensive jokes?
try Qantas 001 or 002
Show HN: Make koajs middleware more reusable
Uber & Lyft are trying their hardest to sap riders from mass transit, SoCal has seen ridership fall year after year. Short of fining employers for each employee that doesn't get a transit pass through the employer, there isn't much cities can do to curb this.

Seattle does this, to the tune of a $800 to $500 per employee fine if they aren't provided a transit pass depending on where the employer is located in the city. Employees can self-certify as biking or walking to work once a quarter, but a year long transit pass is less than the fine.
A minor setback for Cthulhu's world domination. Still not as bad as being raided by the Secret Service. [1]

[1] http://www.sjgames.com/SS/
what's missing to bring my private t470s on par with my work macbook is "hybrid sleep". the macbook seems uncannily smart of sleeping when i close the lid, then eventually hibernating, so that even after a whole weekend unplugged it has an almost full battery when i open it on monday.

meanwhile the sleeping t470s drains the battery by keeping the RAM alive and eventually runs out. the arch wiki has some content on this, but it did not make me hopeful to get it to work
I self admittedly have trouble with delegation, and maybe you or someone else on here can help. The problem I have is a lot of my time is spent in meetings. I can certainly throw meeting invites to my reports, but I think to when I was a developer and how grateful I was when my manager shielded me from meetings so I could focus on work. It's not that I don't think there's useful information in those meetings for the individual contributors, its that I think there's also a lot of useless information that would largely be a waste of time.
TikTok allows users under 13 with some requirement that the person signing up should have their parent review these terms.

“If you are under age 18, you may only use the Services with the consent of your parent or legal guardian. Please be sure your parent or legal guardian has reviewed and discussed these Terms with you.”

https://www.tiktok.com/en/terms-of-use
Alas! I was hoping the pattern would change every time I refreshed the page.
The criticism was there because they over promised that it would launch with a great deal of content that wasn't delivered. Why should we encourage this type of behavior since it is becoming rampant in the industry to release unfinished games at all?
There is a psychological effect when spending money with credit cards. Spending physical cash hurts one the most, then debit cards, and credit cards cause the least hurt. It is very easy to overspend with credit cards, and leave the tab for future you to worry about.

Depending on how susceptible you are to such psychological tricks (and cashback is also a trick to make you spend more or hook you to the brand -- it is only offered because it is EV profitable to the bank), your advice may be neutralized or net negative for a large part of the population that lacks your strong self-discipline. One late fee and you wipe out all your profits (and your credit score).

Smart and risk-free to only spend what you've got ("pay as you go"), besides you help avoid a national credit crunch.

> Debt robs a man of his self-respect, and makes him almost despise himself. Grunting and groaning and working for what he has eaten up or worn out, and now when he is called upon to pay up, he has nothing to show for his money; this is properly termed “working for a dead horse.”

> It is all very well to say, “I have got trusted for sixty days, and if I don't have the money the creditor will think nothing about it.” There is no class of people in the world, who have such good memories as creditors. When the sixty days run out, you will have to pay. If you do not pay, you will break your promise, and probably resort to a falsehood. You may make some excuse or get in debt elsewhere to pay it, but that only involves you the deeper.
> It's just ASUS are extremely incompetent with anything software related, not just security.

Hardware companies are extremely incompetent at anything software related, we see this in everything from PC's and phones (touchwizz, htc sense) right down to TV's and various IoT devices. I can't imagine what the PC industry would like like if luck hadn't delivered us an open platform.
The world was a better place with Michael in it, and is a worse place without him.

It is tragic that he could not continue living in it.
This is legitimately a good post.
Glenn, if you're still hanging around -- can the shader be written to account for the flow of P2P network traffic? Let's say I'm using an old-school configuration of a centralized lobby server that simply connects players to each other and the players connect directly over UDP?
This is Google. If you want human-curated go to Yahoo!
Him on SoylentNews:
https://soylentnews.org/~MichaelDavidCrawford/journal/

Him on HackerNews, shadowbanned it seems:
https://news.ycombinator.com/user?id=MichaelCrawford

How and where did he kill himself? (please copy from facebook if you can get at it there)

He seems to have been a rather nice guy. Not even counting the suicide, he had a strong tendency to make hazardous life choices. He was really into music performance, preferring to earn money busking instead of programming. He didn't have a lot of self-control with money, to put it mildly.
> Overall, I'm a little perplexed as to why this offering is interesting besides Apple having announced it.

But that’s just it. Scratch another thing off my list of stuff — wireless charger, e-reader, television, car — that I’m waiting for Apple to come along and Get Right.
FYI: This is a “Learn English” app that appears to be written in Chinese or Japanese. I’m not that familiar with the particular ideograms being used, but I lean more towards the former rather than the latter.
" In China, they do the {thing} first then apologise."

That's startup culture in the U.S., too. It was popularized by the likes of Facebook, Uber, and Airbnb. Chinese companies also do their own version of it.
Tech journalist Clive Thompson on people behind the software changing the world
Still doesn't work. Waiting one minute is constant time. (to be clear, I'm going to be able to come up with a counterexample for anything you throw at me because you're assumption here is just false, in general an algorithm that is O(f) for all values except n is O(f), because you can pick a constant greater than n, no matter what the dimension n acts in is).

(If you reject that and claim that just because I can construct an algorithm that is O(1) from yours doesn't mean that your algorithm is O(1), I'll point out what you presented isn't technically a function, since its not mathematically pure, so the concept of Big-O is ill-formed)
It's brilliant really, the Republican strategy: sabotage government from within until people stop believing it could have ever been effective. Win elections playing on people's fears, which are increased as society backslides into dysfunction. Meanwhile run a beautiful pristine operation serving the needs of corporations, protecting your donor base.

It's a total perversion of democracy and even human decency, but I sure respect it as a strategic play.
Gasoline/Petrol taxes are probably your best analog if you want people to pay in proportion to how much they're driving.
Now I'm wondering if there is maybe a repeated, but not infinite, redirect loop from regular twitter.com to mobile.twitter.com

Repeated enough to trigger the rate limited error.
There's a nice series of articles on this here: http://www.ilikebigbits.com/2014_04_21_myth_of_ram_1.html
If Mozilla folks weren't so inflexible, we could have had writable local file access long time ago (Google was pushing that actually), making PWAs with WebAssembly viable desktop app replacements, rendering walled gardens useless. Yet here we are when a heuristics in a bot causes false positives with far reaching consequences and customer support is ran as an automated joke as well, making innocent victims helpless.
My mistake. Thank you for correcting me.
Oh cool, hadn't seen that!
> Short of fining employers for each employee that doesn't get a transit pass through the employer, there isn't much cities can do to curb this.

Maybe they could make mass transit better so more people would want to use it?
There was a decent article exploring the timing between memory accesses, and when they started taking longer b/c you hit L2 cache, L3 cache, main RAM, swap, etc., and eventually showed how if you really graphed the access times, the overarching "curve" they followed was square/cube root¹; that is, real world hardware obeys the laws of physics.

My googling dug up [1], but I'm not sure if that's it or not.

My university schooling was pretty straightforward about memory access not being O(1). We also went over adding two numbers together (also not O(1)), but these are just generally elided for brevity's sake; I don't think most of us want to start worrying/optimizing for CPU caches prior to it being a thing that perf testing says we need to worry about.

> 16/32 bit pointers for small arrays?

It's not about the size of the array, it's about the location in memory. If you're storing an index, then sure, knock yourself out.

[1]: http://www.ilikebigbits.com/2014_04_21_myth_of_ram_1.html

¹I'm a software engineer, not a physicist.
Audio: Da Music – Lights EveryWhere (Prod. Frank Edwards
No you can't sue them. Nobody has a right to publish apps on Google Play. They can be as arbitrary or incompetent as they like in what they do. As long as they aren't violating some protected class criteria, there's not much a court is going to do.

Google hasn't taken away anything. There is still a web and you're free to deploy what you want there on your terms.

(Edits to correct Google's autocorrect errors.)
In academia, you usually see O(log n) for addressing. Since it doesn't really seem to matter for real-world performance, we just assume it's O(1) in practice.
So what you are saying is that this company is just a real estate speculation company. Capitalism runs on future speculative/fictitious values.
What if it's not a content site? But abuse of "free" resources/trials?
Maybe they made genuine mistakes.
All the big oil companies did a lot of photovoltaic research in the 70's. I think it might have been exxon who were one of the earliest players. I don't think it was sinister then, just a diversification into "energy" companies, especially with the oil crises going on back then.
Well, it's "wrong", but there's the saying that all models are wrong, but some are useful. If time complexity analysis had to include physical distance, then it would perhaps be less wrong, but also much less useful.

That said, "time complexity" is a bit of a misnomer anyway. It's often implied, but underneath, there is a specific operation. For example, when we say that merge sort is O(N lg N), we mean in number of comparison operations.
> They'd have to push an OS update that explicitly changes what they do to start sending that info to Apple, but the US legal system doesn't allow the government to compel them to make that kind of change

Australia's does now.
U.S. Said to Have Tapes of Alleged 9/11 Mastermind Plotting with Co-Conspirators
Well, it’s Al Jazeera. So, there’s that.

OTOH, with the current US administration, even the most die-hard conspiracy nuts are starting to look reasonable.
People are missing the point of the article which is that the number of young people who are willing and able to do the service jobs is a limiting number.

I think that demographics will play a huge part for a decade or two. There are two breakthroughs that I anticipate will happen and will change things.

The first thing we need is a really efficient and powerful artificial muscle combined with truly biomimetic mobility. This is the type of thing that needs to be invented to get humanoid robots that are truly dexterous and fast.

Along the same lines we need more general purpose AI to go in those new robots. It doesn't actually need to be fully human-level AGI in terms of generality or capability. It just needs to be more general purpose than current systems and be integrated into the fast dexterous robots.
Nah, every algorithm that is O(N logN) is also O(n^2). That would be a sign, that you as an interviewer didn't fully grasp Big O.
In Boeing 737 Max Simulation, Pilots Had 40 Seconds to Avert Crash
We currently only support client/server topology with dedicated servers.
Definitely not a WeWork booster, but I think I can see the other side of these questions.

> How does it factor in that they are leasing their buildings? Won't their rents eventually go up, and won't they have to remodel all the time to keep up their hip/modern work spaces?

All of this does matter, but per the OP may matter less than CAC + initial push into a market (brand-building etc.). Think of the cost to develop e.g. MS Word vs. the incremental cost to retain users (programmer salaries go up over time, they have to remodel the app ~annually, etc).

If the WeWork model works in a market, they can buy buildings later (perhaps during a recession).

> when a recession hits, it seems like the first offices a company closes has are the ones on a short-term lease at a co-working space

I'm sure the other side of this argument goes something like the arguments against car ownership. Many companies won't have any long-term leases anywhere, will be more remote-friendly, etc. In fact some companies will choose to not re-up on long-term leases in favor of more flexible options like WeWork specifically because who wants to sign a long-term lease during a recession when visibility is poor?
What's "MASSIVELY overused" is the trope where getting banned from a website equates to mass censorship. You're not entitled to a platform on twitter. If you get banned from twitter go do something else on the internet or beg for forgiveness and use their platform under their terms.
Whiteboard Interview Advice I Ever Received