skysight-inc/HackerNews huggingface dataset:
Sorry I should have elaborated...

"test" or it's other name "[" is a program or a built in. It takes a parameter to tell it what to do. It can evaluate strings, but it can also look at the file system or do a little numeric evaluation. Newer versions in gnuland may even be able to tell you if a unicode glyph is left to right or right to left. It does all this using - or -- prefixed options.

test -f /dev/sda will fail (it's a block device not a file)

test -f /dev will fail (it's a directory)

test -h /usr/bin/[ will succeed on some unices (it's a symbolic link to /usr/bin/test)

So -- what does [ "$x" = foo ] (or, more clearly, test "$x" = foo) do if the variable x happens to have "-f" in it?

The shell will interpret the " and the $x and hand to the builtin this:

[ -x = foo ] (or test -x = foo)

Now, the human is waving their hands "that's not what I meant no fair!" but a contract's a contract -- test might look around for a directory entry in the current directory and not find a file named =, or hey, it might, because = is a fair directory entry name. It may then poke at that associated inode and find that = is in fact a file, and return a 0 in the exit status. Or it may say "hey, file existence testing has one paramater and you gave me a filename, =, and another file, foo, what gives?

Regardless -- you've got no control over the contents of variable x; that's why you're asking test to look into it for you. You can blorp a thing in front of it to protect yourself from this case, but that's just silly. Test can't do any regular expressions and it does all sorts of other things, so it's taking parameters, it's just a mess. Just use case $x in ... esac.

Test is great for other stuff, but string evaluation? It wasn't ever good for it.
I'm Indian, and I'm saying this because I know how much of a burden our railways is on the taxpayer. It's a huge sink into which $20B worth of taxes disappear every year, with only dirty, poorly run trains to show for. It's so bad that I'll avoid traveling in trains if there is absolutely any other way. I'll drive 12 hours straight but not get into the hassle of a train.
Instead of software emulation, why not hardware emulation? The original Gameboy ran on two AA batteries for 12-20 hours (depending on whether the light was on); I'd argue that rebuilding the original hardware with modern-day technologies could reduce that energy consumption by 90% or more.
When I was a GS15, my box 1 on my W2 was nearly $240k. It’s still not $500k, but it’s not as low as you’re claiming.

Yes, the GS table maxes out at ~150k, but they are also allowed to do locality (in DC that was ~34k), and some agencies are allowed to have a recurring bonus to more closely match external pay.
Kuat today is full of sugar and added caramel, to be cheaper and compete with smaller brands.

Fanta is trying to compete with Antarctica (that is from AmBev).

I'm buying Fanta because it's cheaper than Antarctica.

2L pet bottle is here:
R$ 3.99 Kuat
R$ 5.99 Fanta Guaraná
R$ 7.99 Antarctica

In US$ it's about
0.79
1.20
1.60
It depends on the application, I wouldn't want this in the average webapp I build but most of that is nonspecific and low value code that will be replaced every five years or so.
I was trying to figure out whether kerberos supports authorization and authentication. chatGPT sometimes said yes, sometimes said no.. Google had similar results. I had to dig through the content to assess which Google result was the truth.

As AI generated content spreads to the internet, the truth will be harder and harder to find.
Show HN: Invoicing Simplified with AI Assistance
I’m Zain Sheikh, co-founder and CEO. We are super excited to show you (http://OlaBooks.co)!

Why?

There is a huge gap to leverage the power of artificial intelligence in the fields of point of sale (POS), invoicing, accounting, and inventory management. Despite this potential, many small and medium-sized enterprise (SME) owners and entrepreneurs still rely on data entry operators to input data into their accounting and inventory systems.

We believe it is time for disruption in this space, and who better to lead the charge than a team of highly motivated and experienced individuals with a proven track record of building successful products in this domain?

Solution:

Over the last year, we have been conducting extensive research and development in the point-of-sale (POS) space. As a result, we are proud to launch http://olabooks.co/, which allows you to invoice your customers in under 30 seconds with the power of AI .

Simply upload or scan your handwritten or manually generated invoices, and [OlaBooks.co](http://olabooks.co/) will convert these invoices into computer-generated invoices for you. Watch our video for more information.

Tax options are available.

Multi-currency options are available.

Custom Invoice Templates

Add Discounts in your currency or in percentage.

Directly share links to invoices with your customers.

Share via email.

How?

Our team specializes in building custom ERP systems from scratch. We have already developed ERP systems with numerous customized modules for different industries, where we followed the P2P (Procurement to Pay) and O2C (Order to Cash) procedures. Now, we are venturing into the SaaS space for the first time, and plan to lead this field with AI-assisted invoice generator tools.

Future plans: []

We have observed that there are already many tools available in the market for manually generating invoices. Therefore, we are working on integrating with all notable POS, accounting, and inventory solutions, such as QuickBooks, FreshBooks, and Xero, as well as almost all payment gateways and ecommerce sites.

Upcoming Features:

Integrations ↔ POS, E-Commerce, Payments.

WhatsApp virtual accountant support.

Android/IOS App.

AI based logos, letterheads, branding.

We want you to try our service and make your life easier.
I'm back with another guide straight out of the oven, by the expert tech-chefs at Railsware. This time we'll give you some practical tips on how you can ensure your products remain high-performing and sustainable in the long term.
Mysterious Answers to Mysterious Questions
Natural Laws Are Descriptions, Not Rules
Wow, that’s some low level stuff. Most would just use an established UI framework because rendering performance is left to the window manager. I’m not sure I understand the need to go about it like this? Windows is not considered the epitome of performant interfaces but it has no trouble rendering UI’s at 120 fps. When people go and buy a 120 fps display, they are wowed by the smooth scrolling in a heavy application like Google Chrome. The window manager is already hardware accelerated (as for Windows since Vista) and the apps draw widgets on their surface.
But this UI is not cross platform either, as it is still using proprietary APIs.
I clearly didn't read your whole post. Have my upvote.

That said I think my point still stands: If 1 Swede and 1 server can do a much better job than Google in significant niches such as history, Linux and Git, then maybe a hundred Swedes and 10 000 servers can outcompete Google across the board for traditional search, leaving Google to deal with plane tickets and local search? ; - )

And no, I'm not a Swede.
That doesn't match with my personal experience comparing the effects of Guaraná Antarctica and other sodas (eg Coke). Also, websites in Portuguese [1] claim that Guaraná contains only 2-4 mg of caffeine per 350ml. I wasn't able to find an official source.

[1] https://www.mundoboaforma.com.br/lista-de-20-alimentos-que-c...
We'll have a discussion with Sarah Rosales-Hunt, Head of Product Content and Localization at Humu, on how to make your company multilingual and build scalable localization processes.
Register now > https://bit.ly/3mFH8ul
You would have a capital loss to carry forward, and this is part of why the current rules aren’t great for people who aren’t already wealthy. If the tax bill is a big chunk of your net worth it makes it hard to take advantage of what might be a great opportunity.
This sounds amazing. What animal?
That would be an incorrect description of the content. The point of the article isn't to introduce the language, the point is to sollicit feedback.
Opinions diverge largely, I'll gift you with mine. I worked in the early half of my career in an emerging market which shaped my preferences around dealing with an extreme degree of uncertainty: changes in requirements, assumptions invalidated, resource starvation, bugs in dependencies, organisational changes, badly timed management interventions etc. If you work in a mature setting, stop reading now, nothing of what I write will make sense.

Unknowingly, I self-aligned with what in India is known as the Jugaad work culture [1]. Jugaad favours extension by addition over modification. I combine Jugaad with a growth (software grows almost uncontrollably) & pruning (refactoring) complementary-phase.

In the growth phase, I build processes and software architectures that can be changed by adding something on top of the exiting system rather than modifying or removing. Test-driven-design helps me with the right decisions. I don't obsess over clean code, the test pyramid or documentation in the growth phase. Tests written in this phase serve either as a work bench (I need to run a piece of code often and don't want to wait for a deployment or server to start) or as a guard against regression. I want to move forward as quickly as I can before the bad design decisions I just made catch up with me.

In the pruning phase I refactor the code I wrote, add tests, write documentation, replace hard-coded values with configuration etc.

The reason for the two phases over a single continuous phase is that I observed a distinct summer-winter duality in projects where some times projects seem to teem with life and in others they are stuck waiting for decisions. Or put in other words: the immense pace at which Jugaad allows you to forward a project forces backpressure against business which then needs to "collect its thoughts" and gives you time for the pruning phase.

And if time/money is tight: common environment, smoke tests, then containers, then end-to-end tests, then everything else.

[1] https://blog.georgovassilis.com/2020/09/13/draft-jugaad-take...
Ask HN: Would you pay to turn ads off of a website?
Will this make it easier to ship ML models to consumers? Let's say I'm making a photo editor, can I ship trained models for various image effects and generation using this, and it will run on the client's best available hardware on Windows, Mac OS, Android, etc?
Absence of Evidence Is Evidence of Absence
Or just have a battery that recharges so that you never have to swap it and make it incredibly power efficient
What about the winrt api?
US Air Force Moving Fast on AI-Piloted Fighter Jets
Thanks for linking augmenta. I was wondering if you know of other similar companies? I'm an experienced structural engineer who's just completed an MSc in Comp.Sci. I want to combine the two disciplines and so far I've only been looking for consultants who utilise parametric design (Rhino + Grasshopper).
It costs time and money to make a website or application. what are your thoughts?

I think it makes sense but I haven't really done it.

I still leave ads on in youtube for instance.
Wow why was this article flagged?
Yep. I canceled the two accounts I’m responsible for.

I thought Kagi was going to be search for adults, but they have a serious problem with chasing the latest shiny API.

They keep jacking up their cost per search for features I actively dislike. I hope another paid search engine arises.
You can buy the dehydrated seed here in Brazil in drugstores, specially the smaller stores.

Some truckers use it all the time, under the tongue, to avoid controlled meds as well.

I'll try to mix with my mate, never tried. :)
I have one drive that failed, but I have maybe 6× older 24/7 drives that haven't.

If you make the probability of those numbers you would panic too.

The most recent broke first. Brace for impact.
In case someone didn't know what a website of commercial software looks like, here you go: https://www.office.com/
I’m surprised to hear that. Maybe ”denied by default” is a bit too evocative and not clear enough - I mean that if the payroll department stopped coming into work and managers stopped doing their payroll responsibilities, the payments themselves would stop very quickly. In the systems I have used the payments are generated automatically, but someone has to click “Approve” on them for them to actually happen.

My broader point was that these “the company forgot about me but I’m still getting paid” urban legends rest on the belief that there’s essentially a cron job with a list of salary numbers and bank accounts, and every week it automatically transfers the appropriate amount to each account. And that’s not an accurate picture of payroll.
I have a rule. I try to stay away from eating a lot of stuff very few other people eat a lot of. I don't want to be a guinea pig.

I do experiment on myself but only after I can reasonably assume whatever I am consuming is relatively safe, and this means there is sizeable enough population that eats it at same or larger quantities that I plan to ingest.

I use table sugar as sweetener. It really isn't that bad for you. A healthy person should be able to eat sweet dessert from time to time with no ill effects (but not every day and not in large quantities). We have pretty good idea of risks of consuming table sugar vs other sweeteners.

I do intermittent keto to build and maintain metabolic flexibility. This means there are longs spans of time with very few carbs and definitely no sweetened stuff which are more than enough to wipe out occasional taste of reasonable amount of sugar.

I find it is easier and better to just cut out desserts and sweetened drinks and learn to eat proper things for your diet. This whole idea of pretending you are not really on keto and doing keto pizzas, keto breads, keto sweet drinks, keto cheesecakes and so on only makes it feel like you are forcing yourself to eat something that is less tasty than the original. There really is no substitute for real bread, pizza or cheesecake. Doing keto intermittently (say 2 months of keto, 2 weeks off keto) means you can still eat what you want, just not all the time. And it is apparently healthier option because you exercise your metabolism in various ways rather than be permanently on keto.
It just reflects the fact that how hard to construct a consistent and provable world. You can just listen to politicians if you don’t like the above.
Many applications offer you a free trial period, but you may not like the application and forget to cancel the subscription and therefore the subscription price is withdrawn from you. This application solves this problem by alerting you before the trial period ends until you cancel your subscription. Also, the application organises your subscriptions in general and calculates for you the total price of these subscriptions, and also contains a widget so that the information is in front of you.
He does have an axe to grind.
It seems important to break out this quote.

> on page 25, they define them as a "vendor of personal health records"

So the FTC itself considers GoodRX an entity primarily focused on selling the health information of individuals.

Just in case anyone though it was something else.
It isn't as if C++AMP, DirectML and .NET ML have had much adoption.

While ONNX Runtime seems to split efforts away from .NET ML.

It is an area where they seem to suffer from the same management issues like in desktop GUI frameworks of lately.
Elon barely ever fit the definition of a VC at Tesla… If not a co-founder what should his title be?
DStream: Simple access to your music collection in browser. Offline for Spotify
> You are basically asking to spread the disease everywhere

Only if you're not paying attention.

Corrupt departments getting swapped out for others limits their impact in the affected region. The same principle is at play at the next location.

Additionally: corruption thrives (e.g. in the first location) because it has the necessary preconditions to tolerate it; courts and the local folks at the next location are not going to take up a passive posture if the new guys show up and their town is plunged into corruption.

Both factors should lead to the corrupt departments being discouraged to the point that they recognize the futility.

Alternatively, you could limit it to only swapping out the LA units for the ones that were in Idaho, sending the LA ones nowhere—they're just gone. The problem, after all, is the inability to get rid of all law enforcement headcount in an entire region, even if it is by and large thoroughly corrupt. The Idahoans coming in make that a non-issue.
Yes but that's because it's an immediate mode renderer.

It feels intuitive and that's why it's the de facto standard for building debug tooling. But this intuitiveness comes at a price! No matter how hard you try, this will always be slower and computationally heavy compared to retained mode.

Great for some stuff, terrible choice for some other.
What Is Synthetic Data? The Good, the Bad, and the Ugly
> the FBI using legal means to get their hands on data isn't proof the FBI has done something wrong

Perhaps not, but the FBI using one method to get their hands on data without a warrant, while a different method to acquire that same data would require a warrant, is definitely a sign that something is going wrong.
I'm pretty sure @userbinator is talking about taking the exact same circuit but making it on something like TSMC's 4nm process, rather than an emulator running on a general purpose processor (i.e. CPU)
> The original Gameboy ran on two AA batteries for 12-20 hours (depending on whether the light was on)

I wonder if you googled for this? Googling for “original gameboy battery life” gives nearly this exact quote, but then reading the wikipedia article that it came from reveals that this is talking about the Gameboy Light (1998 - arguably “the original hardware with modern technology to reduce energy consumption”). I went and fact-checked because I remembered that the original original gameboy (1989) had 4 AA batteries and no light ;)
Wow you weren’t kidding. That page loads virtually instantly.
I've been on calls w/ Moshe :D Infinidat is all about capacity, we tend to see them as B2D targets or for long term warm storage. Pure is more about performance. They have never shipped a device with spinning disks in them, so even their capacity series is all flash. The m series I'm using (now the X series) is designed for ultra low latency, even under heavy load I almost never see read or write times north of 1ms.
I think the reasoning is that you likely won't get out of 1st at all.
I missed this prior to now, but (in my experience with web analytics - I'm not a Twitter dev) impressions are typically when it appears in a users view. A "scroll past" is usually enough, because advertisers just want to know that it made it in front of somebody. Their marketers will handle "grabbing your attention." However, whether it ever makes it to a users view to begin with is determined by "The Algorithm", which would be seeded by a users past interactions. Ignore Musk tweets enough, and presumably, they'll stop showing up by default.
Yeah, but platforms fail, go out of business and can have issues.

If you use this service (or any other of the ones mentioned in the other comments) you'll need to periodically check that they are ok (and that all your details are up to date).
Doppler is nice. Also AWS has Parameter Store (lower level, cheaper) and Secret Manager. You could also use built-in secret storage in Github / Gitlab for CI workflows.
The rnnoise filters (or Nvidia’s broadcast / RTX Voice tool) do a great job of suppressing noise.

https://github.com/werman/noise-suppression-for-voice
The Free Text to Image Generator is an AI tool that allows users to generate images from a text description. It uses stable-diffusion models to create high-quality images from scratch.

The tool's interface includes several features such as AI Input, Gallery, My Creations, AI Chat, and AI Output. The AI Input feature provides a space for users to input their text description, which the tool then uses to generate an image.

The Gallery feature allows users to browse through a collection of pre-existing images generated by the tool. The My Creations feature lets users save and access their previously generated images.

Additionally, the AI Chat feature allows users to interact with an AI-powered assistant that can help guide them through the image generation process.

The tool also includes a Safe Mode option designed to prevent the generation of potentially offensive or inappropriate content. Overall, the Free Text to Image Generator is a powerful and easy-to-use AI tool that enables users to create custom images quickly and efficiently.
to bat one's eyebrow
Giving the middle finger is a 'God-given right,' says Quebec judge
They do, in some circumstances, in places like America, the ability to use lethal force in response to particular actions.
And Nvidia's first chip the NV1
Bing increased their search API from 1.25 cents to 2.8 cents. As they are a wrapper around Bing it makes sense they have to increase their prices quite a bit.
White supremacy is a political ideology and a political movement. You can search Google if you're interested in specific parties.
I can imagine the servers running warm after all this indexing :)
https://m.youtube.com/watch?v=BYxUC1X180o
Friends, this is a feature of cellular networks.

Cingular/AT&T had a program for LE back door access already in 2002, no doubt scaled way up by now.

The switches support it.
You are absolutely right. When I look at the ridiculous numbers of preventable vehicle deaths in our country, caused almost entirely by carelessness, I do wish that getting a driver's license was much much harder and that we actually bothered to enforce traffic laws consistently.
Oh, interesting. Full on integration testing for Go CLI apps is an area in which I am sorely lacking.

Does anyone have recommendations of tooling to generally help instrument testing CLI tools? Hopefully better than what I’ve done thus far which is basically a shell script of

./mybinary <<< $INPUT > output.txt 2> error.txt
diff expected-output.txt output.txt
diff expected-error.txt error.txt
Why not just use DirectX/*GL for those regions that need it and stick with platform UI for the rest? Blitting API still works just fine if you're drawing combo boxes, no?
The biggest "explosion" there has got to be Dwarf Fortress, where the interplay of every object and aspect of the game causes some really interesting emergent behaviour (like catsplosions or whatnot).
Warning: Don't Let Google Manage Your Passwords
US, U.K., EU - I mean, sure, maybe you’ll have better luck in Liberia.
Yes, you never said anything about pride and I am not really arguing with points you have made.

What I wanted to say is there are many threads on HN where people who 'aware of problems' do not write and people who are 'having fun writing' code gather in hundreds. These threads are equally bad in my opinion as ones you call 'bullying'. I wish HN would discuss improvements in both C and C++ at the same time with improvements in Rust ecosystem without mixing it up but I understand why it gets mixed.
React Native follows this pattern by moving most JS processing off the main thread allowing scrolling and other input to happen without blocking for a response from the JS VM. However this does end up causing a lot of problems with text input and gestures as now you have a sync issue between the threads, if you get caught processing a bunch of stuff in the JS thread the app may appear to be responsive with scrolling but nothing happens in response to button taps or text insertion. It is the only way RN was going to work on lower end hardware though so probably is the right solution if you assume running react everywhere is a good idea.
The title isn’t editorialized. The title on HN is exactly the same as the original blog post