skysight-inc/HackerNews huggingface dataset:
If sales increase when it is thinner, it stands to reason that customers want thinner devices.

Just because you disagree with them doesn’t mean you’re not wrong for saying there is zero disadvantage. The disadvantage is not giving customers what they want.
This reminds me of the airbag for cyclists that's designed to replace your helmet: https://www.youtube.com/watch?v=qjygqMULVmw

It's a cool concept, but at €299 I'd rather just use a normal helmet.
> Federation is cool.

I don't want to undermine the hard work of other people, but for the sake of completeness, know that federation has its critics on the decentralization scene.

I discovered that around the ssb community a couple weeks ago, the argument being that in federation model, people always end up choosing the same node, be it because it has more users (like diasp.org for diaspora) or nicer interface (like gmail for smtp), and it just ends up in centralization again. Here is an article discussing it : https://secushare.org/federation

The alternative is to forget about the client/server model entirely, and have distributed database hosted by clients and synchronized through p2p. Secure Scuttlebutt (ssb) is an attempt at that, through the gossip protocol ( https://en.wikipedia.org/wiki/Gossip_protocol ). The idea being that clients can synchronize with each other directly, even without the internet, using only local network, and transport encrypted data meant for other people (so the data propagates).

From what I understand so far, ssb makes this possible by implementing a database inspired by blockchains : each user has its own append-only database on which you can add an encrypted entry only by signing them with a private key, that people can verify and decrypt using your public key (and their secret key, if it was a private message meant for them).

The networking part still use federated-like nodes (actually regular clients, but running on hosts without firewall) to workaround the fact that most people are behind firewalled NAT and can't listen to ports. The important part here is that one of those nodes (called "pub") can disappear, it won't affect you, even if you first accessed the network using it : your data is on your machine, the pub only help finding peers and can be replaced at any moment (you quickly discover other pubs after the first one), and even is not needed if your peers are on the same local network than you (perfect tool for a family private social network, btw).

Now, while I find ssb cool and that's the project I want to work on, I find secushare article I mentioned above unnecessarily harsh and definitive. A problem has been spotted on in the federation model, it doesn't mean it can't find any solution. For example, a protocol based on federation can forcibly limit the number of users per node (although, the service could just spawn several nodes), or an other incentive for distribution could be created. I'm pretty sure there are a lot of smart people working on this.
Hacking around the ORM should be a question of:

query.SQL("my complex query here")

If it's not, your ORM is broken and you should write a new one (they're really not that complex).
Maybe they snub it sometimes but I was able to have a 2 year old iPhone replaced under this rule (the camera padding had drifted across close to the front lens).

I believe the rule here in Ireland is that defects that were present as a result of the initial engineering are covered for more years, but not wear and tear or anything that would fail due to use specifically.
My particular cases are with various implementations of hash maps and ordered maps that I switch, for instance std::{unordered_,}map, boost::flat_map, pubby::flat_map, tsl::hopscotch_map, ska::flat_hash_map, and a few others.
> There is a riduculous repetitiveness about this debate. For me and many others, Linux on a laptop has always been unstable, insecure, hot and noisy.

> Will we ever get out of this unproductive loop of claims and counter claims...

Sounds like a no.
ORMs are really only useful for throwaway projects and beginners. I have yet to see one without serious downsides in both performance and speed of development, something that they are touted to improve but actually make worse. The ORM I'm stuck with now (Doctrine2) adds a 10x overhead to queries. For the most part, we don't even bother optimizing queries in such situations because why waste time on something that could at most improve performance by 1/10th? The real fix is to get rid of the ORM. That requires a rewrite of two apps that have been in development for four years each. I can't think of a worse architectural decision for business (CRUD) software than using an ORM. Irreversible and forever fucked.
What Happens If SSL Certificate Expires?
This is exactly how the XMPP network is made and how the social features that we are building around are designed :) You use the same XMPP account to login to different instances and everything is synchronized from the server your account is on.

You can try it on https://movim.eu/, we propose several instances across the world and you can login with the same account between them (it's still better to pick the one that are geographically closer to you to have a quicker load time).
It's likely in my opinion that the idea of objectivity in media is meaningless..

The issue is why were you reporting that issue at all.

There is a wonderful blog post by Ron Unz on this:

https://www.unz.com/runz/our-american-pravda/

Of course Mr Unz is involved in diabolism if you believe in the chart.
It's to avoid showing the server names to the public on some IRC networks for various reasons including security through (some) obscurity.
> It can check whether the operands will cause overflow and issue an error instead of silently giving a bogus result.

Yes, and it could also decide to wipe your hard drive because of the latitude given to it by the C standard. Many compilers have an option to enable some sort of special behavior when a signed integer overflows, but such extensions are non-standard.
A Guide for Mastering Intranet Content Management and Strategy
My full frame RX1Rii shoots 20+MP raw just fine onto micro SD.
Point taken; unfortunately I can't edit anymore…
That discussion expectedly devolves quickly into whether or not it is okay to deduct the fee from the tip. I would normally be on the server's side, but in this case the server could have avoided the confusion by simply telling the patron about the fee from the beginning. Had he/she done that from the get-go, then deducting the fee from the tip would be ridiculous (in fact not paying it at all would be ridiculous, since the patron would have been aware of it from the beginning). But if the server doesn't do that, that I honestly have little sympathy if the tip were to take the hit.

That said of course the first step should be to raise hell to management right there on the floor so that all other patrons hear as well. And the maybe the 0th step should be to not support establishments such as these (though that won't save you the first time if you don't know about these shenanigans).
Just wondering if the morning headaches are caffeine withdrawal. This commonly causes headaches.
That’s not remotely true. I shoot all kinds of video and record audio onto micro SD.
Even if you get 1 hit / day and that takes a long time to return, the ORM has failed your one customer. Inefficiency exists even at small scales with ORMs. If your developers don't know how to write SQL, let them learn. Or fire them if they won't.
> ORM makes it much harder to see what is going on under the hood

I've never in the last 20+ years seen an ORM that doesn't allow you to log the SQL queries with a single configuration option.
I think one of the problems with SQL queries is that as far as your application is concerned they are just strings. There's no typing information or even syntax checking. Also if you do something like 'select * from' then there the results returned aren't deterministic.

If you scatter these throughout your code and then the database schema changes, you have a hell of a refactoring job to make sure everything still works. One advantage of an Orm is that if you keep your objects in line with your database the generated sql will stay correct.

Personally, I am more than happy to take that hit. I think it is a price well worth paying in order to have optimised queries that do exactly what I what them to do. To make it easier for myself though I will always try to keep my queries in one place in the code. Then all my code needs to know is it is getting clients_older_than(32) or whatever..
I get around 10 hours with my Asus Zenbook UX430U.
Show HN: Shotsnapp – Create beautiful device mockup presentation
The Zillow home affordability tool[0] was helpful to shape my thinking about what is "affordable" at a certain salary. Even if you are super conservative you could afford a place up to $1 million on that salary assuming you have the discipline to save for the 20% down payment.

[0] https://www.zillow.com/mortgage-calculator/house-affordabili...
On a somewhat similar note, hostels in Scandinavia (at least Norway and Sweden) generally always charge for pillowcase & sheet rental (a few euros), which are mandatory. They also don't allow any external sheets or sleeping bags for hygiene reasons.
i would love to participate in this discussion. unfortunately i cannot, because although i do not have to complain about money, unfortunately my financial situation is not so amazing it would be smart to throw away money on a NYT subscription.
Hello everyone! Here is a simple tool I've been working on for the past few weeks. It's a simple tool for you to generate device mockup presentation for your design. You can use it to generate image for social media posts, Dribble shots, share design with your teammates and many more!

For now it comes with phones and browser template - more coming soon! It should be easy enough to use. Looking forward to get comments and feedbacks from all of you!
You can avoid SQL injection. It makes it harder to shoot yourself in the foot, though still possible to inject if your prepared statement includes a string interpolated variable.
That's a documentation/sanitization problem, rather than a one involving the question of whether this program is well-formed. My response was that it is, given the input obeys the rules you've stated. How you enforce that is a different concern (or whether you dislike the preconditions and think this code could be more robust and have a wider domain, because it certainly could).
No more than when I moved here nearly 20 years ago, really. There's more pressure on people (financial crash, austerity nonsense, etc.) but on the whole it seems fairly similar to me.
I liked the following analogy:

Recruiters are like pimps, but without the morals
And pimps usually dress better.
Almost certainly under copyright.
I'm on the whole pretty happy with Windows, but I've never understood how they can consistently fail to deliver a working easy to use backup solution out of the box for decades. Mere incompetence shouldn't be able to deliver such terrible implementations, it's almost like they're actively trying to fuck it up.
Wouldn't it just be better to invert the relation (sic) between App-ORM and DB, and have everyone better understand what data modelling and a DBMS is, then write SQL and some reverse-ORM to expose App services in SQL?

E.g.
EXPOSE SERVICE(REST, GraphQL) BillOfMaterials (VARCHAR arg) AS (SELECT ... WHERE ... = arg etc.)
You drop more weight just going to the bathroom in the morning. I find it extremely hard to believe that a few pounds makes a difference to any physically capable adult.
They're right though, and you must not be pushing any kind of sensitive boundary to think it's not an authoritarian state.

Which town are you from? In the countryside there are hilarious Big Brother style posters on houses promoting civil obedience. People don't think it's strange at all, of course they're not going to recognise the depths of their repression unless they're educated and well traveled.
Java 11 feature (JEP 330): run single-file programs directly without compiling
To enable the commit-graph feature in your repository, run git config core.commitGraph true. Then, you can update your commit-graph file by running

‘git show-ref -s | git commit-graph write —stdin-commits'

how do you automatically update this?
Isn't the trusted third party the problem in this case? The original comment was about banks not properly securing PII.

Not seeing how a public database fixes this, but the banks and big business disdain for security of other people's data is certainly a problem no matter the country.
That sounds really good. Do the algorithms generalize to other tunings, like for instance seven-limit just intonation?

(For an example: https://www.youtube.com/watch?v=yG69xptl1Bc&t=260s)
If you need it $4 is not that expensive.
I feel the same way. There need to more options to waste management. I don't want to feel obligated to sort out trash. Take my trash, sort it out and bill me.

This is insanity on stilts.
Common Lisp (CL) as a language is highly dynamic. However the typical implementation is incrementally AOT compiled (when you define a function, it is compiled, but you can redefine functions with few limitations).

CL as a language is essentially untyped[1], but does provide some provision for type hints in the standard. Some implementations extend this to the point where they can generate code as efficient as a typed language. Most implementations can also use these to detect some fraction of type errors when compiling.

Some features in lisp were designed with less flexibility to allow for improved performance while others with flexibility at the expense of performance.

I can't imagine how anyone could ever consider CL to be a static language without horribly misunderstanding the term, the language, or both.

1: You can declare types of variables, but the specification clearly intends this to be for optimization purposes: "
Type declarations present in the compilation environment must accurately describe the corresponding values at run time;..." the fact that some implementations use these type hints for more does not IMO change the nature of the language.
Nice and easy tool to compose royalty free music this is valuable nowadays. Thank you for providing it.
> Inefficiency exists even at small scales with ORMs

ORMs are not inherently inefficient. And in my time I have seen plenty of n+1 style queries written with raw SQL.
We can’t know that.

There would have to be two otherwise identical devices, one thick; more robust; larger battery.
This is govt monopoly btw, not some private monopoly like Google (which is earned and can go away).
That was my question as well, we must be missing something.
Working with Unix-Servers every day i still would struggle with a Linux Machine. Tried it in the past and getting things to work wasn't a problem at all.

But
1) i have to admit that i like all this full aluminum fuckery (shame on me)
2) MacOS is for me more "batteries included" then any Unix-Flavor. Yes there a often alternatives on Linux, still i really like to get my shit done quick and easy with tools like preview for example.
3) Better Tools on MacOS: There is some great stuff out there which help me in every way. Alfred, MailMate, MoneyMoney, Postico, Royal TSX, Paw, ... good looking, functional tools. And still i can use all the great command line tools out of the linux world (vim/emacs, bash/zsh, compiler tools, ranger for filenavigation, ...).

I just hope Apple gets their shit together.
Doing TDD in Python every day. Done that with other languages in the past and can't see any difference, so I'm curious to understand why you have this feeling.
Having lived in Berlin for ten years, I can say with certainty that wages there are less than half equivalents in our industry in the US, and income taxes are much higher. Cost of living in some places, like Berlin, is lower (for now), but that only matters if you intend to be a low income earner over your career. I would rather have 50% higher expenses and 100-300% higher income, myself.

There’s more to lifelong financial planning than “can I afford house payments?”.
Relevant Kurzgesagt video on overpopulation: https://youtu.be/QsBT5EQt348

I learnt about the overpopulation myth during my undergrad, but I'm continuously surprised by how many people (including Thanos) didn't know this.

Edit: Here's a chart of expected population growths. It's expected to start slowing down[1]

[1]: Select WORLD from the menu: https://esa.un.org/unpd/wpp/Graphs/Probabilistic/POP/TOT/
> Solving it by using auto all over and rotating header files, now that is the part that is simply indefensibly bad. It leaves a codebase where nobody can reason locally about any types, because they would be compile-time dependent on which headers you choose, which is insane.

I feel that you are overreacting a bit.
One of my use cases, for instance, is : https://github.com/OSSIA/libossia/blob/master/OSSIA/ossia/de...

The software I work on performs sometimes up to ~25% better with flat_hash_map - some projects I worked on (as an user of the software) would simply not have been feasible without it or a similar container. Would you seriously consider replacing your map implementation with a variant, or worse, inheritance which forces you to heap allocate and have an additional indirection ? That would be literal madness here, where I'm fighting to make a tick function run in 15 microseconds instead of 20.

The theoretically cleanest solution would of course be to make the whole codebase generic on Map_T. I hope that you see why this is not optimal in C++ when you have ~100 unit test executables - each test will literally need to recompile the whole stuff.

> Accidentally make one local variable non-auto by annotating a specific type, and suddenly it works with one set of headers but fails indecipherably with a different set.

Except it does not because the types conform to the same concepts.
> If sales increase when it is thinner, it stands to reason that customers want thinner devices.

This isn't something that can be A/B tested when there's only one (thinner) offering. People "need" to upgrade their devices and will ultimately buy and put up with the newer model even it means trading a decent keyboard, potentially better battery life, or a headphone jack.
I'm impressed that people didn't mention https://www.gnu.org/software/libjit/ it's a small well designed library with a very good interpreter.
I wish more people put some effort on improving it and all of us could benefit form it without reinventing the whell again and again.
What bugs? I haven't had a hardware problem in linux since 2005.

I do have a problem reading visio files though. I have a solution, I tell them to f-off and send me a pdf if they want my views.
I've never experienced that at any hotel in Norway or Sweden. That sounds more like a charge you would expect in a hostel.
Why is shuffling between conference rooms so arduous?

When did people become so weak as to not be able to carry a few pounds (or even ounces) between rooms? That's not a good thing and arguing about such little weight is indicative of much bigger health problems than any laptop design issues.
Doing Vue after three years with React
Heck, I'm disappointed in any ORM that doesn't log queries by default in development mode!
Especially in cases when it doesn't need to be thinner. I just tried out a Apple Magic Keyboard, which is a razor blade for some reason, and had wrist pain within a few hours of using it. Everybody's different, but this keyboard is trash. It is designed solely to look pretty in marketing photos.

I'm not a keyboard snob. I don't need Cherry MX Blue's to be happy. I thought the Apple Wireless Keyboard (with the AA batteries) was probably a step in the wrong direction, but still fine to type on. But this is quite literally painfully bad. And there was no reason for it, it's not a portable product, it doesn't have heat sinks, screens, fast processors, etc. It's just a keyboard, it would be fine if it's 2mm thicker. Actually it would be better.

It's a keyboard. It's for typing. Come on.
While I find this sort of demo very impressive I must confess to find little art in it and I'd compare the experience to reading a long sentence which is very tiring with no excitement or tension and one's wondering if there's ever going to be a point to it or whether it's just going to fizzle out and one's left with the unsatisfactory feeling of having experienced nothing.
> For me and many others, Linux on a laptop has always been unstable, insecure, hot and noisy.

I've successfully converted many people with similar claims over to Linux and here's what I've found; most of them were trying Linux on a subpar, non-standard laptop, (Like an old MacBook or a slow Celeron), to lower their investment if they don't like it, which is fine, but then comparing the experience to their high end MBP running macOS, (try installing macOS to the same set of low-end machines most try to put Linux on, see how that goes). All it took is for them to get good, solid hardware, (like a recent Intel stack, or a Ryzen with a GPU compatible with the AMDGPU driver), and all was good. Not saying that is your case, but it is shockingly common, which is unfair to Linux, I'd say.
You're right. It's more about production than consumption. I think there should be more standardized way of producing waste, in terms of material, shape and size.
Nice, but a complete rip-off of the look and feel of the Cathode app, who did it first, a decade or more before.
After tax I take home $22k. House prices in my area are ~$600k. Your anxiety is hilariously misplaced.
I'm not sure what you consider the suburbs but I'm confident you could find that same situation or better so long as you looked at medium size and smaller cities or towns in the US.
Whenever I interview someone I explain what Full Stack means to me.
As a small team we have to support the full stack of development.
That means

* provisioning and updating servers
* installing and configuring software on those servers
* keeping server system software up to date (Apache/MySql/Php/etc)
* maintaining and developing custom frameworks
* writing all the admin tooling for getting sites up and running and configured
* working in our backends including writing queries
* designing databases and migrations
* maintaining deployment of new code and version control
* setting up build systems for our apps
* designing frontend systems (how they use api's, deployment of them, stores, etc..)
* writing components and styling them

and that is just the web stuff. Not including the VR/AR/App stuff we get tasked with building.

While I am a Senior/Team Lead and don't expect people to be experts in all of that stuff, debugging requires at least being willing to take on any of that.

The author seems to think that just frontend development requires all your mental capacity. I really don't want this to come off as me being arrogant but feel very confident in my skills in everything he described AND I do all of the above web stuff and more. I also manage a team and meetings and timelines and quotes and resourcing and sales questions etc... It's not that hard. And I know I am not a 10x or 100x dev (maybe 2-3x)
Apparently you need to broaden your horizons.

https://www.ptc.com/en/products/developer-tools/objectada

https://www.ghs.com/products/AdaMULTI_IDE.html

https://www.mikroe.com

http://www.astrobe.com/default.htm

http://www.microej.com

https://www.aicas.com/cms/

Just a couple of examples from many more, after all I don't want to overflow you with information.
ln -s, or alias it
What problem does this solve? Prevent aluminium dents? I've dropped my unprotected phone so many times I don't even know how people manage to damage their screens.
Thinking about a change in country in a year or two and Germany comes up a lot. How is the cycling infrastructure? I understand it's not great compared to NL or DK but worlds better than where I am now (Ireland) and obviously incomparable to the disaster that is US bike infrastructure.