skysight-inc/HackerNews huggingface dataset:
> That's why we get small print saying things like "screens are simulated" and "not actual size" and "while supplies last" or "at participating stores only" -- because without those disclaimers, we should be able to rely on statements about prices, promotions and availability.

If they'd advertise a can for 99ct and make a can look like 1l when it is in fact only 0.5l you could reasonably say that one could've expected 1l cans - these cans exist and this would not be out of the ordinary, even though a bit cheaper than usual. If the can in the advertisement would be the size of a truck, it would be hard to argue that you really thought you would get that for 99ct.

If they offer something that is a) very rare, b) insanely expensive and c) not allowed to be owned by a private person, I find it very hard to argue that one could reasonably think this is an actual offer.

I agree with you that we should not give companies endless leeway to deceive customers, but let's not discard common sense.
> They would chase a story not because it was profitable, but because it was important

They operated the same way they do now, and worked on whatever their bosses told them to work on. It's just romantic to think they were unburdened by our mortal contrivances and somehow had the wherewithal to pick out "important" stories.
If the ad was a contractual offer to sell a Harrier jet, it would be generally governed by the UCC, not by basic contract law.
TL is very unevenly used, and mainly where nobody has already staked a claim as to how old the thing is. Proving senior investigators wrong is a good way to interfere with getting tenure. After they retire is considered a better time to find out if they were right.
Pro tip #1: Just read Claim 1, to get the gist. That doesn't suffice for a serious analysis, of course, but it pretty well tells you what the patent is about.

Generally, these are about two or more output devices (speakers?) coordinating with each other. There might be dependent claims about waving your phone around, but I didn't read that far.

Pro tip #2: the priority date(s). These seem to be 2003, 2004, and 2006. Those were all well within the internet era. So if you think "everyone was doing that!" you have to prove it with prior art before those dates. You can be certain the tech advisors in Patent Litigation have been trying to do that.
> You can speak of "hard realtime" but all of this stuff works just fine in a polled fashion

Erm, hard real time quite often is purely polled.

Interrupts introduce a lot of non-determinism that polling completely sidesteps.
Let's write a compiler, part 2: A lexer
Yes, but journalists are usually journalist because they WANT to be journalists. Local journalism pays rates that make teachers look like kings, and local journalists routinely put in 60-80 hours of work a week. It's a job that requires passion, because there are far more of them who are making under minimum wage at an hourly rate than there are who are making six figures.
Paperspace (YC W15) is hiring developers to build the future of MLOps
Underneath this is the hard truth that streaming is hard and costly. I've run into many people with optimistic dreams around how to take an SQL or other query languages and then make it update based on data changes rather than periodic polling.

These systems are always expensive and yield marginal improvements when compared to a dumb publish subscribe system. I've got notes on publish subscribe systems, and I am publishing a paper next month about the end result system that I built over five years. For a clue about the midpoint, my SRECON talk addresses this: https://www.usenix.org/conference/srecon17americas/program/p...

A key note is that publish/subscribe over-commits the problem space (i.e. the problem space can potentially be quadratic depending on use), but if you give up on durability then your costs can go way-way-way down.

The lack of durability is a problem, BUT it can be leveraged to discover non-marginal use-cases such that further investments make sense. Unfortunately, once you invest in the imperfect system such that it operates at five+ nines during normal operation, then very few query based systems are competitive.
Best that I've read: I Claudius, by Robert Graves.
Yes if you have a way of using generated hydrogen effectively. No idea how easy is to regulate the speed of reaction.

It might be preferable to make aluminium-air battery instead.
https://www.youtube.com/watch?v=1ExuhMrnQSw
I categorically approve of optimism.

Believing that we'll have a future worth fighting for is like Pascal's Wager. If we're wrong, we won't be around to care. And pessimism isn't very constructive. Or fun.

Missing from his list is improvements is governance. It's so weird that "technologists" rarely even think about collaborative decision making. When in fact it's one of our most important technologies.

To cite one recent exciting example. Project Warp Speed betting on a portfolio of potential vaccines. Applying the smarts of NPV towards policy goals. Whereas other nations pre-picked winners, like most procurement is traditionally done.

Such a high visibility success will lead to wider adoption of better risk management strategies.

Adjacent is Musk's $100m X-Prize bet for carbon capture. So great. For future, some sizeable fraction of all R&D should be done like this.

> Optimism is not utopian. It’s protopian -- a slow march toward incremental betterment.

So much cringe. The jargon spewing technophilia of Mondo 2000, Wired, Kevin Kelly, Jaron Lanier, so many others was tired in the 1990s. (Remember "Tired vs Wired"? Gag.)
You pay them $70k instead of $150k
Just because you’ve been exposed, doesn’t mean you are immune.

Just because you’ve been vaccinated doesn’t mean you’re immune.

Tests have false readings, both positive and negative.

Tests are a point-in-time thing. They don’t tell you anything useful about what happens if you get exposed five minutes or five days after the test. Or, if your infection wasn’t far enough along to be detected. So, you have to keep taking them.

There are no panaceas.

But there are measures you can take to reduce your risk of infection, and to reduce the likely severity of infection if you do have a breakthrough.

They seem to be failing to recognize the difference, and failing to even bother to try reducing the risk.
So why didn't the driver close the 'falcon wing' door in the first place?
This interface style where there are no visible edges and where control surfaces are entirely indistinct is considered the gold standard today, unfortunately.
Top Python Libraries for Machine Learning
Google's Zanzibar claims a P95 latency of 10 milliseconds, by the way.
This is how Figma does it
Pkgupdate, an OpenBSD script to update packages fast
pkgupdate is a simple shell script meant for OpenBSD users of the stable branchs (people following releases) to easily keep their packages up to date.
This is a response to part of your comment before you deleted and re-commented. I just thought it was an interesting point to add, and your comment helps give it some context.

> [...] I always thought the only necessary initial conditions were position and velocity or position and momentum, a case is presented where that doesn't happen. It's implied in the exposition of Hamiltonian mechanics that those are the only variables that describe a particle at a point in time, and that's how it is treated in computational simulations.

There's usually an implicit assumption that the functions you're dealing with are sufficiently smooth (differentiable as much as you want at all points). In Norton's dome, the derivative of the height of the surface (the slope) does not exist at r=0 because d/dr sqrt(r) = 1/(2sqrt(r)).
perl -E 'opendir(my $d,".");say while readdir $d'
Flutter is great, but I don't recommend going down the state management rabbit hole. Some solutions take something that is fast, productive and fun, and turn it into something that is overengineered.
Because you can only sell the house once. So given an appropriate asking price, the first acceptable offer is as good as the next 10. (If your realtor is any good, the price will be close to the true market value anyway, or priced appropriately considering trade-offs, like closing quickly.)

If you can get that offer without the hassle of showing the house to a thousand strangers, and having random people stopping and peeping through your window, then why not?

Another common occurrence is accepting an offer below certain known loan limits. If you know you want to get approx the local limit for a jumbo loan, then accepting a price slightly over that limit comes at the cost of fewer potential buyers, or offers that have to back out because they couldn't get financing approved. So the rational choice might be accepting the lower offer, instead of slightly higher with more hassle/risk.
Nope sadly. I want proper full text search with fault tolerance, like meilli and co provide, but it comes down to my own integration.

No nice integrations like hasura-backend-plus and combines hasura with minio/s3 and authentication service.
Makes me think that findfirst and findnext were not that bad after all.
Amazon’s New World is shaping up to be Big Tech’s first video game hit
Do you push for good engineering practices at your job, even when they go beyond the quarterly business goals? I know I do.

It doesn't have to be just one or the other. You can have principles and push for what you believe to be good, even if your boss is ultimately profit-driven (even if you have some profit-incentive of your own!). Multiple factors come together. It's incredibly cynical of you to paint that sort of basic integrity as nothing but a romantic fantasy.

What I feel like I'm seeing today is that people are either less willing or less able to enact higher principles in their work. It could very possibly be a power-dynamic thing, or it could just be the spread of general cynicism like yours.
Great question. Initially we have focused on the Python ecosystem but we certainly don't want to stop there. Jupyterlab (which we have integrated support for) claims to support 100+ languages. While our infrastructure code is written in Python, we present a CLI which is language-agnostic. We depend on Docker to virtualize the environment, but again that is not tied to Python.

If somebody wants to do some coding and testing of non-Python languages, we would certainly support the effort as best we can.
Don DeLillo, Libra should be in there somewhere, I think.
Do we have anything for IPv4 similar to AMD64?

Or are we forever stuck with either going all in to IPv6 or the current hybrid?
It’s not “ls -1” but “--sort=none” or “-U”.
> Python3 program which hasn't crashed at some point due to me mixing-up string/bytes

Not sure what that even is, but I'd point out that dynamically-typed ≠ Python. In particular, the "hash languages" (Python, Ruby, JavaScript) seem to make it particularly easy to make a hash of things, but not due to the dynamic typing.

I've never had that problem with NSString and NSData. They are quite distinct.

> Python3 ... crunching numbers ... map instead of list

??

Why would you output a map when you are crunching numbers?

To get a "list", for example, I'd use an NSArray. It seems tricky to get an NSDictionary instead, since you have to explicitly ask for an NSDictionary in order to get one.
As a HUGE fan of VR, I couldn't be more stoked for the possibility of Apple entering the VR/AR space. They are one of a handful of companies that has the funds, and the talent, to take it to the next level.

My dream as a software developer, is a set of AR goggles or glasses that I can wear all day and provide a virtual environment to code in. The ability to spawn new monitors on the fly, and move them anywhere, would be so cool. The tech just isn't there right now because of resolution and headset comfort, but hopefully Apple can crack this nut.
Are you advertising this on Reddit? If not r/financialindependence would probably be interested in this.
On Android, they removed saving pages locally. No PDF, no mhtml, nothing. Forced me to go to bromite after years and years.
You’ve been able to get hobby solar cells at places like radioshack for as long as solar calculators have been around. Since the 80s, at least. But the price per watt to do something like that back then would be insane.

https://i.pinimg.com/originals/45/b6/9f/45b69f8d1639dbcbd8a8...
Christ that's a long winded article!
Also I'm getting tired of "I learned to program on a stone tablet with a chisel" type stories. Wow, you wrote assembly, swoon!
Ooooh, ok then yeah.
Veterans push for medical marijuana in conservative South
Same in the UK - we do it so well that water safety isn't a thing anyone thinks about because tap water is simply safe.

I'm 41, I've drank "council pop" (what my grandma sweetly called it) since I was old enough to turn the tap and never once gotten ill.

Local water company does half a million tests a year - 99.949% of all tests are excellent and of the remainder vast majority are within acceptable guidelines (they go way beyond the mandated standard).
> I’ve always found it interesting to consider the simplest possible spec you could give 100 programmers and receive no bugs in return.

There is only one or two https://pubs.opengroup.org/onlinepubs/9699919799/utilities/t... and maybe https://pubs.opengroup.org/onlinepubs/9699919799/utilities/f... .

Even "Hello, World!" is done wrong more often than not. An example: you should check for errors from `printf()`, as in [1].

[1]: https://stackoverflow.com/questions/12355758/proper-hello-wo...
Love the idea actually but the finding a customer base would be a bear. Might as well offer video messaging on Betamax to round out the market. :-)
Software and usage intentions
let’s hope they at least use Rust
>Recently the FAA has been making this hard, by not allowing passengers on planes that don't have a full certificate of airworthyness.

After several crashes resulting in deaths.
https://en.wikipedia.org/wiki/Walter_Kirn
Wow, this guy must have something to say with haters like these.
I think it also tries to nearly format into columns and this requires it to know name lengths for all files. If you do -l it basically outputs one file per line and can be done more efficiently.
Long showers.. in the Netherlands most of the houses are connected to natural gas for heating and showering. We installed multiple solar panels and a heat pump, so we do not use any natural gas anymore (cooking is also electrical). This means we cannot shower all day long, but it is worth it to use only electricity!
What? It was just integrated as default. Do you have a source/link for more information?
>> using your employer’s time to experiment with difficult new concepts and languages when you have a deadline approaching (or long since past) is not cool.

> As kindly as I can put it: I’d argue that within this sentiment are the foundations of everything wrong with the ecosystem of professional software engineering.

Almost all Software Engineering, as practiced, is not a form of engineering in any way. Many times Software Engineering is really a bunch of commodity workers, who are learning, assembling commodity components that don't really work, under the oversight of a more senior developer who helps everything not fall apart.
I get it: we will do all kinds of moral gymnastics to keep Saudis (and others with oil) happy.
Last time I worked in an office they solved that problem by putting a water cooler in the corner of every meeting room.
That is nice and simple, but it makes ten comparisons for each character in s, where only two are needed. Of course it would be a good approach if the set of characters you're testing against is not contiguous, unlike 0..9.
Afghanistan’s military collapse: Illicit deals and mass desertions
Ok, I wasn't expecting this to be as nostalgic as it was for me. Less for music, but more for my first programs in BASIC on the TI-99/4A. All I could remember was "red" — and then there is a color search. Ahh, it was Kmart. http://www.tapedeck.org/400/k_mart.php
This seems overly dismissive.
It was actually an interesting read.

TLDR: Whatever software building methodology/process you are using now, is probably crap, and made up by people that don't really know any better and just making things on the go.

Eg. He mentioned 'structured programing' was a fad at the time. Now it is Agile, and its offshoots.

Best way to deliver software is to have a handful of capable people and pay them well and get out of their way. The key to get paid well as a dev. is to be in a project that is important, life/death for the company.

I think the most interesting part of the article was the early job divisions while building software. It didn't make sense, but it was adopted due to the coorporate culture of the time.
It just seems a bit "listen, fentanyl isn't ALLLLL bad", mixed with "those wily cops trying to get overtime pay!"
That's because this article was written by a company that ghost writes articles for tech companies for content marketing purposes. Paddle.com is the beneficiary of this content, and HSG is the marketing company that wrote this article. So, yeah, of course it's thinly veiled product marketing and misses quite a bit of detail while gently pushing a SaaS solution for revenue growth that happens to be tailored to the small B2B or B2C SaaS company. I guess the content writers do a good job because this sort of advertorial is quite subtle and looks genuine. Indeed the website that this is hosted on is just a means to gather email subscriptions for product promotion as well as content marketing SEO juju.
reMarkable 1 doesn't have any glass, although they changed to a glass display in reMarkable 2 for some reason...possibly to reduce the effect of scratches https://support.remarkable.com/hc/en-us/articles/36000263439...
You should check out the event-reduce algorithm[1]. It scales in a different way on how it calculates new results based on old-Results+Event. So it can have some benefits over materialized views depending on the data size and how many clients subscribe to a query.

[1] https://github.com/pubkey/event-reduce
Shouldn't have been to remove that army from the country of Korea?
HTML + CSS. It's not a secret that competent news sites provide good readability and stable presentation on everything from a smartphone to a high dpi desktop and laptop displays. e.g medium.com and https://www.theguardian.com

I don't know about you but sometimes a smartphone is the only display I have available - and reading pdf's on a phone is undeniably terrible.
> so it’s not clear that when compiling this file that “calling strlen has no side effects” is information available to the compiler.

It is because strlen is a #define to __builtin_strlen

And __builtin_strlen is declared (internally) as __attribute__((pure)).

The fact that it is a compiler builtin isn't that important; the compiler will perform the exact same loop optimisation on a non-builtin function if you declare it as __attribute__((pure)). So, in practice, it is not the object file which tells the compiler it can do this, it is the function declaration in the header file.

__attribute__((pure)) is of course a GCC extension, not standard C or C++ – but Clang supports it and so do many proprietary compilers, MSVC appears to be the main exception. This isn't part of the standard but is a compatible extension. C++11 standardises attributes (with a different syntax) and C202x is going to do the same. Neither is yet including "pure" among the standardised attributes but a future standard revision could always add it. There is a proposal to add pure to the C++ standard [0]. If it successfully makes it into C++, don't be surprised if it makes it into the C standard as well at some point. It is the kind of C++ feature which the C standard is likely to borrow, and is already widely implemented (just under different syntax) anyway.

[0] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p007...
>> triggers memories of particular pieces of music.

It triggers my memories of scanning for songs, using toothpicks to extract broken tapes from car dashboards, and spending afternoons rewinding loose tape back into cassettes. Cassettes (8-tracks included) were a horrible bridge technology between vinyl and CDs. I'm glad people can find joy in their external appearance. That is their only redeeming quality.
Pretty much a classic in every 1L law school class.
What about F = -k x^2/m?
I might be mixing them up, it could very well have been ok Cupid that I was thinking of.
FWIW, I was expecting something like "the mechanism is fundamentally flawed because the e2e encryption actually is designed in a way where the server can derive or find the key"; but, thankfully, this is "merely" the "obvious" vulnerability in key exchange: "how do I know I wasn't given a forged key by the server?", to which the protocol generally won't have any solution (barring some kind of pgp-style web of trust, which protocols should probably adopt) and the only reasonable thing to do is to add a UI that shows the user the key and helps them verify it (preferably with a mechanism to make chats look insecure until they are verified, like Threema also gets right)... which thankfully this developer did--though I have no clue how well the UI works in context as I haven't used it and am only glancing at the screenshots... probably nowhere near as good as Threema--instead of trying to paper over the problem and pretending it doesn't really exist by simply throwing certificate pinning at the proximal MITM problem because their server can (of course) be trusted like Apple does with iMessage without addressing the ultimate flaw [<- all of which I describe in a single run-on sentence, as it is maximally fun :D, before y'all get upset at me and leave pointless replies].
10 years / 7 or 8 projects is about 1.3 years on average. It takes a long time to build a company and a product as one person. Sounds like you have been giving up a bit prematurely. Or if you would like results in that time, make an MVP instead of trying to build a feature complete product.
> Another reason we should tax them is that so few should really not be making the decisions for that much capital.

Now apply that same logic to the US government. If you divide the federal budget by the number of elected officials, each one controls over $7 billion of income per year. The amount of wealth they control is far higher than all the billionaires in the world combined. In addition, they create laws that are backed by the threat of violence. They also capture wealth through taxes, which if I don't pay, will cause men with guns to come to my home and put me in a cage. I didn't agree to any of this and there's no way I can opt out of it.

I'm not worried about billionaires pulling me over and putting me in handcuffs, or telling me who I'm allowed to marry, or what substances I can use in my own home. I'm not worried about billionaires taking my money to fund armies and spending decades invading random countries in the middle east. I'm definitely not worried about billionaires restricting where I can travel or what business transactions I can engage in.

If I have to choose between the government controlling more of people's resources or less, I'm picking less.
I see a lot of people taking issue with the idioms presented, and rightfully so in many cases.

Add the ability for people to improve or debate the solutions. Ultimately we should have a large curated cookbook (with additional variant selections and associated recipe variants).

The most important human element of programming is knowing what to build (and what pieces to build to make the bigger thing). How often do I have to lookup ways to read a file in Ruby?... most times I need to read a file, I have to refer to the different approaches. I just don't do that often enough to remember everything. What I do know is, "this will be a lot of data, so I need to read it line by line or in chunks". That should be all you need to know, and then you pull up a recipe.