skysight-inc/HackerNews huggingface dataset:
> The so-called "Ada comb" structure that is used for packages, subprograms, and even declare blocks makes it easy to find what you are looking for because it makes the source code more regular.

"Declare" blocks are a PITA. I don't mean the declaration part in the subprogram example you quoted (that's fine), but having to use explicit "declare" blocks to create new variables in the scope of a loop or a conditional. You can't just declare variables after the introducing keyword (then, loop, ...), possibly between it and a "begin" that would be fused to be come a part of the loop/conditional syntax. You have to use a separate "declare" block, with its "begin" and its own "end;", and then you still have to have the "end loop;"/"end if;" of the loop/conditional itself.

Illustration.

A normal conditional:

---------

if A = 5 then

B := 7;

C := A + 1;

end if;

---------

What you'd think you could at least do (it would already be a bit heavy, but by Ada standard verbosity it would be a good and smooth fit):

---------

if A = 5 then

declare

D : natural;

begin

B := 7;

D := 1;

C := A + D;

end if;

---------

What you actually need to do:

---------

if A = 5 then

declare

D : natural;

begin

B := 7;

D := 1;

C := A + D;

end;

end if;

---------

So you waste one indentation level more each time you add one such declare block. Talking about combs, this get hairy quickly even when you have simply a few nested loops/conditionals.

Also, the "end;" of the "declare" block is not an "end declare;" or "end block;" like you have "end if;" and "end loop;". So that make it a bit harder again to know where you are when you are closing your blocks/loops/conditional.

Then you can add a label, but that make it even heavier (and good luck finding a clever name for the block label each time). Not sure there exists a good solution to place the (opening) label. And the closing label comes at the same place a closing keyword, which may be considered a bit confusing.

---------

if A = 5 then

myblock:

declare

D : natural;

begin

B := 7;

D := 1;

C := A + D;

end myblock;

end if;

---------

or

---------

if A = 5 then

myblock: declare

D : natural;

begin

B := 7;

D := 1;

C := A + D;

end myblock;

end if;

---------

or

---------

if A = 5 then

myblock:

declare

D : natural;

begin

B := 7;

D := 1;

C := A + D;

end myblock;

end if;

---------

The last one, which wastes not only 1, but 2 indentations levels(!), and even worse, creates an indentation gap in the end, happens to be the recommended style...
Net neutrality advocates begin push to return to pre-Trump internet protections
Are you claiming that all grocery stores sell vegan products as loss-leaders? Can you please share a link to some data on it?
>Time is the only thing we will never be able to make more of. It is The Ultimate Resource, as Julian Simon points out. This makes Bitcoin the ultimate form of money because its issuance is directly linked to the ultimate resource of our universe: time.

All things equal, BTC has a limited supply, making it unusable as a currency (but great as a deflationary store of value). I suppose the definition of "money" is less specific than "currency," but this notion of "money" goes contrary to the nomenclature of the human realm. Yes, technically anything that is tradable is "money," but then the term becomes rather meaningless.

Money must be backed by a creative asset, such as an orchard or labor or technology. Time alone a currency does not make.
Also recently covered by "chubbyemu", of the great medical clickbait youtube titles:
"A Man Had An Accident With A Weight Loss Chemical. This Is What Happened To His Organs."
https://www.youtube.com/watch?v=ChPeG19qKUo
GWU?
Preface: I'm a hypocritical omnivore who likes animals.

If meat alternatives and lab grown meat become cheap and indistinguishable from real sources, I predict that within the span of two generations our descendants are going to look back on us as immoral savages. I use cognitive dissonance and distance from how my food is made to get over how horrible industrial farming is and how brutal life can be for livestock. They'll wonder how we were able to tolerate such brutality and all the answers come back to either 'out of sight, out of mind' or 'it's tasty'.
I'm strictly talking about text-based pages. It's not hard for us, skilled web developers, but it is hard for people who just want to get their content online.
Tried it, didn't catch on because emojis are too far out of reach from the github UI lol
I wish companies were not able to label and sell these textured vegetable proteins as "meat". They are great products but they are not meat and as scale increases and they become less expensive than meat there will be strong commercial profit motives to replace real meat with "* meat" for monetary reasons.

I'd strongly prefer for increased funding to isolated tissue culture methods. That way we could have real meat without the environmental or ethical issues.
Unfortunately my salary is fixed today as well and not only does it shrink as a portion of global productivity, but also as a portion of the monetary supply.
I know it’s McDonald’s but if this is a healthier option cholesterol wise that’d be good.. I mean maybe that’s impossible at McDonald’s but -shrug-
In Pascal you can use any ordinal type as the type of the array index. You can create a new type from a range of ordinal values.

So you can have arrays where the index runs from -10 to +20 or from +7 to +26 for instance. Booleans are also ordinal types so you can have an array where the index is boolean.
For cheap esp32-based smartwatches and wristbands, I've had good success with LILYGO and the esp-idf toolchain.

$18 T-Wristband: https://www.aliexpress.com/item/4000527495064.html

$26 T-Watch-2020: https://www.aliexpress.com/item/4000971508364.html

esp-idf: https://github.com/espressif/esp-idf
Show HN: Objcov – Code Coverage for Objects
Why Progress Bars Don't Move Smoothly [video]
Recently I've been building a UI builder from a schema (a json object).

I try to aim for 100% code coverage, but how can you do this when you "code" is metadata.

Well, I created objcov for just that. In the end, it can make sure you have touched every part of an object.

So if you have full test coverage, you should touch each item in your config once. This would result in `percentTouched` being 1 (or 100%)
I adjust the time maybe once every three months, which has naturally fallen into a pattern that lines up with daylight savings time. My watch gains at most few minutes over that interval. There's a single complication for date (1-31) that I adjust on the first day of every month.

Seiko watches aren't the absolute best, but as long as I don't leave it on the shelf for more than 24 hours the self-winding mechanism still works. I'd call them the Toyota of watches.

I'm not a watch-o-phile per se (is there a better word for that hobby/interest?)... More like a /r/BuyItForLife [1] person. Seiko fits the bill to buy it for life without spending luxury good money.

[1] https://old.reddit.com/r/BuyItForLife/
Wait... so I assume `JSON.parse()` returns `any`, yeah? TS automatically downcasts (in function returns and assignment)? How is that at all useful?
Kudos for removing the nation from the title to neutralize the bait and keep it technical. I know this comment doesn't contribute much, just wanted to acknowledge the effort.
That is about "how it can"

That is about a small scale pilot. It says nothing about grazing cattle, about scaled up asparagopsis production necessary to support global beef and dairy cattle populations, or anything.

It would be more helpful if you could find what level of impact that is having, based on the article you linked it is negligible right now.
Butcher box sells you free range, grass fed beef for $16/pound, delivered to your home.
I think this is a strawman.

It can be true that meat provides a lot of good nutrition. It can be true that the human cooking/eating of meat led to better nutrition and development in ancient times (when people ate less of it).

It can also be true that in the modern world you can get that nutrition without meat and there may be other good reasons to do so (animal suffering, environment, ability to feed more people, more easily, potentially fewer heart related diseases).

These things don't have to be in conflict. I don't think the comment you replied to was suggesting they were.
>The West loves to dismiss China research

I know you probably care about the topic, but it seems unnecessary and unrelated to the rest of your otherwise very insightful comment
Lightning network is just a brand name for the cryptography that was needed to make Satoshi’s payment channels work.

So, while Satoshi’s opinion isnt really relevant to bitcoin’s future, since you brought it up, Satoshi clearly didn't think layer one was the inly way yo go.
This series, for reverse engineering a multi-player game that's meant to be hacked:

https://www.youtube.com/watch?v=RDZnlcnmPUA&list=PLhixgUqwRT...
There's a LOT of things that it's not necessary for; watch this video: https://archive.fosdem.org/2016/schedule/event/ada_memory/
Golden Globes broadcast audience fell 62 percent compared to last year
Right. Rent control has created a situation where people are stuck in cramped apartments and no one has incentive to fix the problem. And there aren’t any easy outs. Just have to relentlessly attack the housing supply crunch until rent control isn’t needed.
As someone who is well experienced in web dev, that was a great article! Not so easy to find online, keep up the good work and I’ve become a fan
Lotus 123's slash commands were extremely handy. To the point where Microsoft was forced to copy them when Excel first came out to ease transition of users. There's a ton of older references on the web on how to use them. See https://www.isric.org/sites/default/files/isric_report_1990_... for a reproduction of 123's main menus. The sequences become muscle memory really fast.
When you have a society where those work, “trustless” is no longer a benefit.

It’s a catch-22: to be useful, it can’t be useful.
If you make $100k in profit, you pay 21% in taxes, so it turns into $79k.

If you instead invest that $100k into growth (eg. ads, sales people, marketers, engineers), you pay $0 of taxes, and can ideally generate an additional $200-300k revenue next year because of the investment.

Would you rather have $79k now, or $200-300k next year?

If you always invest, you'll grow faster and never pay taxes. With this in mind, why would these companies want to be profitable?

The major assumption here is that you have a way to invest $x now into $x+ in the future. A lot of SaaS companies have this down to a science via metrics like CAC, payback period, etc.
When quantum mechanics are involved, I feel like someone from 400 years ago might feel today using a smartphone. And probably as a society we are now like starting to experiment with electricity. I wonder what will be the smartphones in that future.
Pascal (well Delphi/FreePascal incarnation) also works with chars and enums.

This modern pascal is very feature rich and has plenty of fancy bells and whistles.
I've still got mine (bought at the $99 price), was running Arch Linux on it the last time I turned it on..probably about 6 years ago.

I'm somewhat tempted to get it running again, but the question becomes...what would I actually do with it? I already have a modern tablet I only use for testing mobile apps.
From all I have seen (e.f. [1])the seaweed idea was still in small scale trials as of 2018, please provide some evidence for your claim that this is now already mainstream. That said, the focus of this is on methane as one of the GHG produced by cows. This doesn't count CO2 produced by cows or the rest of resource wastage of the meat industry, from the 7:1 grain:beef ratio to the huge industry of the barns and slaughterhouses, packaging, transport, ... All these factors are much lower with vegetables/grains or even plant based options.

And that is not to mention the moral side of animal cruelty in the industry, deforestation for that Argentinian beef, or the human suffering on the processing side.

1 https://e360.yale.edu/features/how-eating-seaweed-can-help-c...
Maybe they were new 15 years ago in Rails, but I was using them in Perl in the mid-90s.

There is no excuse for writing an SQL injection in 2021. Zero. None. And if you're in the position to write code that'll be deployed to production, you darn well better have it reviewed by peers before it's merged.

If the CTO did this and worked around the developers, he's a freaking idiot. If the engineers saw this and signed off because he's the CTO, they're freaking idiots. I wouldn't ordinarily be this harsh about it, but come on. SQL injections in 2021? That's astoundingly bad.
I'm not entirely sure what I think of "x or y" replacing "if not x then y", but it's a common enough idiom that I don't have trouble reading or writing it.

I have tended to use it more recently for vertical compactness, and in python because pylint doesn't like single-line if statements but happily tolerates "x or y".
Beef is hella subsidized in the USA. Both directly, and indirectly, through low grazing fees on public lands and subsidized feeds.

The grocery store tubes of 73/27 are under $3/lb where I'm at. Making beef insanely cheap per calorie.
These physicists have never properly acknowledged the prior work of Otis Eugene Ray on this subject. How typical!
Somewhat embarrassingly, I didn’t realize that all those products were ads. I thought their recommendation algorithms were getting worse
It just crossed 50 sales earlier today!

I’m mainly a web developer creating content for web developers, and so most of my following wouldn’t really want this tool. But I’ve gotten to know a handful of other content creators that could use something like this, and I think that probably helped to spread the word on Twitter a bit.
The difficulty can adjust down over time if interest goes down, and that's pretty much fine as long as no one gets over 50% of the hashrate.
Amiga Story – Nostalgia Nerd (2016)
“ LN fundamentally changes nothing. Its still uses bitcoin Tx it just combines many Tx and does the on-chain settlement at a later point thus reducing the number of on-chain Tx increases speed and reduces fees.”

That’s changing everything.
If you prefer the taste of Impossible, wouldn't you prefer that Yum brands select them as their fake beef provider? Why is this good news for the category?
Heuristics shouldn‘t really be a factor when you are a senior. Make a decision based on your competence and experience.
Teachers have been using disinfecting wipes for decades, not just for COVID. Kids spread lots of germs.
This is what's going to kill the search engine ad market if the algorithm designers aren't careful.
I've turned to mainly a restaurant meat eater. My day to day protein and fats are mainly from plants now. Especially garbage fast food meats really don't need to be from animals. If I feel like a long smoked brisket or carnitas or a steak or game meats, well there just isn't any meaningful analog so I don't feel too bad about indulging every once in a while.
A completely natural product eaten by humans for millenia, vs a new factory produced goo.

I prefer real food over fake.
It works with any ordinal type in Pascal, including characters, booleans and enums.
I have a couple of the £30 LilyGo 'TTGO T-Watch 2020' ESP32 based 'watches'. Lots of fun to tinker with and has a colour TFT touchscreen which introduced me to the very impressive lvgl library to create UI. But the battery life is not great (though that teaches you how to write and use deep sleep modes).

An e-ink display would naturally help with the battery life, but the screen refresh times can be an issue for some ideas beyond telling the time.
I'll take one servicing in that period over replacing my watch every 3-5 (2-4?) years as the software becomes obsolete and all support vanishes into the myopically short tech upgrade cycle. It's why I say 'essentially' unsupervised and 'essentially' forever. The point of comparison with smartwatches is so far to the other extreme that I believe the language is largely justified.
Heh, I must say way, impressive GitHub. You the original author of the OSDev wiki’s barebones Ada tutorial?

Off topic, but have you ever heard of CHILL? It’s a language from the ITU designed for telephone switches (like Erlang) but is supposedly very similar to older Ada standards.
Butyric acid is very complimentary to chocolate, when used in the right proportions. Hazelnut-chocolate spread tastes rancid to me when fresh in the jar, which I chalk up to substandard ingredients and handling (I can tell because Ferro Rochet hazelnut chocolates go bad very quickly, but they do taste fine fresh).

Disliking butyric acid in chocolate is instead a matter of taste. It's very important to acknowledge the distinction.
Awesome, you wouldn't still have a copy of your Ada compiler's source do you?
you can do that in mathematica, I think.
> As far as "engineering" goes, specifying your types is about as low-hanging, basic a step as you can take.

How do you come to such a conclusion when there have been many languages whose success was specifically tied to the fact that they were dynamically typed? Doesn't that indicate a pain point?

> If this is "over-engineering" then I think that says a lot about how much thought, design and engineering goes into some of these code bases.

"Over-engineering" means drawing blueprints when the job is to change a bulb. It does not mean that blueprints are useless. It's about the job and the tools picked to do it. I can conceive of many jobs that fit the scope of a dynamic language and where bringing the big typed cannons could be seen as over-engineering.
If you were to make a general rule, it's saying if you want employment then don't say anything online, period. So it is in fact depriving any employee the right to speak about things publicly all the time. It's like putting a muzzle on a dog so he does not bark. If that's not slavery I don't know what is.

As for right to employment, well how far can you push it. And how does that not violate white privilege principles or corporate privilege principles. We have a corporate class which holds most of the wealth and if you say anything you will lose the right to make a living. That smacks of privilege, in fact white privilege.

Only the corporate class may speak. It's not sound in any way.
>The one thing I agree with vegans is the fact they want people to get the processed trash out of their diet.

Except, i don't think i've yet met a vegan that doesn't consume ultra processed soy and or gluten based products.

All these meat alternatives are ultra processed to make them resemble meat. They're made of ultra processed protein and vegetables, spices and additives to improve taste, colour and texture and to allow them to keep whatever shape and form they're pressed into. The creation of alternative meats is highly industrialized process that creates ultra-processed food products.

The single number one thing humans could do to reduce pollution from agricultural production is to stop relying on global imports and exports for so many things and focus on small scale regional production. Reduce the overall amount of mass scale industrial agriculture. Because whatever's being produced, meat, plant or otherwise, the methods being used to produce them and the scale they're being produced on is the problem.

Reduce the waste all along the supply chain, reduce the global footprint, go back to less productive but more sustainable production methods and focus food imports and exports as locally as possible. Rely on regional trade before global.
You are correct, https://en.wikipedia.org/wiki/Parametron

http://museum.ipsj.or.jp/en/computer/dawn/0007.html
Startup Prototype: Speed Networking for Startups
Hi, I'm testing out an idea for a startup that aims to create great software for networking events. We're running some beta tests aimed at networking in the startup space. We have different times this Thursday and Friday. It's free to attend. If you are interested please rsvp.

Happy to answer any questions about the startup or events here.

thanks
1) Countries economies consist of the individuals within them. In India, where Bitcoin is banned, its exchange rate has since increased. Same in Pakistan. Hyperinflation occurs frequently despite a governments' best efforts. The market is the master and the government is only an actor.

2) This is probably the best piece on that point: https://quillette.com/2021/02/21/can-governments-stop-bitcoi.... The summary is that unlike another country's currency, Bitcoin is significantly harder to attack.

3) Economic sanctions can still exist. You still have to pay your taxes even though many avoid them. What sanctions are you referring to specifically?

4) Look into the Lightning Network to see one among various ways Bitcoin is scaling outside of exchanges. It will continue to develop in interesting ways. In the meantime, governments that enable what a growing number of people want will be rewarded while those that attempt to ban it will suffer. The incentives to do so are not in their favor (also argued in the article above).
Most wealthy people are multi passport stateless and keep their money offshore, paying little or no tax. The bigger the global corporation the more likely they are to be registered in Ireland or other tax free havens. There is no trickle down in taxes when a few have won the Monopoly game
> What is the current use-case for jQuery?

WordPress ships with it, so using jQuery often doesn't require any extra footprint. I still prefer vanilla calls for admin-only code, but jQuery has better compatibility for user-facing pages.
> vegetarian, will rarely eat fish sometimes

> Even if humans could draw this line perfectly (which I'm skeptical of), you'd still need to kill the 'lesser' animals in a way without suffering or fear. I just don't think that's logistically possible.

So your line sits far above vegetables and below legged animals with fish near it on lesser side, I see...
Congrats Jay and Frank! It's been fun watching your progress and this certainly feels like the natural product evolution for you. Best of luck in the future!
Very excited for something like this! I can think of a few fun projects to try that would be useful to me nearly everyday but are too trivial or niche for an Apple or a Samsung to ever spend time actually building. Some ideas off of the top of my head:

- Vibrate a bunch and notify me on-screen if my usual commuter train is running late or cancelled (but only if I haven't left my house yet). Also the same, but in reverse for my commute home

- One-button touch activate my IoT devices (toggle houselights, garage door opener etc)

- Show me how many bikes/docks are left at my local citibike station

- One-button touch to fake a phone call to my phone to get me out of a meeting/conversation in a pinch

- Show me how many minutes until it's predicted to rain

Nothing life changing, but a fun side project that will continue to be useful once it's finished by saving me 5-10 seconds here and there!
I'm more broke than most people here.

But "Investing for Dummies" teached me many valuable lessons. I read it when I was ~15 so it was my first insight into economics, business, and investing. It's well written and digestable.
I have little knowledge of HDL’s but I’m constantly hearing bad things about Verilog and good things about VHDL. Is it worth picking up?
Adding those would be awesome (Especially if they could still keep the price under $100). The primary reason I use a smartwatch is for all the health-related features. I'd otherwise just wear a dumb watch whose battery will last me 10 years.