skysight-inc/HackerNews huggingface dataset:
That's also fun up to some point. Whenever I optimized for fewest cycles in Codex it usually turned out to be "work with as many atoms per cycle as you possibly can", or something silly like building a solution on one side and mirroring the solution on the other side to get less cycles. The tedium of adding more and more tends to make least-cycle solutions less rewarding to craft, at least for me. (It's still fun though!)

If you open up a least-symbol solution for Codex you'll find a lot of interesting tricks used to reduce symbols. For example, grab-left-left-release-left-left can be accomplished with just grab-left-release-wait, if you sync it so the released atom is removed by another arm at exactly the right time. It's a nice feeling to successfully shave off even one more symbol using these hacks!
O mainly use MySQL because of phpMyAdmin. Is there anything comparable for Postgres?
>better option than government regulation to afford that same protection

What do you have in mind?
C++ constexpr functions can contain loops and recursion, or just be invoked from multiple locations, leading to the same code being executed more than once.
I feel the same way about the Model 3.

The touchscreen interface is fine for a computer or when you're parked but when you're driving it's utterly useless.

At the very least, they need to move the AC to tactile knobs and buttons. I can't change anything to do with the air while driving because it takes too much of my concentration to figure it out. The glove compartment also needs to be moved off onto its own real button but that's minor compared to the AC.
The problem is they cannot back test the final result.
Would this imply Boeing acknowledge it's their fault? Would this lead to more suits from families of the passengers?
> But why prioritize portability over better functionality at all?

It's not just about portability, or even primarily. It's simply good application layering to put the DB code behind a layer. Intermingling SQL code in your application logic is just as bad as intermingling GUI code in your core app logic.

But even that aside, we haven't felt the lack from putting such code a single function call layer away. I suppose it may give us a slight amount of pause when we consider whether it's worth creating another function in that helper library, but that's probably a good thing. If we decide we can get our work done by calling one of the existing functions, then why write yet another DB access function?

Example: if a table is known to have at most 5 rows, and the query that would allow the DB to return just the one we actually want is complicated, and it's almost never called, why not call the existing "SELECT all" one and iterate over the rows? The performance hit of being inefficient will be immeasurable.

> Why did you move databases so often?

That's once every 8 years on average. A lot changes in the computing world over that span.

The first change did coincidentally happen about 8 years after the company was founded, and it was because much better DBMS tech became available to us, within the constraints we had on choosing.

That DBMS lasted us for the next 14 years. By that time, enough had changed in the computing world that it was worth swapping again. The new one runs about twice as fast, takes far less code space, and is simpler to use all around than the prior one.

We'd have to switch again this year in order to maintain the mean of once every 8 years. My sense is that this is more likely a nonlinearly increasing growth curve, so that the next switch will be closer to 20 years than 14, if it happens at all.
If someone is knowledgeable enough to not open a shady exe file, they'll probably not simply open any shady files, including doc, ppt, and html
First they came for the right-wingers...
Ask HN: A startup's first collaborations with large corporations
There are plenty of high-level articles on startups and corporates collaborating [1,2], but how to structure these partnerships? What terms are common? What variables are there to consider (revenue sharing, equity, royalties, checkpoints, etc.)? Are there detailed examples available?

It'd be great to learn more about setting up an initial partnership that could evolve into something bigger. For example, a startup offering an EHR service deploys their product to an isolated part of a large healthcare system, and after some validation the deal evolves into more revenue and a system-wide distribution. How are the details of this type of partnership set up? What would an example term sheet look like? This type of pilot-first arrangement also seems to be common in pharma.

[1] https://www.asianscientist.com/2019/04/features/sginnovate-deep-technology-corporates-startups-collaboration/

[2] https://assets.kpmg/content/dam/kpmg/pdf/2016/04/On-the-road-to-corporate-startup-collaboration-16-12-2015.pdf
https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta...

Tree Style Tab, you'll never go back.
That's a view that seem common among extreme libertarians. An opposing view is that no person has any rights other than those that _other people_ agree they have. That latter view is more common among extreme communitarians, that _all_ rights are "given".

I'd say it's arguable whether we are (or should be) moving towards making your position, the first one, true.

But it seems clear that in the natural state of human beings there were no rights (e.g. certainly no complex idea of property), so we are at the vert least transitioning _to_ your position _from_ the latter.

I make no judgment of value, just pointing out you are at best "partially", or "not yet fully", correct.

Point in case, travel a few thousand kilometers in any direction and most likely everyone you meet will disagree on what are your rights - not the least because there you'll be a foreigner. Do you really have inaliable rights as a fact of nature when there's not a single shred of structure to support them?

Even more strikingly clear - were there rights before peoples? Were there human rights before humans? Was there a right to live before life? Rights as an intrinsic part of the natural is impossible in this view.
BSD OS's are very appealing to me given the infiltration of systemd on linux. I'm very excited to be deploying FreeBSD on my homelab network.
Next, they'll refer to these as "military grade software techniques" or "military grade tools".
But that style elides the distinction between syntax and semantics by making indentation a function of the number of letters in an identifier. The above code isn't indenting so much as typesetting--aligning visual elements, not grouping semantic components such as compound statements. If you're typesetting and the only thing you can rely on is monospace fonts, then of course you must use spaces. That's reflected in the rule, "tabs for indentation, spaces for alignment."[1]

The lack of convenient semantic cues in the source file representation is exactly what burdens the visually impaired disproportionately. The well-sighted don't need a specialized parser and formatter for a language as a prerequisite to reasonably comfortably reading and editing because visual alignment suffices. The history of teletypes and keyboards made tabbed indentation an accidental equalizer when it came to source code editing. The well-sighted needed to willfully change convention to discard that benefit, and did so for highly dubious reasons.

[1] Which arose out of the tabs v spaces debate as a principled compromise and is not itself a historical style, AFAIK.
No, people get wealthy by doing what lots of wealth-weighted people want, who in turn got wealthy by doing what lots of wealth-weighted people want... the weight enters at every step, and that's how the system runs away from itself.

You can gauge its progress by looking at the wealth distribution. In a flat distribution, the economic notion of value coincides very closely with the colloquial notion of value. In a heavily skewed distribution, it doesn't correspond at all. Masses of starving poor people are of no concern to a system that assigns them 0 weight. Feeding them produces no value. In stark contrast, those with great weight can command the economy to devote great energy to highly counterproductive tasks such as consolidating and perpetuating their own power. This is an intrinsic problem of skewed distributions -- and the reason why "who's goals" is exactly the right question to ask.

Of course, you can't hammer the wealth distribution completely flat without eliminating the economy's ability to incentivize, because being on the advantaged side of an uneven distribution is the reward. You have to strike a balance. That shouldn't be controversial, but on account of the great energies mentioned above, it is.

By confusing the two notions of value, one can make the argument that you just did, and with that one subtle alteration the tendency of the system to run away is hidden. Note that the system you described could be obtained from the system I described by pressing a "reset" button and hammering the wealth distribution flat between each transaction. I'm sure that wasn't your intent, but it's a dramatic demonstration of how attaching the word "value" to the economic concept of wealth-weighted-value hides the problem from view.
I'm so torn on this issue. I dislike the idea of the government interfering with private business very much, and I can see how easily it can get scary.

That said, it really is insane how influential and widely used a well made application/website can get (youtube/discord/etc). I really cannot think of something that YouTube could do that would make people leave the platform. The amount of users and content on there just totally cements their position.

In this specific situation I think tech-savvy people can find where these videos will be located. In other situations, it's pretty strange/scary. I wish people were more open to alternative platforms. Sometimes I talk about DuckDuckGo and get the weirdest stares
This is cool and seen on many science fiction show. The engineer in my head wonders, how do you make the transition between various 'donuts' compartments and various levels without getting limbs chopped off? Only by the center via a tube?
There's pgAdmin
https://bollingermotors.com/

I found something interesting. Electric truck that looks like it is from the 70's. Bravo.
Yep. And I want physical buttons.
Is it just the perspective of the picture or are those buttons not even recessed but prominently sticking up?

Ironically, the buttons for the seat heaters look flush/recessed.

Especially in these modern cars that have no "lurch" when you put them in gear to give a subtle hint what happened, that's really horrible design. (Maybe they should lurch slightly --- I don't think it'd be all that difficult given the degree of automation they already have...)

There are large vehicles with pushbutton shifters but they're usually mounted on the dash where falling objects won't hit them, and furthermore have recessed buttons so even harder to push accidentally:

http://bustekhub.com/wp-content/uploads/2016/08/Allison-Shif...

(As a bonus, a bright display shows what gear you're in, and for even more tactile feedback, the N button has an extra raised lip on the bezel.)
If I understand correctly, YT is able to solve it because it has huge data centers which can cache the videos at appropriate locations all around the world. Honest query: do you think an individual/small group can replicate this?

Perhaps GNU can take this up as an initiative.
A really short explanation:

https://corporatefinanceinstitute.com/resources/knowledge/st...

An infamous use-case:

https://en.wikipedia.org/wiki/Enron_scandal#Special_purpose_...
Want a bumper crop of tomatoes? Listen to this guy
Behaviour that is racist or illegal in one place is very often acceptable in another. YouTube as a global website has to remain fair.

For example, Cape Town puts on a minstrel festival every year[1]. Should YouTube ban videos of it? It is surely intensely racist and offensive from an American perspective, yet it is also a culturally significant event in Cape Town and it seems unreasonable to apply American/Anglo definitions of racism to South Africans thousands of miles away who see the world from a different perspective.

I don't think YouTube could exist without banning certain kinds of content. But at the same time, I wish they do so lightly. Because homogeneity of thought is far more dangerous to a society than any video.

[1] https://en.m.wikipedia.org/wiki/Kaapse_Klopse
End to end encryption was once classified as a munition.

If the data is not end to end encrypted, then it is public.

Everyone should understand this.
Ask HN: What's it like getting better at meditation?
What does the path to mastery look like for meditation?
I have a Model 3. I hate the all-touch screen controls. I found the voice control utterly useless but I haven't played around with it very much, mainly because everything I tried failed. At the very least it's not as good as Siri, and I think Siri is generally useless.
Let me tell you, technical businesses are too.
Ligaments and bone density get stronger with strength training dude.. why even make a comment like this with information that is completely wrong
Agreed. The title is misleading IMO. This isn't sci-fi, it's just a fancy amusement park ride. These things have been around for decades:

https://en.wikipedia.org/wiki/Gravitron
So a permutation? There's no need to store the whole shuffled array in RAM, a big 64-bit co-prime number is enough, you don't care about cryptographically secure numbers, so even 32 bits could work.

For example for a 1000 songs playlist, you choose n to be 2416648531, start with i = 0, you then get the following permutation: 0, 531, 62, 593, 124, 655, 186, 717, 248.
1) What companies exist?
2) What are they doing that's novel?
3) What are the issues people living there are facing that could be solved with technology?
4) What are the impediments to solving the issues in (3) ?
5) What's the future for tech in Africa?
Sometimes it's a badge of honor to get a bunch of downvotes. It's validation that a "sacred cow" has been cooked into tasty burgers.
The problem is it could really help, but they target the absolute lowest denominator and make horrible UX decisions.

For example, I'd love a steering wheel full of high-contrast color buttons for every essential feature, similar to F1 / race vehicles. You don't even need to take your eyes off the road once you memorize the layout - far safer than assorted touchscreens and dials, as well as being quicker to use. But good luck selling that to the average consumer!

In general I agree with your sentiment. Software can definitely be used to improve vehicles (ABS anyone?) but it has done be done completely correctly. In light of the recent Boeing fiasco (and other automotive software debacles) it's apparent that companies won't take it seriously until hundreds of lives are lost or they get fined into oblivion.
> the assumption that there was no better option than government regulation to afford that same protection.

What other options are there? Letting the market "solve it" is not an option because the incentives are not aligned and market actors are not rational.
You've gotta be skeptical of an article in the financial press that hearteningly acknowledges the blindingly obvious macroeconomic problems and proceeds to suggest the solution is some kind of reduction of regulation. They didn't even offer a single convincing mechanism by way of example.

I am 100% on board with the idea that large companies have captured key agencies. You don't need a scientific study to note the antics of Ajit Pai or the hostile takeover of the CPFB by a guy that just showed up and just sat in an office there until people started doing what he said. However, the idea that somehow cutting regulations will cause monopolies to be less monopolistic is laughable.

Look at Uber, the poster child for dysregulation. They openly and actively thwart any kind of rule of law that would constrain them, and they can fund their operations at shocking losses in the mere hope that they can corner the market permanently. Look at the arms manufacturers that openly lament that there isn't enough of a left wing ruckus to scare people into buying more guns. Look at the right wing rebellion in Oregon over a nothing cap-and-trade bill that called for armed militia to protect the interests of oil.

When you have money, the fewer constraints you have, the more you can do. It's the golden rule.
Infinifactory is also $5, and it might be a better introduction to the Zachtronics genre for most people.
I wonder what companies would be good investments to hedge for this possible future.
Oh man, I'm so glad this reminded me of "What to the Slave is the Fourth of July?" by Frederick Douglass. It's a thrilling, masterful speech.
> the degenerates who want blue houses

Are we still talking about computer security tutorials? I'm not aware of any federal law prohibiting those.
Except humans are also steering those 4000 pound blocks of metal around and not doing such a great job of it.

Here in Australia, with a population of 25 Million there where 1,140 road deaths in 2018.

The USA with it's 327 million population had some 40,000 road deaths on 2018.

I find it hard to imagine the av will end up doing any worse a job driving than the humans currently on the road.

And since, even with the occasional bug, the av would be doing a better job of it, that means they will end up saving lives (and lots of them).
Running the heater isn't so much the issue in winter. It's that cold temperatures dramatically alter the efficiency of the battery. In summer, I get about 90-95km of range off my Volt. In winter, about 50-60. That has little to do with running the heater (I preheat in the garage before I go, use seat and steering wheel heater, and besides, I run AC in the summer).
It's a play, but Tom Stoppard's "Arcadia" is probably the best piece of fiction ever written about math, and honestly, probably the best piece of English literature written since Hamlet.
This is a brilliant list. Did you think of it, or is there a source?
I would give money to something like PBS but for smart, DLC-free, ad-free open source games.
I love it (OK I am an `"engineer"' aka slinger of JS). The keyboard of the X230 and form factor was damn good. I loved using it until I stupidly cracked the screen.
Art of the Strategic Product Roadmap
The article's demonstration of a counting model is horribly inaccurate to the point where I'm not sure why it was included. Most people see "AI" as being either good at something or not. There's little nuance such as some models being better than others. This kind of demonstration just weakens the reader's confidence in more fully developed results or different approaches. I'm not sure this brief statement offsets the prominent visuals:

> On the day of the protest, Mr. Yip and the A.I. team used technology that is much more advanced. They spent weeks training their program to improve its accuracy in analyzing crowd imagery.

Setting aside the presentation, from the photos the researchers appear to be using object detection rather than density estimation. This choice is problematic given the quantities involved and the need for temporal consistency.

I'm also skeptical of using human volunteers and surveys to calibrate the model. Humans are terrible at counting large numbers of people in real-time. That's a central point of the article with different groups of people providing wildly different counts.
> the only barriers are psychological at this point.

For me, the barriers are: eating up more than the file's size from my limited ISP quota, and CPU and battery usage when unplugged.

The CPU and battery issues can be resolved by seeding only while charging/idle/under a specific CPU temperature. One hemisphere could serve the other while half the world sleeps every day/night.

As for data caps, we again see the need for decentralizing the physical connectivity layer.
Unfortunately Cloudflare has a history of censoring content as well though.
The fun part is when those you have disagreed with other threads follow you about to downvote unrelated comments.

I expect they feel that they are on a crusade of righteousness of some sort.
youtube is not the internet, it's a privately run silo. I think it's actually better if people stop using it for everything. We've somehow got to the point where we are demanding private companies somehow preserve our freedoms simply because we've entrenched ourselves in their commercial products and given them control over content. Let youtube curate their content, I wish they'd do it more. Then maybe we will start seeing some more diversity rather than these massive silos
Not sure if anyone's mentioned this yet, but the old original Mac OSX boot screen had a progress bar that was based on the exact length of the previous boot time.
Doesn't GPL actually offer a person a freedom to study the code? Isn't it a common phenomena of rewriting GPL Linux Driver into BSD Licensed driver which will be put into mainline *BSD?

I know the case of OpenBSD 'stealing' GPL code from broadcom linux driver, but it was done by a naive kernel developer who copy-pasted the code and the maintainer who didn't bother to check the authenticity of the code. But AFAIK no GPL driver writer has a problem with the driver being rewritten into BSD licence.
That would make a great apocalypse movie.
Shift buttons were around 60 years ago, but definitely in a more... tactile form: http://i.pinimg.com/736x/fa/3a/b3/fa3ab3fe7e72bd22fffcefe748...
If you like this, the author posts a number of other 'Decoded' episodes: https://www.maizure.org/projects/
I don't go to yoga for authenticity. I enjoy the stretches and flexibility that comes from it. The endorphins are a nice side effect too. I can understand if some in India or even those around the world who practice traditional yoga or see it as a spiritual practice dislike western variants using the name yoga. Changing the name however wouldn't push me into traditional yoga. I'd still go to "Hot Core Power" class and enjoy it.
I think Uber vs the SF taxi commission is one such example.

Regulations on taxis were sold as a public safety measure but the regulators became captured by the industry.

Uber and Lyft sidestepped the regulations and prices went down, service improved dramatically, and there was no reduction in safety. (In fact, it’s likely drunk driving has gone down and improved public safety.)

In this instance, private industry is currently a better regulator than the regulators were.
it’s not.

for your first account, it is not required. once they think you are opening more than one, or they think you may be a bit, a working non-voip humber is required.

tragedy of the commons.
Bookburnings of the anarchist cookbook, obviously...
*in mice
The Gift of a Broken Bike
ThinkPad is under rather different leadership from Lenovo's consumer division that had the Superfish debacle on IdeaPads and the like. Sure, they are part of one corporation at the very top, but you don't have to go very far down the org chart before they split into separate teams and leadership.

ThinkPad is from the old IBM teams in Raleigh and Yamato. Lenovo made their own laptops before buying IBM's personal computer division, and that line (and its management) became IdeaPad.

If you're troubled by leadership that would allow Superfish (as I am), buy a ThinkPad, not an IdeaPad.

Previous discussion:

https://news.ycombinator.com/item?id=20240533
Quotes only work with attribution
So what happens once you identify as Chinese national/ Chinese business, sent some counterfeits for a bit and eventually get kicked off?

The penalty is just no longer being able to sell, nothing will happen with the products you have already sold unless a customer complains.
This just in, person who is 100 years old thinks the old ways of doing things are better
Doesn’t floatplane stream to multiple services? You have 1 system to stream to many.