skysight-inc/HackerNews huggingface dataset:
I've worked on compressing (with x264, not the fastest but gets the file size right down) and encrypting a video stream with PGP and streaming the encrypted data via encrypted FTP from a Raspberry Pi. If I remember correctly, the lag was about 2 seconds, i.e. when pulling the power cable at 18:00:05, the server would have footage until 18:00:03. Most of that delay came from compression, since x264 looks at the next frame (so it waits a frame or two before running the algorithm) so the output is a bit delayed (can be disabled at the cost of much worse compression).

On the raspberry pi, the encryption took a fraction of the CPU that the compression needed, so yes, PGP-encrypting a video stream is relatively trivial, even if you call the GPG agent 5 times per second and do public key crypto every time (in this case it also made for a nice and robust format, you just split on the BEGIN PGP MESSAGE strings and can ignore broken frames). This can be optimized by a lot of course. An ideal case is probably to do keyring management with PGP and then use a different, meant-for-streaming format for the actual video data encryption and transfer.
Writing Good Unit Tests; Don't Mock Database Connections
It's good to see that they hope to provide « the best printf debugging experience you've ever had », but I'm disappointed at the UI they show on the "Condition and print expressions" page.

The video shows the user using their mouse and typing the expression to be printed into a tiny text input.

Part of the attraction of print-style debugging is the convenience of being able to use your main editor UI, along with all the conveniences that provides, to write that expression.

(That might be fancy completion or vi-style editing commands or keyboard macros; it will be different for different programmers.)
https://sisterswithtransistors.com/watch lists where to watch it for the US, UK and elsewhere (Vimeo) but the Vimeo excludes the following countries: France, Germany, Norway, Denmark, Canada, Australia, Austria, Russia, Poland and Israel.

I can confirm as a Canadian that I'm having a hard time watching it without (presumably) a VPN.
Selling is different, I think, than possession because dealers are often not just selling one thing like marijuana, but more dangerous drugs as well. I can understand an arrest in the case of dealing.
It's low-income housing. It doesn't have any problematic slumlike qualities like stolen electrical, trash, or dilapidation.
Yes, people also built the buggy software. But the role of software here can’t be overlooked. Because people trust software to run the modern world, there is a high level of trust that this software is working properly. The article says that this trust was misplaced in this case and it caused serious harm. It doesn’t just blame the existence of software, but questions the way in which it is built, used, and the ways in which society places trust in it.
I would hire a three day a week developer if they were otherwise what I am looking for.

And we are currently hiring.

What kind of work do you want to do?
>We're not talking about RAID here, but about replicas or copies.

Most distributed filesystems support some form of erasure coding. Ceph does, Minio does, HDFS does, etc. So no, you don't need to duplicate everything.
I’m not in the industry. But I instantly recognize the name from the occasional touches I have with info sec. that tells me all I need to know About how big of a loss this is.

Condolences to those who knew him.
> I'm sorry, this makes zero sense and even if it did, is patently false. This feature works and I use it all the time.

Lucky you.

I can confirm qyis observations: it started to ignore me sometime around 2008 and hasn't worked reliably since. We have tried to tell them since then.

I know Google runs a lot of experiments all the time but this one has been morenor less consistently ignored for me.
"edit: Downvotes? Really?" is a surefire method of attracting downvotes.
If you look at strcmp like "the difference when you compare the strings for sorting", it makes complete sense. If the first mismatch of strcmp(a, b) is smaller than 0, you put the a before b, otherwise you put b before a.

The fact that an equality check can be made by running a comparison function is useful, but that's not all the method does.

For other methods in much C code, a common mindset is that a method returning a value will return the error code, with error code details in errno. The error code for success is 0, which is fitting of course.

Had C implemented booleans, this problem would never have been a problem, because if(int) wouldn't have been a legal expression, but sadly booleans are implemented as integers in the language instead. I strongly dislike languages that do allow implicit casting from integers and such to a boolean, if(var!=0) is much more readable because of the explicit boolean expression.
Maybe look into integration with hiring management systems. Workable (best for smaller companies based on price) and greenhouse represent most of the market iirc.
The cheapest "energy storage" is bandwidth and demand based billing.

The required battery storage cost to guarantee my 3 KW electric clothes dryer could theoretically operate 24x7 when needed after three weeks of cloudy windless weather at midnight is staggering. The alternative is demand based billing and program my dryer to never accept a KWh that costs more than say, seven cents. On a minute by minute basis I don't care if my "hour" dryer cycle takes 65 minutes because a cloud passed overhead and it slept for five minutes. Its also worth considering that "in theory" people who design for max theoretical load MUST assume my clothes dryer will run for 24 hours a day 7 days a week, when in practice I have never done more than five hour long loads of laundry in a row, and that was after traveling out of country for two weeks (after zero electrical demand for 14 days)

Even data centers can do stuff like vmware vmotion running virtual hosts off a cloudy cloud data center to a sunny cloud data center with no user interruption.

The idea that the wall outlet is an infinite source of energy is going away, or if its demanded for a hospital operating room or nuclear power plant or something, those KWh are going to cost like $5 or something similar and that's just how its going to be. Its not going to be that much suffering; right now my multi KW airconditioner instantly starts up when the thermostat says go, and in a decade maybe the electric company contract says it's guaranteed to start within the next ten minutes 99% of the time, and that sounds like a nice deal if it cuts my bill in half and eliminates CO2 output.
Police reformers push for de-escalation (2020)
Speed of iteration beats quality of iteration.

You can step through the program, reason about what's going on, tracking values as they change. But if you missed the moment, you have start again from the beginning (time traveling debuggers being rare). Or maybe you're looking at the wrong part entirely at this stage, and just wasting time.

With print debugging you write a bit of code to test a hypothesis. Then you run it, and you keep running it, and especially if it's an UI program you play with the UI and see how the values change during that run. Ideally the loop to change the code -> see the result should be a few seconds.

You can then git commit or stash your prints, switch branches and compare behavior with the same changes applied. And at the end of the day if you walk away, your prints will still be there the next morning. The debugger doesn't produce any comparable tangible artifacts.

Once you do know where the problem is, and if it's not apparent what the problem is (most problems are pretty trivial once located), that's IMO the time to break out the debugger and slowly step through it. But the vast majority of problems are faster to solve through rapid iterative exploration with prints in my experience (C, C++ for over a decade, Python, now JS/TS).
I am not a hiring manager but I have some thoughts that may or may not be useful.

After a few rounds of applying to jobs, people start to simply shotgun out resumes and filter the job opportunity later. I doubt there's any conscious malice involved. This is a tough time for some people and those applicants probably stopped being selective after early failures. Others who are looking for lateral moves may just be testing the waters. What's the delay between collection of applications and first contact?

> Not a single applicant has ever replied thereafter. Some have replied to schedule a first meeting and simply didn’t show up.

Not sure how to parse this. It sounds like some of them are replying.

> is this the new normal in recruitment? Is it a collective revenge against companies that ghost candidates?

I think what you are describing is the old normal. The shoe is simply on the other foot. "It's just business" has become almost a mantra for technocrats.
What does that have to do with restricting the use of screenshots?
A much more informative link:
https://www.powermag.com/shakeup-for-720-mw-nuclear-smr-proj...
No, but strict evaluation does.
So you want to give police more power?
Looks neat. Authors, why a new lang vs a new backend for ocaml? WASM_OO :) ?
There's plenty of time for one then the other.

I don't think the curiosity to know is just for curiosity alone. I think it serves a purpose for everyone to bear witness to the kinds of things that take us.
The office has a deliberately different type of culture.

Edit: more info at https://www.dds.mil/about
(2015), but still a paper I’d encourage developers and technical managers to read as a counterpoint to the cloud advocacy of recent years.

Note to mods: The title is correctly written “COST”; it’s short for “Configuration that Outperforms a Single Thread”, the central concept being discussed.
> Ultimately you’re expressing an anti-simplicity sentiment

I disagree. First, making a language simple doesn’t make programs simpler, and often does the opposite.

I’m also not sure I buy the idea that Go is actually simple. It lacks a lot of features, but that’s not the same as being simple. I mean, it supports runtime reflection, which seems more complicated than features like traits or generics. And code using reflection is never simple.
It requires Sailfish, so it seems to be a companion app, but for Sailfish OS.
The keyword "fintech" and email are in user's actual bio, story checks out.
Russian oligarchs generally don't come from state security background either. I don't where the OP got that from.
> Parsing is the single most important feature of building a programming language

It realy isn't. Also, it's the most trivial part of parsing a programming language (in a compiler).

> It influences how the language can be structured and also how it should be structured for performance reasons.

Once again, no, not really. However complex your language is, it can be parsed at 100 GB/s on a Raspberry Pi. Even if you do it with regexps. Everything that comes after parsing is very complex and is rarely explained in any detail. And everything that comes after actualy directly influences the structure, the performance etc.

It really makes zero difference if you decide that your typeing info should be written like this:

T x = new T();

or like this:

let x: T = T()

or like this:

var x := T()

All this is trivial to parse. However, deciding on how you implement typing, what needs to be in the languaage to support your choice etc., now that definitely influences the structure, performance, trade-offs etc.

How much of that is in the Dragon Book? Next to zero? But surely there are 4 chapters on how to parse this.
You can look up the company name on Florida's Division of Corporations: http://search.sunbiz.org/Inquiry/CorporationSearch/ByName

The Delaware company is registered there as a an "outside of the state of Florida" entity operating in Florida. Some actual people names are listed. I'm fairly confident it's the same company, as the Plantation, FL address is there.
I might be a minority opinion but I think brutalist architecture can be beautiful. My local library (https://www.yelp.com/biz/port-washington-public-library-port...) is quite brutalist but is also one of my favorite libraries. Its reading room alone (the library sits up on a hill and the reading room has one wall of all-glass-and-concrete which looks out onto Manhasset Bay) is amazing.

Actually, it seems that it crept back into vogue while I wasn't paying attention!: https://www.gq.com/story/9-brutalist-wonders-of-the-architec...
Once I finally found some code examples, all I saw was JavaScript with print instead of console.log. Doesn’t AssemblyScript already compile Typescript to web assembly?
This is _exactly_ what I'm talking about. You type "directions to adelaide", and you get something about Adele. I don't agree with the sentiment that it seems conspiracyish or "dystopian", though.

On a related note, I find it hilarious that websites - even e-commerece and services that don't seem to have any physical contact - now have a generic COVID-19 popup on top of their cookie popup and privacy police banner.
It is sadly very true. See my comment here or what a lit of others write: https://news.ycombinator.com/item?id=26926309

Also I'd like to know what I should do to get your experience.
I can only assume it's because the DA wanted to pad their statistics. They run for that position, and can campaign with the conviction rate.

"Tough on crime" sadly has a long and sordid history of similar convictions.
> The main problem is that fuel tax should be increased slowly so people can change their consumption accordingly.

Not necessarily. Even if you implement really high CO2 tax, as long as it's fiscally neutral - i.e. it gets paid back to the population, instead of the government spending/wasting it - and it's paid out quickly (e.g. weekly or monthly, instead of yearly with a long delay) it would work just as well - people would adapt as quickly as they can/want to, and everybody who changes their consumption faster than average, would benefit.
The limitation of print incentivizes me to write smaller functions and code that are generally free of mutations, so traces doesn't get stale fast.

Debugging on the otherhand, well.. I've just been told by my senior to write bigger functions, because the line-by-line debugging tool jumps around too much when moving between functions to functions.
Zapcc: A caching C++ compiler based on Clang
Open office plan, ping pong and bean bag chairs. Slogans on the walls. Sit stand desks. Lots of h1b workers. Have you never silicon valley’d?
They demoed using an NFC qr-code type sticker thingy a year and a half ago:

https://developer.apple.com/app-clips/
https://www.theverge.com/2019/5/13/18618336/apple-pay-bird-e...

It's supposed to be one tap with no app installed when you walk up to one.
Show HN: Stumbled – Discover the most interesting, weird and websites
That’s a strange definition of complexity. I can see people avoiding the ternary operator because the syntax is hard to read, but it’s no more complex than `if`.
If you modify the bootloader you can brick it. The most likely scenario is that you switch to a different OS, which often requires changing to a modified bootloader, and something goes wrong. But you can't brick it with regular OS or application development
Kendall Jenner’s Devoted “Fraternal Twin” Photoshops Himself into Her Life
Bonus URL: https://www.bbc.com/reel/video/p09dcbl0/the-richest-person-w... about https://en.wikipedia.org/wiki/Mansa_Musa

I didn't watch the video, and the wiki says "one of the wealthiest" and "no accurate way to quantify".

The Eton piece mentions a book by Musa Okwonga, which is an amusing coincidence - I just clicked on a couple of interesting titles in the BBC site ...
I suggest you tell them!
They'll probably be happy to get some feedback.

If I'm honest, in spite of it not being perfect, it's much better than regular printf. The other very nice feature is dataflow (click on a variable value, and it tells you where it comes from, and it handles copies seamlessly), which makes a large number of debugging tasks trivial.
RIP Dan, he was a legend.
They should have directed to a Rick Roll video :-)
The scheme Ihor Kolomoisky perpetrated is very popular in the third world countries. In India, for instance, many politicians and industrialists take loans worth hundreds of millions of dollars from the public banks for their supposed projects, then funnel the loan funds to their personal coffers. Years down the line, these public banks add these unpaid loans as "non performing assets". The same public banks are very reluctant to lend money to the average guy.
I just tried python -m pdb and it works for me https://dpaste.org/9EQo#L26 but I really always use breakpoint(). You can even configure it to use other debuggers with an environment variable, ie.: PYTHONBREAKPOINT=ipdb.set_trace
What are the stats about the whole funnel?
Where are applicants coming from?
How long does it take for a company to respond to applicants?

And, this isn't really a stats question: Are these meaningful skilled jobs, or are they jobs that could be done by anyone with a pulse?

To try to understand, I suggest you try putting yourself in an applicant's shoes. Try applying to these companies yourself and keep a journal of how the interactions unfold. You'll learn something!
> The only way we are going to fix things is if we fix it ourselves.

The word "we" is pulling a lot of weight in that statement. All politics suffers a free rider problem. We'll fix it if we fix it, sure, but I don't have to be part of that.
Ugh, cannot zoom in or save on iOS (easily, but I better not mention how in case they disable that workaround too)
Same as everyone else's, I'd expect – less possibility (higher difficulty for attackers) of viruses / data exfiltration / etc.
As a kid, I really wanted to be an astronaut. I didn't make it, although I did go to Space Camp. It's mostly something I don't think about anymore, until I see pictures like this - looking at the entire planet just floating there in space does something to my brain. I hope space tourism will become accessible to non-billionaires in my lifetime!
DDS hires professional engineers at a special paygrade pegged to their civilian pay stubs for a 2 year tour of duty fixing pressing issues in DoD tech via pretty broad authority to sidestep

A) the usual senior military slow-roll* in the way of these fixes

B) the sh**y govt contractors who made the tech and usually get paid to fix their own bad tech.

DDS Hires a lot of motivated engineers who would be in civil service but for the $180k -> $90k paycuts and fear of bureaucratic hell. It is run by one of the ~founders of opentable who, post opentable riches, was flying on 9/11/01, decided to join the Chicago PD as a result, did west Chicago homicide until the PD discovered his past, he then stood up Chicago’s data-based policing technical approaches, and eventually the Obama admin heads about him asked him to take over DDS (iirc, +/- details there).

Cool stuff and I’d work for them in a second, probably need another few years in private sector though.
I dunno. I was a C# dev for 7 years and exclusively used Visual Studio's debugger. Then went to a JRuby project which had abysmal debugger support at the time. Learned to used printf style and it's now been my goto for the last 8 years. This despite coding in Nodejs for last 4 which has pretty good support. I only reach for the step through debugger when the problem is tricky, mainly because of having to do the setup.
I can't speak for electric scooters, but bike sharing is one of the best inventions I have ever experienced, and it breaks my heart when people complain about it being ugly, or an eyesore, or dangerous. As you say, often these are either people who never used it, or they are people who already have access to alternative transport that they feel is somehow superior. It's such a self-centered attitude.

Bike sharing democratizes the city, being cheap enough that even the poorest people can achieve transport independence. It should be a public service. The freedom that comes with being able to affordably pick up transport anywhere, and go anywhere, it's unparalleled in an urban context. All the dreams of self-driving cars, and in particular self-driving taxis, we already had that future and it was dockless bike share!

I agree with you that there are still issues of transporting large objects, and difficulty catering to people with physical disabilities, but let's not have perfect be the enemy of good.
I once had a car get a bad oxygen sensor while on vacation. Since it was under warranty, it had to get towed 45 minutes to a dealership. I explicitly told them that the problem is a bad oxygen sensor.

It took them 10 hours to figure out it was a bad oxygen sensor, and then another 2 to fix it.
It also explains the lack of public commentary.
> Under this regime, mosy employers usually tell you you're dismissed for no reason, because it's easier.

Most employers will thoroughly document and disclose the reasons (possibility pretextual) for dismissal (often through an extended heavily-documented process like a PIP unless they have or can manufacture an acute reason/pretext) because, one, they are going to use it in court if you claim an impermissible reason, and, two, you knowing that they have something set up to use discourages you from taking them to court in the first place.

Although in a case where they have a ironclad reason and little fear of a lawsuit, but fear of retribution about the basis of the dismissal, that might be different.
At this point, what about using Zig instead?
> 1. Guess what's wrong 2. Ask "How would I prove that's wrong?" 3. Try it 4. If bug found, fix, if not go back to 1

I think this is exactly right. Teaching 1 is impossible I guess but the general method (it's basically the scientific method in an ideal environment) seems teachable.

Come up with a hypothesis of what's wrong, try to prove or disprove the hypothesis.
Maybe you think you are being helpful and informative, but citing the FBI statistics is a tired trope and you are behaving, online, indistinguishably from hardcore racists.

https://knowyourmeme.com/memes/despite-being-only-13-percent...

EDIT:
themgt, this is not a throwaway account. I'm a long time user that often gets banned and returns to try again to have reasonable discourse. I find it hard because for educated people, many on this site are full of unexamined biases.

Ok, so I cited another take on crime statistics when presented with the super-trope of OP citing the FBI crime statistics. What I'm trying to do is educate you and others that if you don't socialize with the other half of the internet, well they see someone post the FBI crime statistics and they think, "Wow, what a total racist or a total knucklehead."

What is the truth that you want me to know that you don't think I don't?

I'll tell you the truth that I want you to know: if you reach for the FBI crime statistics instead of the testimony and experience of law-abiding people of color then your trust is in authority and not in the integrity of good people everywhere
The US has the highest death rate and is #36th (16%) for Aging Population (% 65+).

The UK has the third highest death rate and is #24th (18.3%) for Aging Population (% 65+).

https://www.prb.org/countries-with-the-oldest-populations/
I've never actually seen a "metric" ruler with non-decimal divisions, but that would work.

People go the other way too--some American machinists work in 'mils' (=1/1000 of an inch), since one often wants (and can achieve) that kind of precision.