skysight-inc/HackerNews huggingface dataset:
A feature like this is VERY application specific for a lot of files since you can't just take out the rendering engine and would need to usually have a third party make the software to render to web-views, whether opensource or proprietary. It's not even as if first party software is allowed to run as server. Example, psd rendering to web. AFAIK photoshop has no server license. Pretty much all services that need to render psd files use ImageMagick afaik. I looked it up and iirc. Photoshop's own api is pretty terrible to interact with and iirc licensing for servers is weird and expensive even if available.

EDIT: This comment is almost a word salad, I need to sleep lol.
Honeypot, an Alternate to Captcha
Some countries have a different kind of punishment signal. Instead of being connected to a camera and a fine system, the speed radar is linked to a red light a few hundred yards later.

You can drive at the signed speed, or you can drive over the speed limit and wait for longer at the red. It's your choice.
What stops people watching cat videos while walking around and touching their key fob against specific points?
But for the main use case you probably don't have to diff the totality of the file, just the content.

If you would simply render each version to plain text and compare them (which is a solved problem), it would already be very useful.
Hear hear. As much as I love the transformation (also living in Warsaw, also remember how difficult it used to be), all your points are spot on.
Without some optimisation, anything that’s not a Boolean, a number, a null or an undefined will involve some pointers.
It does: pointers in the V8 heap all lie within the same 4gb region. But then again, Spectre also makes ASLR much less effective.
Still better than everyone starving.
interesting! It turns out the problem is the testes can retract up to 16 inches into the body and it's a difficult procedure. In fact it says its hard to tell genders apart because of the way their penis retracts so far.

But the study of castrating 10 males work almost perfectly and they showed less aggression... in fact the females were more likely to bully and harass castrated males. So not all is lost but they are still a challenge.
What are Microservices and what are their benefits?
TL:DR: narcissistic biographer succeeds in making a biography all about himself and not the ostensible subject, Frank Lloyd Wright.

I wouldn't waste my time reading this review (even if it is written by Joyce Carol Oates) if I were you.
Sure but have they won anything under their new ownership?
Have you observed any patterns in the effects 5-MeO-DMT had on the people you administered it to? I'm particularly interested in long-term effects and long-term changes in beliefs and behaviors.

Also, what are some of the worst negative effects you've observed among the people you facilitated for?
You use the Terminators to pretend to be real people and than vote for other Terminators. You take over every country in the world without anyone noticing it even happened.
Are we perhaps the paperclip maximizer?
> If you're coding in a modern dynamic language

I see. I don't do that very much.

> As for trees, your code is a tree. Every time you're working with a nested data structure, you're working with a tree. Trees are fundamental to programming and data representation in a way hardly anything else is.

I haven't really needed to write a program to traverse my code as a tree, but I guess you're right that I must have used trees in C at some point.
Well, if we're going along these lines, it also offers the government (officials) no direct benefits to shoot the hippos, so they get to pass the buck off onto the public while saving themselves the trouble.
Or if vtables had relative offsets, rather than absolute addresses? Fuchsia is designing their ABI with that change to the Itanium ABI.
Four bits is probably too low, since you would need to fit other data into the renaining bits in order not to waste them.

The x86 is (merely) byte-addressable so a byte is the smallest piece of data that makes sense for an "object", as far as I know.
does that mean you can extend a green signal by honking too?
Top Marketing Tips for the Business Owners
Are you a software engineer? Just wondering what 'gear' you really need - as opposed to would like - to do your job.
> But I think you overstate how good it was because you look from the perspective of Warsaw (even if it's not the best part of Warsaw).

Well, it is not a Warsaw perspective but most probably any city perspective (versus rural areas).

E.g. I grew up in a 50 thousand people city and lived on a new neighborhood with blocks of flats and the edge of the city.

I had:
- small grocery store (10m away, it was next to my block of flats)
- supermarket (150m away)
- bus stop (150m away) - it was next to supermarket
- pharmacy (130m away)
- hairdresser (50m away)
- nursery (600m away)
- kindergarten (350m away)
- primary school (650m away)
- high school (1.5km away)
- church (600m away) - they didn't plan that for sure :), not sure if westerners are aware but communist were against any religion
- and a lot of green space between block of flats that was used as a playground or soccer fields by kids

And now the negatives:
- nursery was overcrowded, my younger sister couldn't get in
- supermarket/grocery didn't have a lot of stuff, e.g. coffee was sold 1 bag per person, when they got it finally.
Meet was sold for cards ("na kartki") - each person was given a certain amount of cards per month to buy certain things that were in high demand (like meat, I don't remember what else, maybe sugar, butter).

Basically you had two currencies: ordinary money and the cards.

Source: grew up in the 80ties there
> Emotionally it's a tiny bit scary. hard to focus.

These are just excuses. If you were going to get fired for not working or someone gave you a bonus of half a million for two weeks of work you’d sure as hell focus.
Unfortunately C++ created new problems like https://github.com/isocpp/CppCoreGuidelines/issues/1038. Lambdas in particular are a minefield.
I don't think anyone is having issues with "new software" being 32bit here.
The issues with lack of 32-bit support brought up in this thread already is rather:

- Adobe CS6 (last non-subscription photoshop) is 32bit.

- Office 2011 is 32-bit and paid upgrade.

- Wine (running windows apps on mac) cant run 32-bit windows apps on Catalina.
Tips for Effective Writing
Don't worry, the upper class will make the other classes consume much less of everything, if things get really bad.
Ask HN: What are your best resources for writing clean code?
Hey,
I'm in the process (after 4 years of BSc and 2 years of MSc in SE) to get serious about writing good, proper, clean code.

Colleagues have recommended Clean Code: A Handbook of Agile Software Craftsmanship and I'm very tempted to try James Koppel's coaching.

What books/resources/courses have really helped you to step up your code game?
Theoretically - yes. Practically - just imagine the logistics of that.
> My intuition is, that as long as the talk is progressing in a pleasant manner, you're inching towards your goal.

Not in my experience. Plenty of people able to progress talk in super pleasant manner without moving from their original position. Or to pleasantly promis and then conveniently forget that. Or most often, to make it sound like they agree, make vague pleasant statements that mean nothing.
Every time I see an article about new features in PHP I search the page for the "annotation" keyword. To be honest I find it a little bit puzzling that to this day a large part of the ecosystem (Symfony, Doctrine, API Platform) revolves around docblock annotations.
I accept that, but I still don't really understand the issue, which programming language can I pick where I don't need to read about what does what, I don't feel any language is intuitive per se?
Discipline and Punish – Panopticism
Bjarne Stroustrup – The Essence of C++ (2014) [video]
It's actually pretty hard to write an elegant API for C strings and have it perform well and be safe. Either you do a lot of copying, or you pass pointers around and risk use-after-free.

But perhaps the bigger problem is that consuming third-party libraries in C is so painful. It's not too bad if you stick to shipping on Linux distributions which you're sure package the libraries you depend on. Otherwise, you basically have to vendor the library manually. It is always more convenient to just write "strcpy" in a few (more) places.
> But it adds a dedicated frequency range for emergency services, so when shit hits the fan, and everybody is calling everybody, the emergency workers can still communicate.

Cool. Now if only Verizon's commercials were about that, and not claiming that the short-distance part of the network is going to revolutionize emergency services on an everyday basis.

But the fast part is what they want to advertise, so who cares about accuracy.
View is the V in MVC. A small library to include in your small MVC-PHP projects
People really hate the idea of pay-as-you-go for online information. It's not just about pricing, it's about monitoring. You would need a central or aggregated service so could see your costs in real time, otherwise people would be getting huge bills at the end of the month.
> So, let's cave in to peer pressure or management dictates and continue down the wrong path (technically/socially)?

Seems like a very unfair restatement of what the author said. I would read that as "it's more important that everyone has a common understanding of what you are building than it is to spend time worrying about whether you have the exactly perfect goal."

Or to phrase it another way: if the understanding of the product isn't clear across the whole team, it doesn't matter if any one individual has a bunch of brilliant ideas for/about the product, because you aren't all working towards the same goal.
Show HN: Simple Web based configuration generator for WireGuard
I'm probably too cynical, but I also expect anything agricultural in the USA to be fake, including much of the "organic".
That's different. When you do a four day week it should be same hours, eg 40 hour week is 5 X 8 hour days or 4 X 10 hour days. Giving people a holiday and then expecting them to make that time up during the rest of the week is ridiculous.
S/he was ironic. All the people study at home without any problem.
Boredom is underrated.
> In principle you might be right but it only works if there is an archivist who maintains the archive by repeatedly copying the content to new storage systems and distributing the results.

In the long run, the same is true of print books. The advantage of digital media is that copying is infinitely less expensive.
I organize LAN for my friend group (from 10 to 16 people). We play mostly CS:GO and UT2004. We tried Xonotic but it didn't catch on. Sometimes we play OverWatch, but the 6 players limit hurt. Also Aoe2 and War3 when we are in a RTS mood. I would love to find a fun car game (something in the vein of Burnout 3). I tried to introduce SuperTuxCard, but my picky friends didn't like it. We are not into moba, nor battle royal game. Any recommendations worth looking?
> So, let's cave in to peer pressure or management dictates and continue down the wrong path (technically/socially)?

That's misalignment :)
> Barring sources like steam methane reformation from landfill-reclaimed methane

You got this reversed: as a general purpose energy carrier, methane is far more useful than hydrogen. Because it is so much easier to handle (as you said), and because so much infrastructure is already in place.

But you can't produce methane from surplus electricity without having hydrogen as an intermediate step. All this talk about hydrogen is just about skipping the inefficient methanization step. Methanization would also have a hard scaling limit in how much concentrated CO2 can be captured. Ambient concentrations are far too low for methanization and carbon fuel applications like aerospace won't ever be able to capture.
I could do this in my spare time yet I play piano.
I'd offer that the "alignment" is substantially a function of the management/leadership on display.
Don't worry about the parent's excessive negativity. Fast compilation time is a huge and underappreciated benefit. As for abstraction... I personally disagree with some of your conclusions as well, but I also recognize it's a fundamentally subjective topic. After all, how easy something is to understand depends on who is trying to understand it. Different people have different preferences and are familiar with different coding patterns.
EDRi's Guide to Ethical Web Development [pdf]
Sure, but in employment post salary negotiation your only (or at least biggest) big stick is leaving. For many people that's a... double edged stick, to stretch the analogy.

There's not many sticks to emolpy unless you're unionised or otherwise have strong networking in the company.
I'm a bit out of the subject, but are you telling that in the US you're not free to grow vegetation on your yard however you like ?
Mine is with God. If you actually believe in an all-powerful higher being, it's strange to not leverage on that.

I believe all wealth, knowledge, and safety comes from God, and the rest of the world is just the medium for it. So I try to not focus too much on financial planning, interview skills, trying to extract as much as possible from a job/client, or things like negotiation. I think these things will come; just focus on producing as much value as possible in this world.

I also try to avoid luxury and bragging. It's tempting for some to flex what they can offer, or enjoy what they earned. I'm reminded of the early Caliphs, who would turn down gifts from other sovereigns and take as little salary as possible, and donated all they had, because they didn't want to be held accountable for abusing their leadership role.

It sounds like a tough, monastic life, but maybe it's just a culture not many grow up in.

What if you could be happier on as little as possible, and feel secure? What if you didn't have to impress anyone? What if someone similar can be more successful, and you could sincerely feel happy for them? What if you could just go out there and help a complete stranger, and never ask for anything in return? Or just give away all your savings, because you can expect God to bring you more?

I'm not sure if happiness is the word for it, but there is a sense of peace and comfort.
How do you plan to prevent abuse and fraud? This seems like it could attract a great amount of misuse.

And to follow up with that, do the carriers know what you're doing? The reasoning behind SIM cards is it is a hardware security device not unlike a payment card such as a physical debit card that ensures someone has to have the actual device to access the network. This service seems to disagree with that notion.
The irony here, is that Drew jokes about how Dropbox is going to solve these ridiculous file name versioning convention with their product in their famous YC application:

> Please tell us something surprising or amusing that one of you has discovered.
(The answer need not be related to your project.)

> The ridiculous things people name their documents to do versioning, like "proposal v2 good revised NEW 11-15-06.doc", continue to crack me up.

https://www.ycombinator.com/apply/dropbox

And yet here we are a decade and change later and Dropbox, while having solved "a" problem, sits like a ridiculous behemoth leaving it's users hungry for so many other pain points to be addressed by another savior, including especially this one problem they said they're gonna solve.
Separate Data Access Layer with TypeScript Powered MicroServices
When speaking about "competitiveness", what measures aside from current account balance and share of global exports is better suited?

Not to be snarky, but you can't do any reading in economics about competitiveness and not encounter the current account balance (which is exports - imports): https://www.economicshelp.org/blog/6701/trade/importance-of-...
For similar reason why loops are useful even though we could just jump to addresses.
> Peak productivity for most software engineers happens closer to 2 hours a day of work than 8 hours.

Is it possible to improve this by training? For example if I'm productive 2 hours and force myself to be productive 10-30 more minutes each day for a number of days and when I'm comfortable with 2:30 hours of productivity, force myself to be productive for 30 more minutes.
Would this eventually lead to 8 productive hours? Or is burnout (or another complication) a more likely outcome? Has anyone tried this?
Sounds like a fun project in the context of a moving GC :)
Probably because the bottle collectors don't want to spend the money they get on overpriced luxury stuff, so they prefer the discount store where the prices are better.
News like this keep increasing the overall “background depression”, making it hard to really be happy in this world even if our own lives are perfect.

Human society really needs to acknowledge and embrace that we are connected to all life beyond our concrete bubbles.
> Hydrogen is one of several ways to store energy and if we nail cheap & clean mass production, it becomes a very useful source of energy for all sorts of things.

If we’re talking about long-term storage, hydrogen is nearly the only option available. Alternatives would be ideas like synfuels or ammonia (which both use H2 as a feedstock). You need the high energy densities of chemical fuels for this purpose. Something that other ideas, like pumped hydro or compress air, sorely lack.
Amazing. I've avoided work in the public sector because I thought I wouldn't accomplish anything. But this is a great example of how to be impactful in such a job.
That would mean the entire process would be limited to 4GB of ram which is pretty awful considering multiple Javascript VMs run in the same process which could have 4GB of memory each. That way the RAM limit is significantly below 4GB per application.
The measure becomes the mark.

If touching points is all that's required, then that's all that will get done. The neural nets of all employees will eventually become trained to touch the points and not do the actual work you desire.

In the case of a security guard the 'real' job is to catalogue all things 'out of place' and then react if necessary.
Cars are one thing, but the communist urban planning was something more than just that. Since you had a government build everything, it was built with citizens in mind, not maximalisation of the property value.

Right now, modern buildings happen when a developer buys a piece of land, and tries to squeeze the maximum amount of apartments on that space. In 1980s, the government built a whole neighborhood of 30-80k people from scratch, and the priority was quality of life for people inside.

(Obviously, the times were rough back then, the old buildings are not as good in quality, but the thing most people agree with is that urban-planning was way better)
Huh, I have just been looking to get some legal advice and this seems like exactly the kind of service I'd want to use. Shame it's shutting down.

Does anybody know similar services?
As much good time with people I love.

After thinking long and hard about this very question a few years ago, this is the utility function I decided on.

Good time - this isn't just about fun and games. This is about making time and being present for the most banal moments.
People I love - that includes family, and friends, and also me. This means that if an activity is making me feel alive, I will do it, even if other payoffs may be elusive to nonexistent.

This segues nicely into people I don't know, because I think one form of care is teaching others what you know. So I spend a fair bit of time writing stuff I don't have to write, with no other personal benefit to me other than maybe helping other people get to that endpoint a bit faster. (I might gain some residual benefit as being perceived as a domain expert, but you could achieve that with zero-calorie social media posts as well, instead of investing all this time writing articles).

Like any utility function, this one comes with costs. For one, I'm probably not maximizing my earnings potential, and I often have to remind myself that making more isn't a value in its own right.

For sure, I don't always live up to my lofty goals. All the same, I find a succinct utility function helps serve as a compass for a lot of the decisions on how to spend time.
Responsive photography on the web–the right way
there isn't enough land to not build at least multi-story appartments.

Appartment coops might be the way forward, but "I, by myself, own the piece of land under my feet" will naturally generate the same problems as landlords do in big cities.

At the very least shared ownership should become more common
> Writing non-trivial software that is correct (for any meaningful definition of correct) is beyond the current capabilities of the human species.

I think it's worse than this: Defining correctness for any nontrivial system to the level of detail required by software is beyond the capabilities of any human or group of humans operating to a deadline. The only way to get there is to pare down the scope such that physically possible things are defined to be out of said scope, such that the system punts and relies on humans to figure it out.

This has implications for job automation.

> Thinking about things is a massively valuable and underutilized skill. Most people are trained to not apply this skill.

Attempting to prove yourself wrong is a massively valuable and underutilized skill. If you get a theory, develop a test which the theory is vulnerable to, such that if the test comes out a certain way the theory is disproven, and then run that test. Some people seem unable, or unwilling, to think like that.

This has implications for software testing. It has implications for all kinds of testing.
Stopping say thrips or aphids eating a horticultural crop somehow removes a species, which then usually has a chain effect? Can you show me some scientific literature where this is typically the case?

Personally I don't research these 'chain effects' in depth as it's well outside my area of expertise. There are however many research groups and government agencies looking at ecological impacts of crop protection measures. Some of their presentations are in the link I provided. As scientists, we collaborate on these kinds of things.
> So why isn't this built directly into Dropbox, Google Docs, and Microsoft Office?

macOS includes a built-in version history since OSX Leopard. Sadly the flashy version UI with 3D effects is not the best to find differences and many programs doesn’t use the native frameworks that bring this feature (e.g MS apps, Adobe apps)
Obviously, this post is not about "calculus" but about lambda-calculus.
You can tell by body language normally. There's a kind of look when someone is off thinking about other things, and there's another kind of look when they're listening to every word.
Awesome Engineering Team Management