jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Not hesitant, just personal preference. Probably like that for a lot of people here. I used Linux on desktop (later, laptop) for a long time, since the late 90s - went through so many phases, "not enough RAM to run X", barebones X, "emacs for everything", enlightenment, gnome desktop, etc.

At some point the churn got to me and I stopped customising my computer environments. Just use the defaults. By this time OSX was a "real UNIX" and I hopped over. No regrets. It does what I need it to do, which is still mostly to run a terminal and a browser.

I will say that reliably turning on and off when I close the lid is a great quality of life improvement.
See, even linux has these corporate branch squashers, mixing completely unrelated patches into their feature branch. Here the m1-support feature included the unrelated removal of Cyclades, ISIcom and RocketPort/RocketModem.
Here's one I wrote a blog post[0] about on how to merge two audio tracks of a video into one track without re-encoding the video:

ffmpeg -i 'input.mkv' -filter_complex '[0:a:1]volume=0.1[l];[0:a:0][l]amerge=inputs=2[a]' -map '0:v:0' -map '[a]' -c:v copy -c:a libmp3lame -q:a 3 -ac 2 'output.mp4'

[0] https://blog.nytsoi.net/2017/12/31/ffmpeg-combining-audio-tr...
> Perhaps it did a little but the app still connects seamlessly to android users via sms.

And meanwhile, when I'm (with an Android device) texting my friend (with an iPhone), I end up getting spammed with 'Laughed at "$MESSAGE"' and 'Loved "$MESSAGE"' because apparently reactions to texts come across as texts themselves.

(I don't know if this is an iMessage thing specifically, though, or even something that a sufficiently-smart Android SMS app couldn't overcome; maybe there are Android SMS apps that can parse these and show them as reactions to the relevant messages. ¯\_(ツ)_/¯ )
mine:

h264:
-c:v libx264 -preset medium -crf 22

h265:
-c:v libx265 -preset medium -crf 26

no recompress:
-c copy

presets:
ultrafast,superfast, faster, fast, medium, slow, slower, veryslow

desinterlace:
-vf yadif

target size:
-s 1920x1080

aspect ratio without recompressing:
-aspect 16:9

rotate video:
-vf "transpose=1"
0 = 90CounterCLockwise and Vertical Flip (default)
1 = 90Clockwise
2 = 90CounterClockwise
3 = 90Clockwise and Vertical Flip

rotate without recompressing:
-metadata:s:v rotate="90"

audio aac two channels:
-c:a aac -b:a 160k -ac 2

web fast start:
-movflags +faststart

autoscale to WxH with black bands:
-vf "scale=W:H:force_original_aspect_ratio=decrease,pad=W:H:(ow-iw)/2:(oh-ih)/2"

get jpeg snapshot:
-vframes 1 -q:v 2 dest.jpg

concatenate mp4 without recompressing:
-f concat -safe 0 -i "files.txt" -c copy -movflags +faststart
files.txt format:
file 'filepath'

ffprobe get videoinfo:
ffprobe -v quiet -print_format xml -show_format -show_streams "filepath" > file.xml

if override which sub track is default, use "-default_mode infer_no_subs"

clear disposition (default sub):
-disposition:s 0

default or forced disposition:
-disposition:s forced

track metadata (audio):
-metadata:s:a title="xx"
track metadata (video):
-metadata:s:v title="xx"
global metadata:
-metadata title="xx"
-metadata description="xx"
-metadata comment="xx"

extract sound from video to mp4
ffmpeg -i source_video.avi -vn -ar 44100 -ac 2 -ab 192k -f mp3 sound.mp3

skip time (place after input file):
-ss 00:05:00

stop after:
-t 00:05:00

Approx fast seek (place before input file):
-ss 00:05:00 -noaccurate_seek -i ....
Good Talent Media is a full-service Public Relations and Communication Agency, specialising in media coverage, media training, crisis media planning, social media, stakeholder engagement, digital campaigns, political lobbying and more.
It is the very effort that created the linked patchset.
I'm having cache problems, sorry! (This is my first production app.) The problem should be solved for now, though I had to turn off caching to fix it.

Urgh, Rails...
Sure looks like it! Hopefully not an acquisition.
national security has a direct-line relationship to the bottom line of u.s. startups... we get to witness the dividing of those who will make an atom bomb, and those who will not.

(i.e. if your business depends on imperialism, you are an imperialist. now consider oil and hegemony)
I think it largely depends on the value proposition of the service.
Apparently this leak will show that an additional 15,000 civilians have died in Iraq. While that may not sound like much compared to the total who died, but think about it - 15,000 people like you and I died and the state department decided to hide this. If any other government did this there would be mass hysteria and public outrage.
Then it's the 'thing' that makes you drink killing your creativity, not the beer itself
Their drones could easily be $30k+ a pop, and if they crash, need maintenance, irretrievably fly out of range, or simply become targets of angry people wanting to break them... all problems frequently encountered with high grade hobbyist drones.... then their value vs. an employee is questionable.

Crucially we're not even talking about R&D efforts, insurance, regulatory clearing costs, and probably the biggest cost, legal mishaps - and I mean very serious lawsuits - even toy-like DJI Phantom drones can fall/ crash and kill people.

I could see drone delivery to rural areas... but urban areas I don't think it's feasible at all, at least not for a long while.
Calculate how many drones you need to deliver just one truck worth of parcels. Keep in mind you need drones capable of flying across the city carrying heavy stuff. Even if you limit them to only light and small packages, there's still a range problem.
Yeah. By that logic MS has eternal support for everything, because MS has a legendary hardcore approach to backwards compatibility that they will release a product, push it hard, and then abandon development on it... but still have it "officially supported" for a decade while it bitrots into a nightmare... but never tell their users "stop using this, it's deprecated".

As much as I hate Google sunsetting products, I hate even more the companies that keep their zombies shuffling along in a state of undeath forever.
I mean.... yeah.

https://knowyourmeme.com/photos/1647678-cybertruck
I have no idea what the metrics are, but to continue my devil's advocacy, would the counterpoint here be "average lifespan of a marginal product that doesn't get acquired by $BIG_COMPANY"?
Ridiculous. Hindsight applied to NASA missions is the worst kind of selective thinking. The mandate was always zero tolerance for failure, first-of-its-kind missions not driven by reprodiceability or commercialization.

By definition, NASA moves away from what can be given to commercial partners. SpaceX is 50 years behind the curve for getting to Mars, so yeah, it's going to be cheaper. And you better believe SpaceX is hiring from a knowledge base built by government funding be it NASA or DoD.

Its absolutely no coincidence that funds are distributed across the country and businesses are employed where possible aka pork. To get congress behind a massive public scientific venture that's never been done... that's what you have to do nowadays. Dont blame the engineers (NASA) for bad management (congress).
Best practices:

-Use VPN
-Use a PO Box and not your home address
-Use Monero and not BTC
-Buy from sellers that ship quickly and check recent reviews in the last week or so
-On the point about reputation gaming, you could use to you advantage by buying from a newer seller with a few good reviews knowing they are highly incentivized to ship quickly high quality product to get your review.
Well the style is a bit know-it-all, but he makes some good points.

Main point: An engineer will have a body of work that can be evaluated and tests that can be given [...] However, if you are hiring a CFO, CTO, VP of Business Development or top marketing and sales executives, it’s not so easy. [...]
Base 80 percent of your hiring decision on thorough reference checking

I actually think references are underused in the more technical areas too. There's little point in having a person pass a bunch of tests if they are hard to work with, or lose motivation easily, or are sloppy with their practices, and so on.

And:

You should plan to talk to all their direct supervisors, some peers, and at least a few people who reported to them.

I couldn't agree more. Supervisors rarely have the whole picture and yet most employers will only seek references from them. Especially in software where a lot of people are matrix-managed or team-managed, that strikes me as woefully inadequate.
Interesting, a lower level programming language (Objective-C) is faster than a higher level programming language (Javascript). Who would've guessed?
"Not storing" is a better situation than "not handling" but it doesn't get you off the hook.
Anyone have a spare invite they'd like to share? Email is my hn username at gmail. Thanks!
The article about this tweet was borderline. This is way over the line. Flagged.
Well, "just" because the pass-by-value example is simpler and clearer, I would use that (screw the speed factor). And only if there's a provable penalty speed on large data, I would consider to try other alternatives. Still, it's cool to know that the "better way" is in fact the "faster way" in same time.
I'm quite sad that they passed over such great things as WikiLeaks for Yet Another Ad Company.
So buy two things? The fact is that you can find something with a gigabit ethernet port built into the unit. Not a tricky dongle that doesn't offer the real thing, not a sketchy router-based SMB share. It's a bad idea to have two devices when you can have one. Especially if you can get a one-device solution that will transfer files faster over your network.
I used it this last week. SourceKit would crash all the time. Xcode would crash occasionally. There'd be spurious warnings. Very poor quality warnings. Stuff like "missing argument" and "extra argument" when the class is abstract.

And I'm not sure about this, but the documentation is also off in a lot of places. Essentially anywhere there is a 'setX' is meaningless because that function won't actually exist even if the (Swift) page for it claims it does because in most case you just access the variable.
A url hash that starts with an exclamation point is a convention created by Google to allow Ajax web apps to be crawled by search engines.

http://code.google.com/web/ajaxcrawling/docs/specification.h...
This is excellent news. I knew someone who died prematurely from metastatic melanoma. I hope these results can be extended to human use, so that some day others don't have to suffer the same fate, hopefully within my lifetime.
I activated Find My iPhone with iPad and it works on my 3GS.
Could bone marrow transplants be considered a form of shotgun gene therapy?
It indicates to Google (and presumably other crawlers) that the site supports the AJAX crawling scheme. More here:

http://code.google.com/web/ajaxcrawling/docs/getting-started...
For Emacs, you can also do essentially the same thing with emacsclient. It opens a new buffer for editing in an existing Emacs session, so config and extensions are already loaded, you can copy content to/from other buffers, etc.
I didn't know what NLP is, maybe you should explain it (or simply write full words in stead of the abbreviation) once in the beginning of your website.
Looks like a giant pile of fear, uncertainty, and doubt. Even if we only wind up with cars that drive better than bad drivers and worse than good ones, that's a win - now the driving algorithm is debuggable and improvable software, and the gains can be generalized across the entire fleet.

"How to drive safely" is a skill that can be learned once - by an explicit algorithm - and then shared across every vehicle that needs it.
Great layperson-accessible read by Tim Urban about the future of AI. Would love to hear some thoughts from HN readers well-versed in the subject.
I'm with you on the first point, but your second seems to undermine the first. The argument isn't "$70 per hour is reasonable, and a 10-minute call takes an hour." As far as I can tell, it's whether "Fixing the lock is not worth less because it took less time, the end result is what you pay for" is true.
Does everyone else take these tests and find themselves unable to resist thinking about "right" and "wrong" answers for each question? I presume that subconscious dialogue colors how you answer, even if you're not necessarily cognizant of it.

In addition, these questions are always asked in terms where you should really somehow evaluate every situation in your life that applied to the question, and somehow arrive at a "mean" answer that then informs your response. I find it absolutely impossible to not just think of anecdotes and base my answer on them. Which would be fine, if all my anecdotes lined up, but there's always "Well, that one time I did this, but this other time I did that, which is basically opposite!"
I don't know if it is pervasive, but it certainly exists:

http://www.washingtontimes.com/news/2005/nov/1/20051101-1049...
I was somehow expecting an article about a supercentenarian.
I'm a Christmas-celebrating Catholic and I say "Happy Holidays". This notion that the words "Happy Holidays" are a political statement is bullshit. People said them long before Bill O'Reilly declared that there was a war on Christmas.

It's not "politically incorrect" or offensive to say "Merry Christmas" to someone who isn't celebrating Christmas (or, as is far more likely now, is instead preparing to celebrate New Years). It's stupid.
Perhaps Xah Lee's command frequencies script is a start?
It's reasonably standard. The last money in gets to be the first money out. It solves the problem of a startup taking money from a new investor and then immediately disbursing it to the old investors (or other similar shenanigans).

The existing shareholders have to vote to approve the new round. They wouldn't do so unless they thought it overall worthwhile.
I held the title on "Brackets or Braces?" [0] for a good seven minutes with a 44 character solution [1], only to be ousted by @ryanmusicman with 42. Can anyone see an obvious way to improve mine?

[0]: http://vimgolf.com/challenges/4d1a522ea860b7447200010b

[1]: https://gist.github.com/757767
Yes - appears dead now. Open for around 3hrs after first post of the vun I think.
After being stunned by the close-up of the stars I'm tempted to download the 4.3GB original [1]. The scale was unexpected having mostly seen only resized photos before.

[1] http://www.spacetelescope.org/static/archives/images/origina...
The circular reasoning is what gets me - they get less than minimal wage because they earn tips because they get a poor wage because they earn tips because...
It's probably more accurate to say that people who buy Oracle don't read HN. Developers that use Oracle might read HN, and these are the people that are driving the future of databases. There's a reason most new DBs have an open source business model. :)

People who buy Oracle are likely reading management publications, and possibly Gigaom. They're not reading technical discussions of databases.
They have 3 other brands:
http://photobox.co.uk
http://uk.paper-shaker.com
https://sticky9.com

Only the later seems to enforce SSL. I registered a dummy account on photobox, username/password/email, via their form which was not using ssl.
> Only 3% of users who clicked “Give Access” clicked “Don’t Allow”, meaning less than 2% of total users denied access at a system level.

How many normal humans could anticipate that saying "yes" then "no" was the only way to say "no"? Putting a preemptive "obey/ask me later" dialog before the system one is slimy, but not unexpected.
It will when you go around making self-conscious posts about it.

Be proud of the code you write. Be even prouder it has users and if someone decides they don't like you based on their own short-sighted judgements, remember the world of technology is exploding and you will find gainful employment elsewhere. Also, you can use this mindset to maximize your income in negotiations and be quick to leave for better opportunities if you find your current job lacking.

In an interview situation, your tech skills and intelligence will shine through, even if making small talk, even if you express strong ideology surrounding your interests (passion sells so that would be a plus in my book even if I didn't agree with your views, your technical capability will demand respect). I guarantee you there are shadier people than yourself out there fishing for higher profile jobs. You control the means of production in a new economic era and as such you get to make a choice for the people you work for or with so why not take advantage of that. In addition, there's a good chance that this field will expand and your early involvement will become an additional credential.
Yup, it's a bad example for the reason you mention.

Putting that aside though, once you're out of positional good territory some providers of goods and services are indeed willing to accept different prices from different customers depending on their capacity to pay.

https://en.wikipedia.org/wiki/Market_segmentation

If I can make 10% profit out of you by charging a lower price whilst still being able to make %200 profit from the next client through the door because they can pay more, then it is rational for me to do so. The trick is that it is difficult to convince rich client A to pay twice as much as poor client B if A knows that B is getting the same good for half the price, but if you can pull that trick off, then it is totally rational to modify the selling price based on the customer's capacity to pay.
And adopted the decimal calendar[0] which hopefully has fixed all the issues with current calendar.

[0] https://medium.com/@duspom/proposal-for-a-base-10-calendar-b...
Just because he followed up with "peacefully" later doesn't negate him saying 'fight like hell'. I mean, most of the problematic things Trump has said have been followed/preceded by things intended to make them look less problematic.

I wasn't intentionally leaving anything out though, I took that quote directly from the Times.
Because other countries exist.
Pelosi is old enough for typewriters being new technology, I don't trust in her having the hand over it personally.

But after the number of big hacks in the last few years I'd hope the guys in charge of general security laid down some ground rules.
> utterly stupid

We appreciate your concern for the quality of HN (and frustration at linkbait etc.) but please don't do this here. The HN guidelines do say to post original sources, but also say not to call names in comments (https://news.ycombinator.com/newsguidelines.html).

Users submit articles from various sources of varying quality. Moderators routinely change urls to better sources when we find them, and edit titles accordingly. No one would love it better than we if users would just follow the site guidelines and we didn't need to do those things, but to try to make it otherwise would be like Canute commanding the waves.

We changed the URL from https://techcrunch.com/2017/02/09/what-software-engineers-ar... to the original report it's cribbed from.
Woah! The first one was one of the coolest books I've ever read!
That's okay. I understand why you need to apply a near zero multiplier on what I told you but I'm unwilling to get any family member blackballed over outing anyone.

Your epistemological strategy is correct. And for all I know you are more correct. After all, given any random arrangement of points there will be clusters. And assuming you draw circles randomly, some circles will coincidentally appear full of points. But if the circle is the space of visibility of a sapient being, they will mistakenly determine that all of space is full of points simply based on their own circle.

So just because my immediate circle has encountered this enough may not mean that this is common.

Unfortunately, there is no true way for us to safely exchange information on this front for the positive case (there is fraud), only for the negative case (there is no fraud). So I guess we each act as if this circle is the entire plane and maybe the world will apply sufficient pressures to tease out who is right.
The WHO has shown itself to be practically useless. The premise that sovereign nations need the WHO to cooperate is false. Diplomacy and cooperation between nations was the norm for many years prior to the WHO and will be the norm for many years after the WHO’s inevitable abandonment and demise.
It isn’t a promotion of neutral discourse. The party didn’t change, why would the name?
Now, how do you think you can clean the judicial system of racist judges, and in at large the whole legal fraternity?

Outright, publicly known racists get protection of judicial immunity, and only near impossible judicial impeachment can do anything about them.

What is the solution?
One thing I think about: How would American medical research be different under communism?

Honestly, the early phases would be pretty much the same. There would be researchers who want grants to do experiments and to get the grants they would need to impress boards of their peers. So basically the system we have today.
Was it really 100% due to activists on the street, or [high-profile insiders]

Okay, 90 percent activists on the street, 10 percent insiders (who generally only stepped in after the 90 percent had already laid their bodies on the tracks, and accomplished the hard part).
A few comments:

- Unclear what exactly caused the migration to break, was it simply the is_clean field not getting set? Would this have been prevented with stricter column constraints on the db?

- The rollback failed to solve the problem. In my experience, rollbacks are often problematic and it's better to regard fixing a broken database chance as another migration ("forward" rather than "backward" if you will)

- The test code feels quite clumsy (for instance, having to load old state). The testing also feels less rigorous than directly checking the resulting schema matches the intended state. I'm an advocate of a diff-based approach that directly compares schemas at a database level (see: https://djrobstep.com/talks/your-migrations-are-bad-and-you-...). What do you think?

- Another advantage of not using django-style migrations, is that if you need to make urgent changes to solve a downtime issue (for instance, a quick "update" query), you can freely do that outside the concept of a prepared migration if necessary, without any need to go and add that history back into the migration chain later (because there is no history beyond current version and target version).
It can just obtain the user's consent; and, if denied, the alternative is to not phone home at all.
> I don't know how you could expect to be even that valuable let alone more valuable to an enterprise

If your company is profitable, they can afford to pay you more, meaning no matter how much you're paid, you're undervalued.
I believe there was a research showing that verbalizing helps people think. I always think aloud for hard issues. (underrated perk of remote work, you can talk to yourself without looking crazy).
They'd have needed two perimeters: inner, keeping the mob out of buildings, plus outer, to enforce search.

Way beyond their organizational readiness at the time.
It's actually totally possible with crowdsourcing, and a lot of applications actually work, like Waze.

So people believing it works are not stupid, they can legitimately believe you're pulling that from a common database with an app that lets user signal radar or police cars.
> In the UK I think we acknowledge they are a bad idea by having a plan to step them down over time to some low level (and potentially even 0 eventually). Covid derailed that plan.

I think, pre-COVID, they're aiming for 12.5% to compete with the Republic of Ireland. Northern Ireland was already granted permission to lower corporate tax rates to 12.5% [1]. The UK is looking at reversing cuts in the wake of COVID [2].

[1] - https://www.ft.com/content/129e7687-20d7-449f-bde1-3455015de...

[2] - https://www.independent.co.uk/news/uk/politics/corporation-t...