skysight-inc/HackerNews huggingface dataset:
Can someone explain what a proxy is in this context and what it is used for and why it would be necessary? Can video editing software truly not be written to natively process video data itself?
Interesting. I feel like I have seen a lot more Monarch this year here in Houston. Maybe they're taking the long route?
The road not taken.
Thank you so much for that quote from Kierkegaard. I've been trying to put it into words and haven't been able to. It's nice to read it as such.
The blocks were actually fix in pre-allocated blocks.

When a thread, process, kernel thread "allocated" a block. It actually acquired and owned the "index" via atomic inc from the free list.

When it free the block, it put the block's index back to the "free" list.

The "free" list is actually a array. Thus the list index can be allocated and free with atomic inc, dec. Thus it can do SMP safe alloc, free operations without any locks and guarantee the correctness.

This was actually a IPC, DIPC library to support TCP session redundancy in a network router product. Other programmers call this library from user, kernel and TCP stack, etc.

Since the blocks and index are all in share memory, there are huge potential for share memory corruptions. In debug mode, there are memory space before and after each block, every allocate, free are checked for ownership, double free, and border space corruption. There are regression tests to cover all aspect of API calls that were run 24/7 check for every commit. When not compile with debug mode, the operations were much faster but there were still quite a bit of assertions check in place.

There were a debug trace system that track all system activities (including Linux, QNX, vxwork context switches.) The log is actually in special region of memory that preserved over warm boot. If the system was completely hang, in 99% of cases, I can recover the memory to do post mordem analysis and know exactly the last user, kernel space threads that were running before the system crash. It was more useful for vxWork, less useful for Linux as majority of code were in user space and didn't take down the system.

The regression test coverage code and the debug mode validations were 80% of code. The actually implementations were very small.
Take what I say with another grain of salt, but I work at Amazon and have a large number of friends that moved over to the Alexa org.

It's not a huge series of if statements. Maybe it was at one time, but 10k developers can do better than that.
Programming blogs are kind of meh to me in general, and will be until the code-display aspects finally get ironed out.
> It never ceases to amaze me how many authority figures think violence “fixes” a behaviour

I think it's safe to assume that most humans currently alive were spanked as children and most parents alive today spank their children. If that assumption is true, than it's not amazing... it's just the norm.
I can completely relate to you and and I have ended up with step 3. I initially started with a slack for myself - but the free version is very limited for serious notetaking. After some research I settled with Zulip and hosted it on digital ocean.

Slack's UI is probably better, but zulip's UI is nice too. It offers multiple clients - web, ios, command line. I don't use the command line client as I find myself using the web much more.

I keep a tab open and when I am not in front of the computer I use my phone.

Of course, you need to be connected all the time. I write down take a picture and post it whenever I'm back online.

Search works right out of the box - though you wont get OCR for free like OneNote/Evernote.
Something that I am looking forward to is writing (i)bots to automate some workflows (like ocr) (ii) integrate with other productivity tool chain - todoist and trello.

P.S. Its written in Python!
Somehow this video smacks of possible money or favors changing hands, like a thinly veiled promotion of this fellows work rather than an objective news piece.
This article is about parenting, but I think it also applies to management. How often have you been dealing with a crisis at work when management is pressuring people to put in a solution, any solution and it ends up just making things worse or causing bigger issues down the line?
1. All historical messages are always downloaded when you sign in. It is possible to implement this feature without storing messages on the server, but Telegram intentionally decided to use servers. You can verify this by logging out of all your sessions and logging in again. All messages would be downloaded from the server.
2. If you ask if the actual messages on the server are in plain-text, it doesn’t matter. The keys for decryption are in memory. Which means anyone with backdoors or server access can get the messages.
I hope it's not too off-topic, but I feel this sort of thing has happened before with developing GUI programs in Visual Basic, drawing to the screen with turtle graphics, (or instead whatever routines BASIC tended to have). Curious if others share the sentiment with other examples too.
macOS users can install CheatSheet, which displays all the menu keyboard shortcuts associated with an app when you hold down the ⌘ key. It isn't a foolproof solution though because it only displays shortcuts that are associated with a specific menu item, but it's still a super handy tool, and it's free.

https://www.mediaatelier.com/CheatSheet/
Concrete blocks that once protected Britain
I’ve tried every one and still plain text files work and will continue to work. The simplest is best.
Waymo’s driverless taxis are not free of labour costs
"Logic, written so as to sacrifice sentence flow for character count minimization."
If you can't get a 300k loan with 70k income there's something else going on.

Either you have no down payment, you have a large pre-existing debt, or you have some other monthly cash drain.

at 70k annually you make ~5.8k a month.

36% debt to income ratio is normally acceptable, so you can afford 5.8 * .36 = 2.08k a month in payments.

That's a 400k loan at 4.5% interest with a 30 year term.

To be safe, and include insurance, taxes, other - you should be able to get a loan for 350k fairly easily.

That you're capped at 175 implies you have some other form of monthly debt in the $1100 range. Child support? College loans? Other?

---

I'll edit this to add: I don't personally recommend taking the maximum loan you qualify for. It's a good way hamstring your ability to continue to save and invest, and it makes it more likely that an abrupt job loss or change of financial circumstances puts you in a bad spot.
What's helped me cope with pressure from bosses was the realization that when they're shitting on someone, it's usually because their own boss is shitting on them (and on upwards). Then it's less personal, less an issue of someone in authority judging your performance, and becomes more of a team effort/problem: I will try to fix the issues, so that my boss's issue goes away, so his boss's issue goes away, and then we'll all be happy.
>the company shifted to a four-day week, with Fridays off. At first, Nagele says, it went smoothly, since summers are slower. By the fall, they realized they needed to make some adjustments; some members of the support team now work on Fridays but have Mondays off, and vice versa, so that there’s consistent coverage throughout the week

(Treating flex-hours & 3-day weekend models as a dichotomy) We posit that flex-hours and working week caps are more feasible and beneficial than fixed or rotating 3 day weekends.

- If the company takes Friday off, it is essentially asking a favor from its partners and customers. Those parties are now obligated to wait an extra 24 hrs for service. Flex-time offers better coverage for external parties, and it is easier to operate Incident Management / Customer Support functions.

- (Rotating or fixed) 3 day weekends make individual staff unavailable for >72 hrs. Especially for those staff members that have 'workaholic' traits, this can make it difficult to truly relax/unwind on the weekend. 'Flex-time' workers anecdotally are perceived as more 'available' than 4-day-weekers.

- Fixed/rotating 3 day weekends appear to require similar levels of forecasting/rostering as flex-time models do. Flex-time offers more value to staff.

- A single flex-time model is perceived as fairer, and results in fewer caveats (for parents, carers and those with other obligations).

- A flex-time model + a working week cap has a neater roadmap than 4 day weeks. A graceful reduction in hours over time allows staff and operations to adjust. Further, the gradual reduction arguably allows the same productivity-output to be 'fit into the same hours' more easily than jarring steps toward a 4 day week do.

- A flex-time model is arguably more compatible with weekend & overnight coverage initiatives.

- 3 day weekends don't aid (relative to flex-models): Commuter time, city traffic, life>work priority, improved customer support, life emergencies, inter-time-zone communications.
I fail to see how its developers being part of [competing tech community] has any relevance to the quality of the program.
I'd say a virtue signaler is someone who acts as though they're virtuous when they're not. So identifying one would entail things like examining the differences between what they say and what they do. But not all hypocrisy is cynical. There are people who honestly espouse high ideals, even while falling short of them. So I think there are distinctions to be made there as well.
I never discounted unit tests. I advocate it as an important feature in a project. I'm saying you need significantly less when you have the types of checks I talk about in place. :)

The guy I'm criticizing here is a certain breed of person who advocates unit tests but suffers from a logical flaw in his reasoning. He advocates unit tests like a mad man but he uses an unsafe, untyped language for the entire project. Javascript is the worst offender here.

Unit tests are a safety first philosophy that is employed at the inconvenience of writing tests. However, it makes ZERO sense to employ unit tests as a safety net without type checking as a feature that proves your program is absent of type errors. Remember unit tests only verify a test case works, the safety features I talk about in my post actually Prove your program correct.

This is a huge flaw in engineering paradigms that I see permeate the industry today. People literally are ignoring a feature that proves a major part of your program correct and they are advocating the entire program be safe guarded with a weaker check (unit testing). I advocate we use both.

We see thousands of python, ruby and nodejs projects with massive unit testing overhead on top of the project itself. What these advocates don't realize is that you can get rid of 80% of these tests with a type safe language. I urge you to check the unit testing involved with a golang project vs javascript. There's usually a significant difference in size. For robust applications the unit testing suite of a javascript app is much much bigger in size.

I end with a quote from a guy who used logical methods to prove the absence of bugs in his programs rather then rely on hundreds of unit tests.

"Testing shows the presence, not the absence of bugs." - Dijkstra (1969).
I've done phishing testing with self-signed certificates, and I don't feel it had any impact on the rate at which users handed over credentials.
Ecto is not an ORM, and an ORM like ActiveRecord would never fit a functional, immutable language anyway. Ecto is a query builder and DSL.

But I may be biased, I _love_ Ecto and have been using it every day for the past year, and have never come across something as powerful yet lightweight (perhaps SQLAlchemy, ignoring its ORM features).
In the world of comedy, this is already a very tired bit. “Can I identify as a stapler” etc. It was funny at the beginning of identity politics discourse- now its airline food.
That's how Canada does inheritance tax: "deemed disposition". There is no inheritance tax per se, but when you die you're assets are assumed to be sold at current market value and trigger the appropriate taxes.
Arguing from tradition on a tech forum? I’m not sure I see the logic here, unless you’re the type who thinks that we made a mistake trading flint for bronze. Extremes aside, your argument could be applied equally well to bleeding people for “medicine” without changing more than the word “spanked” to “bled”. That should probably give you pause.
Show HN: Mkcert – Valid HTTPS certificates for localhost
They're talking about mmap'ed files, not memory.
Everyone acts as if it’s possible to come up with an electronic product in a category that’s more massive than the mobile phone.

5 years before the iPhone was introduced, it was clear that the world was getting to a point that almost everyone would have a phone.

Since the iPhone was introduced, no one has come up with a product larger than the smart phone.
On Linux you have vaapi for hardware encoding.

AMF doesn't seem to have a Linux version to begin with, so not sure what you were testing exactly: https://github.com/GPUOpen-LibrariesAndSDKs/AMF/issues/4
+1 The author released all the "ray tracing in a weekend" pdfs last year through a "pay what you want" model: https://twitter.com/Peter_shirley/status/984947257035243520
Do you have a smart phone? It's not any different.

Edit: But it also constantly tracks your location and has a built in camera.
I'd suggest 'Plagues and Peoples' over 'Guns, Germs and Steel'
Linux 5.0-rc1
Prototype integration with Spark on a 25-node cluster
shows that Decima outperforms several heuristics, including hand-tuned ones, by at least 21%. Further experiments
with an industrial production workload trace demonstrate
that Decima delivers up to a 17% reduction in average job
completion time and scales to large clusters.
Could you elaborate on the problems of displaying code in blogs?
Dropbox Compiler from type annotated Python to C extensions
Don't worry. We'll soon get this WebAssembly thing just right, and the situation will change. You'll love the code-display aspects, and the blog-display aspects will drive you nuts.
Jamis Buck has a new-ish book out called "The Ray Tracer Challenge" that I've been slowly working through.

So far I really like the way it's written: everything is test-based, so you get a problem like: "given matrix X and vector Y, X * Y should be vector Z" and then you implement both the test and the code in whatever language you like.

https://pragprog.com/book/jbtracer/the-ray-tracer-challenge
The flip side is that people who can only afford sub $100 phones are not as valuable targets to develop apps for.
Your critique isn't much better, my friend. You are exaggerating his argument terribly ("bleeding people" like old times?) rather than looking at his actual point. He is saying that spanking was, and he claims is, still common. I don't personally have data, but I was certainly spanked, and I never thought it unusual. I hated it and vowed not to spank my own, which I never have. But I have no data on the rest of the world... and don't much feel like researching it anyway.
I worked a few times for a guy like that. Unfortunately his talent for building great teams was only matched by his ineptitude at picking business partners.
Sure sounds a lot like the story of Elizabeth Holmes and theranos. I hope its not, but: unknown founder, novel tech not quite done yet, prove all the experts wrong, large investment, big names on the board...
Nobody thinks China is a "backwater", but it's seriously underperforming vs expectations from purported statistics. How come it only produces half the worthwhile research while having double the scientists? Something is seriously screwed up there.
Aside: I have to say this is a genius perspective on mmap, and I now finally understand why the same syscall is used for both. I never understood the link.

Thank you.
What Is the United States Cyber Security?
Pliocene like climates by 2040 is easy for me to swallow, after all the climates then seem similar to modern climates just warmer. Eocene like climates by 2050 is a bit harder to swallow. It's hard to imagine there being a tropical environment in the Arctic that can support alligators and Tortoises in about 30 years time.

Going from Pliocene to Eocene climates in as little as 10 years time makes me think the model either assumed a huge increase in greenhouse gas production with India and China becoming superpowers or assumed a runaway greenhouse effect.
This argument assumes developers have access to the market. In reality most of us are not in a position to benefit directly from selling software, regardless of how "good" or "bad" it is. We can only sell our labour for a pre-negotiated salary to an employer who will then pocket the profits. In such an environment, sharing, taking pride in, and building upon each other's work makes a lot of sense and works in the developer's long-term interest (as well as your employer-du-jour's).

Free software, just like proprietary, could be of good or bad quality. This depends on the people who wrote it, not so much on the choice of licensing terms.

> It makes me sad that I can get paid so much more to not make software than I can get paid to make software.

I can relate.
Or maybe you've just decided that it's both pointless and impossible stay on top of every latest project, even if you live in a particular ecosystem.

Hold true to the course of solid fundamentals and learn what you need, when you need it; not a moment sooner!
I’m saying that “it’s normal” in the satatistical sense isn’t even an argument, it’s just an observation devoid of insight or a position. It also misses the entire point of the article, best summed up as:

The hand licking incident brought it home to me in a big way that, yea, verily, it's better to stand there dumbly and just watch it burn while trying to think of something better to do, even though that is extraordinarily stressful and can feel like the worst possible solution. When there is a crisis, it often feels like you should do Something! Anything!

Maybe. But sometimes you should do Anything -- except that. Anything but that. So it reinforced my resolve to stand my ground when adults around me were haranguing me to do things I knew would not work and would, in fact, be counterproductive.

The response that lots of people don’t see a problem with it is hard to interpret charitably in that context.
I have 3 Roku TVs and a Roku stick attached to a fourth and I also recommend Roku products to almost everyone.

I also have two 4K AppleTVs (free with DirecTVNow.)

But Roku is everything I hate about non Apple consumer electronics. It’s not a hardware product where the business model is I give them money and they give me stuff. Half the home screen is an advertisement and the shortcuts on the remote go to the highest bidder. I have one remote with a shortcut to Rdio (defunct) and one with CBSnews.
Absolutely false. Land costs, permitting costs, zoning, permitting, etc all add up to the final cost of built housing. Developers build what's profitable, that's true, but they aren't twirling their moustaches and charging 3x premiums.
On the topic of programming blogs, are there any libraries to automatically detect code snippets within text? I know there are some StackOverflow posts talking about possible approaches to this, but not sure if anyone has actually built an open source solution.
The solution is pretty clear to me but to my knowledge it doesn't exist and the economics of creating it are not that favorable.

You need to have a free github/publisher side cache which mirrors the public github repository of the code example. The example should be rendered server side without a javascript library for syntax highlighting / formatting. This way the author, or more likely a reader because the author abandoned the post a second after writing it, can make progressive updates and deprecations - sort of like stackoverflow where an answer can live on past the life of its author.

This is not a rife target for a start-up and most likely would have to be offered by a larger player. The service needs to be long-lived and reliable from an operational perspective and its pricing model is not clear as most developers would not pay a dime for it. Github is the most favorable target, I'd pay an extra couple dollars a month to "upgrade" my github account for this functionality. Github Gists are already pretty close to what we need but miss out on a few key features for use in independent blogs (presumably a rate limit and a limited scope that may be too narrow for an example, it might need a full repository).
The attack assumes a private key is stolen. Such an assumption breaks most crypto schemes.
Sean Doran, featured in the article, was fired from Sprint the week the article was published.
https://www.wired.com/1997/11/updata-9/
The only reason I still use Evernote (and I fervently want off) is its excellent page scraper. If there were a non-web (i.e. local storage) alternative for macos&ios I'd switch in a heartbeat. But so far, no luck.
A downside of a pure growth first, monetization second strategy.
Private CA is a good route if you plan on setting up a long standing internal only test server and devices. OTOH if you just want to access https://localhost on your PC things like "chrome://flags/#allow-insecure-localhost" exist and are easier to manage.
But a good manager is a shit umbrella, keeping the shit off you. I'm supportive of providing solutions so that everyone's lives improve, but one must be careful not to give the impression that the way to make the underlings perform is to let the shit roll downhill.
When they last reported iPod numbers they were selling about 1.5 million devices a quarter and most of those were probably the (still available) iPod Touch.
It’s somewhat generous to call either of these the same companies as their wireline namesakes
Tell him that there is no need to reply outside of the 9-5 schedule
Yes, it definitely makes sense for companies HQ'd in the Valley to have 'other offices' in such places.

This is the de-facto Canadian strategy, when the outgoing Ontario Minister of Economic Development was adamant that 'Canadian developers were top-notch, and go for 60 cents on the US dollar, and we intend to keep it that way' i.e. basically indicating that he wanted to keep Canadians (or at least Ontarians) poorer for the opportunity to work for Cisco et. al.

It's definitely a rational strategy in a way, but it's also self defeating because it precludes a competitive options. Imagine trying to hire talent to Toronto when said talent can 2x their income by going to the US? (I understand cost of living is different, but aside from housing, stuff is cheaper in the US, and many young people especially have a hard time seeing past the dollar signs).

This would be an optimal strategy for a country in difficult situation, trying to lever their top talent into the 'beginning' of an industrial landscape (i.e. Ukraine, who haven't had a proper economic footing, basically ever). But it's sad positioning for countries with already advanced economies supposedly trying to be competitive.

Canada's situation next door to the US, with a flexible immigrant population, a shorter history and weaker cultural ties vis-a-vis the US (i.e. it's not a big jump from Toronto to Chicago as it is from Berlin to Chicago, in cultural terms) ... creates kind of a specific situation.

The clustering analogy is very good, but it's also very hard to do. They are trying here in Montreal with AI, but I'm not so sure it will fare very well. Hopefully it will work out.