skysight-inc/HackerNews huggingface dataset:
Frontend has been a pain in the ass for me for quite a while as someone trying to learn frontend development.

jQuery's concise syntax beats everyone, I hope Javascript can adapt it someday, truly a KISS design gem. However I do need write code to do data-binding myself, which is important for interactivity.

Vuejs can be used to replace jQuery however it does not have the simple syntax, you do get data-binding for free without using its full-blown SPA framework. However you do need master a lot more concepts comparing to jQuery.

React/Angular are both overkill for 90% use cases, unless you're doing a serious SPA that is.

For me it's between jQuery and Vuejs these days, I learn both, one reason I worry about jQuery is that it's losing some steam and the development is not very active. Still I'm excited about this new release.
This is a really good and simple to use suggestion!
This pro-slavery attitude was huge from you people.

Black people enslaved other blacks in Africa, Latinx shipped them to America where the natives were also enslaving each other. White people put an end to all 3 of these activities, everywhere. This is historical fact.

PS I am Welsh.
They're implying that the problem of rents going up 30% in 5 years was not solved by limiting rent increases to 7% a year.
1. They won’t hand it over. Bitcoin and it’s participants are taking it.

2. This is the same question as 1, isn’t it? Again, Bitcoin is people voting with their feet (so to speak) to take power away from governments.

3. Economic sanctions punish the common folk more than the evil governments. Bitcoin simultaneously takes power away from evil governments (see 1 and 2) and gives power to common folk.

4. I think you are alluding to one way governments can try to fight what is happening in 1, 2, and 3. If governments really try and crack down on exchanges, people will simply transact directly in Bitcoin. Those who have accumulated it pre-crackdown will purchase goods and services using Bitcoin, people who did not obtain any pre-crackdown and want it will offer goods and services to those who are offering Bitcoin.

In all honesty, these extreme scenarios are far fetched. Governments all ultimately get their authority from the people. If the people are choosing Bitcoin, the governments won’t fight it for long.
Yes, which is why I didn't say anything about horses.

Opposition to cars, like opposition to bitcoin, isn't rustic ludditism. There are modern solutions to transportation that are superior to cars, like rail, frequent busses, and bike infrastructure, but lose out in funding and hype because they're not prestigious and utopian like cars are.

Likewise, Bitcoin does not solve any problem that any other transaction network technology can't solve, but it gets all the attention because it's flashy and new and utopian.

And if you think cars aren't utopian, tell me the last time you've seen an automobile ad that showed somebody being stuck in gridlocked traffic in the lincoln tunnel inhaling gas fumes for over half an hour. I will contend that there does not exist a single automobile advertisement that shows the average car owner's typical experience of driving, certainly never in an urban setting.
> Signed overflow is undefined behaviour regardless of the target hardware architecture.

That's what I said. If your program is correct (it may-overflow like everything does, but doesn't dynamically overflow), then by undefining overflow, you can tell the compiler that it doesn't happen. That lets it reorder operations in a way it couldn't if every + potentially wrapped around.

> No, you absolutely don't.

You seem to have said "no" and then agreed with me. I was proposing trapping on all undefined behavior in debug mode!

> You use exceptions or some other well-defined means of detecting and handling runtime errors. For example, Java's NullPointerException and Ada's Constraint_Error.

Trapping is plausible, but that's not always how people want to fix undefined behavior. For instance some people want undefined memory reads to return 0, or want overflow to wrap. In that case it's hard to distinguish errors from intentional behavior.

I don't like exceptions very much either because control flow gets more complicated. Trapping like Swift does is fine, though.
Agreed. The only food items that McDs have not vertically integrated are sodas, everything else is bound to end up part of their supply chain.
> The population of Germany is declining,

Germany's population is increasing over time. In fact, 2020 was an all time high [1].

> Berlin population has been stagnant since 1950

Between 1980 and 2020, Berlin's population increased by half a million people [2]. In addition, it's population has increased every year since 2004 with an average of ~0.3% yearly increase.

[1] https://www.worldometers.info/world-population/germany-popul...

[2] https://www.macrotrends.net/cities/204296/berlin/population

edit: formatting
In the latter case, the person who sold the castle can use the money to build a new castle.
An indie developer announced today that their Super Monkey Ball-inspired game will be going into early access on Steam later this month: https://www.youtube.com/watch?v=YN_XnekG6Ac

It looks to be incredibly close to those original games.
I don't have that data, but I have an anecdote.

I buy them about 4 times a week on my way to work (its a really convenient stop and I don't get fries, cheese, or mayo with it).

When they were new, they would sometimes be out of stock. But I haven't encountered that in probably six month or more. They really seem to be fully supporting the product. So hopefully that means they're selling pretty well!
There's a difference between commiting hacky-but-working code during an Agile sprint and commiting code that allows unsanitized input to a SQL query.
I like it. I've also taken to doing something similar with other interactions - when weighing in on decisions I try to say up front how much I care about the feedback I'm giving. Same with messaging people on slack - if something is non urgent or has no action required, I try to say that up front. No idea if this helps people on the other end of my messages, but I like to think it does.
Primadona dev here :)

>> most of those "primadona devs", as you call them, would much prefer to write well-designed programs cleanly coded

Most of them - yes.
But there's a non-negligible chunk of them who are too careless or incompetent to care about quality - they've been around long enough to gain knowledge about project and get Vice-President title(inflated ego included).

It is especially visible in big banks (I suppose it's typical for other big non-tech corps as well) where tech culture is generally on poor side.

edit: grammar
> I've done embedded work on MCUs with less horsepower than you probably have in your headphones.

MCUs are awesome. Given a 100mhz single core M3, half a meg of SRAM, some serious fun can be head.

(honestly 512K SRAM would be insane, but doable now days)

People don't realize that with a purpose built runtime and well crafted code, 100mhz is a LOT of power.

Modern OSes, complicated software stacks, preemptive multi-tasking, and the need for flexible general purpose usage, eat up a huge percent (I'd say well over ~70%) of the usable computing capacity in the devices we deal with every day.

Now I write web services that spend more CPU and RAM decoding JSON than entire runtimes I helped design. Go figure.

Of course productivity is a bit higher, having to design and code the most optimal binary serialization formats for every single task takes a lot of time and effort, but wow is the end result fast and memory efficient!
It's extremely unlikely that the court will strike down the law in a way that this situation arises. It's not like everybody starts to pretend that a law has never existed if it's ruled unconstitutional. Usually arrangements will be made for those that relied on it. Especially in a case like this, where another basic right is affected.

(It's two months btw)
As someone who is in a STEM field (CS) I would say that all the reasons you mentioned apply to me personally. There are some conferences where being a reviewer can be very tedious due to the massive number of submissions (many of which are unfortunately fairly poor quality) but I haven't had this problem in my own subfield.
You can't do #2 without doing #1 - most in-demand land is already occupied and unused land is typically not worth developing (or doing so would cause environmental harm).

In an all-owner-occupant suburb, this isn't so much of a problem: you're literally paying people lots of money to accept the disruption of having to move. However, in almost every other kind of housing arrangement, ownership over the building is separate from occupancy, and it's not the occupant's choice to make regarding increasing the housing supply. This is the left-NIMBY trap: any action to increase housing units necessarily displaces the most marginalized parts of society. If your pro-development policy doesn't include a plan to house people who are being displaced without increasing their expenses, then you're likely to make people start protesting the new buildings that need to be built in order to accommodate demand and actually cap rent growth.

Other than that, yes. Make housing printer go brrr.
It's not that more complicated. There are after()/before()/closest()/remove(), and a lot of other similar easy to use methods these days.

It's not el.parentNode.insertBefore(new, el) and el.parentNode.removeChild(el) days anymore.
Some more I can suggest:

- Password Store and OpenKeychain (pass+git client)

- Termux (terminal emulator etc.)

- Shelter (work profile/app cloning)

- LibreTorrent
When I went to school the instructor talked a bit about Ada, but as far as I know there weren't any compilers available that mere students could afford. This was in the mid-90s.

I remember doing a bit of comparison of the syntax between languages, and Ada's lack of anything like a switch/case statement stood out, but the instructor did talk up the idea that if you could get it to compile it would run in Ada, assuming you didn't hit a compiler bug. Apparently getting the compilers working properly was a problem at the time.
To get to those rules the content must first be "pornographic". Nudity does not necessarily constitute pornography, else any R-rated movie would qualify. The "image and likeness" standard applies if there is some form of apparent endorsement. If I see Paris Hilton at the gas station I am allowed to snap her picture and sell it to the tabloids. I might blur out the gas station's logo before her face.

Copyright attaches to the creator, not the subject. This came up in iPhone hacking cases. You cannot demand a takedown of a picture just because you are in it. If you are in it then you didn't take it and so do not own it. The person with copyright is the person holding the camera. You need to purchase that copyright from them before sending your takedowns. There are ways to acquire copyrights without the owner's consent, but they are not cheap. (Default judgements against owners then foreclosing on the copyright as an assets etc.)
Bitcoin exists because electronic banking requires trust in centralized financial institutions.

When you see the entire stock market move because the Fed chairperson makes an offhand comment about when they'll start or stop doing xyz policy, you realize having such a highly centralized system is dangerous.
Are there stats to back up that non-vegans begin consuming more vegan based meals if they have the option? And I mean more than once. A consumer might try it but then go back to normal. At there good stats on repeat buying on a large scale?
People hate fake meat. It's also horrible for you.
IMO this is the better solution to methane...

https://www.npr.org/2020/12/02/941030964/adding-red-seaweed-...
Right, it's emulated but not universal or built-in. Nothing in JavaScript will enforce using getters/setters, it's 100% up to programmer discipline or adding a linter (if any linter has this as an option) to ensure both the creation of the accessors and their use.

The benefit of this in Ada is that it is universal, and it requires the programmer to do nothing special later on except to not turn off the runtime checks. Using that above example, this would be a runtime error:

Reading : Integer := Get_A_Reading(...); -- In some run Reading gets 0 for some reason
Temperature : OperatingTemp;

...
Temperature := OperatingTemp'Value(Reading); -- runtime error in Ada if Reading is invalid

And because OperatingTemp is a distinct type, you never even have the option to do:

Temperature := Reading; -- doesn't compile

Also, in most OO languages where you'd make temperature an internal, private variable you can prevent external users of the class from interacting with it incorrectly, but you can't control internal users. Consider this Java-ish example:

class Thermostat {
private int temperature; // should only be in [33,90]
public void SetTemperature(int value) { // check range and set }
public void AnotherMethod(int value) {
// good discipline would be:
SetTemperature(f(value));
// but it's not strictly required so this is also allowed
temperature = f(value);
}
}
I believe this good-news press release was timed to counter the narrative around their unfavorable earnings report.
Jan 2020: https://www.foxbusiness.com/markets/burger-king-franchisees-...
This BS made me want to tear my hair out:

VerboseTypeName foo = new VerboseTypeName();
I think either beats any frozen beef that gets served at a cheap fast-food joints while neither comes close to beating fresh, high-quality beef. They can take over the entire bottom of the market which is probably the most unwholesome for the environment.
" Lovecraftian hieroglyphics of Fortran’s various eldritch incarnations."

I take it the Author hasn't seen any APL code.
Tweetbot 6 for iOS Review: Still the most beautiful Twitter experience in 2021
Concrete is indeed a major polluter, your point stands. The world is already experiencing a severe shortage of concrete, it's that valuable. But it's also very hard to switch to alternatives as concrete has the best compressive strength per unit volume and is very well understood as a building material. Plus, it's hard to build high-density housing out of mud huts (buildings require concrete).
Absolutely not at all. Statistics and geometry are very different fields. Sure they both use some part of mathematics and an undergrad level statistics and geometry curriculum will have many common classes, but at post-doc level it is definitely surprising. I'm not saying a statistician is not qualified to do research in geometry -- they might be competent enough to do so -- it's just surprising because statistics and geometry work on different problems.
Headline is "Adding Red Seaweed To Cow Feed Could Cut Bovine Flatulence"
Works for me on firefox nightly on linux.
I agree that the title is very poor. "Robot AI beats world-class curling competitors at throwing accuracy" would be better.

It's still an impressive feat.
Tanks Of Tienanmen – Binance Smart Chain
You spend more money than you make to grow revenue and capture market share. Then you try to slowly become profitable over time. It's how nearly every growth company operates, whether it is a startup or public company.
Rationing does nothing to increase the supply, and distributes the existing supply to people who don't need it. Rationing assumes everyone has exactly the same need, which is nonsense and leads to gross inefficiencies. Rationing inevitably leads to hoarding and a black market.
Not unusual. Look at Blue Apron. https://www.wsj.com/market-data/quotes/APRN/financials/annua...
Bitcoin obviously offers some value to some people, but I think bitcoin's greatest innovations were social.

The bitcoin community has innovated all sorts of social tools for advocating causes and pumping assets. Could $TSLA have reached $850 post-split without these techniques? Maybe. Could $GME have reached around $350 without an army of "diamond hands" and "to the moon" (read: crypto memes)? Definitely not.

This may feel like a stupid point, but I mean it. Goldbugs have been a thing for forever, but the sort of digital advocacy that bitcoin sees puts them to shame by comparison. Not only is there a hoard of crypto fanatics ready to tell you why sitting out of bitcoin is the worst decision you've been making your entire life, but you can even get several entirely disjoint explanations for why bitcoin is something you should invest in (some at a glance: it's going to make digital payments easy, it's a scarce asset like gold and will only increase in price, it will replace fiat as a global currency, it's a revolutionary technology and nothing else like it has been seen before, etc). Similarly, if you try to critique any one of these, another supporter will instantly take up the fight by moving the goalposts to their preferred explanation on why bitcoin is great. (Oh sure it can't do many transactions, but it's not actually for payments it's digital gold...)

This isn't meant to be derogatory against bitcoin supporters, but rather an expression of wonder. It's clearly not a fluke: bitcoin drops off the radar for most people and comes back every couple of years, clearly whatever the supporters and investors are doing to advocate for it is working.
It's sad reading comments like this from bandwagoners who haven't read a single academic or technical whitepaper on the technology, let alone the hundreds of them that have emerged which prove / annotate / express / clarify, in exhausting detail, all of the "fundamental problems" that Bitcoin's PoW protocol have, as well as far superior approaches that are in the process of being implemented.

But it's cute. You like Bitcoin. You're a good cheerleader.
Watchy: Hackable $50 Smartwatch
It's also for sale at Costco: $16 for 2 lbs which matches the pricing of the Trader Joes.
>market is hard to read!

The stock market guidelines has been the same for a very, very long time.

Shares collapse on bad news, fall on good news, and rise on no news.
Maybe. But the author says speed IS the killer feature (for products) so it has to be true at the higher level too. UX is the perception of the user of the product and their, well, experience using the product. If it's generic it's because it really is that generic, because users won't know why exactly they like a product.

But in the case of iOS vs Symbian:

- as others said: capacitive touch screen (this is not an OS issue, but iphone was among the firsts to use it, definitely earlier than Nokia). This is huge. Like the thing that everyone was talking about (around me) when the original iphone came out is how you could swipe to see the pictures. And it wasn't just for paging, it defined how you could interact with the phone (think pinch zooming, and rotation - not sure when these were added).

- the touch screen UI itself. Nokia played around with the touch UI before, but never really liked it. It was expressed several times internally, that touch is just a no go. But no wonder: the resistive touch screen is pretty bad, but also Symbian itself was built on the assumption that all you have is keys while iOS was built with touch UI in mind from the very beginning. (Now, of course touch was added to Symbian, but that's just not the same. Or they didn't put in the effort. Nokia even had an experimental touch phone released to the market in 2003, the 7700[1], but it was mostly ridiculous.)

- the UI just was a lot more polished, looked better, classier, the graphics was better. They had OpenGL and probably a graphics accelerator - nothing like that in Symbian, of course. (It even took the android guys by surprise, I remember reading/hearing in an interview that when they saw a demo or the release, they've realized that they had to redo the UI from scratch. Because before that they had this Blackberry-ish/Symbianish idea, they thought they were competing with that.)

- I'm pretty sure it had a better browser.

And this pretty much defines the experience, the feel a user gets from the phone. It couldn't send or receive MMS-es (some people may have used it then, but most I guess just wanted to have the feature), it couldn't receive 'push' email. I.e. you had to manually refresh your inbox, emails didn't just arrive. It didn't even have apps. Symbian had all these. It has had these for years then. It even had an app store like thing (at least you had to send in your app for verification which would then be signed by Nokia or it couldn't be installed - that was a new thing around 2004-2006, something I think nobody really did before).

[1] https://www.gsmarena.com/nokia_7700-570.php
Okay but Pizza Hut literally brands it as Beyond: https://www.pizzahut.com/c/content/beyond-meat-pizzas/index....

and so does KFC? https://global.kfc.com/press-releases/kfc-beyond-fried-chick...

so I think this doesn't fully explain it?
Sure, although in languages like Java that lack operator overloading the syntax gets messy.
I'm late to the party here, but as stated in other comments, dyplr / Linq etc. Compose better so you can extend a query easier.

Another advantage of composable syntaxes is that you can lazily evaluate parts of a query, and combine others, which allows the equivalent of a CTE on parts of a query you need to optimise.

It's also true that SQL allows pushdown of queries to the database much easier than composable syntaxes, as SQL is usually the native language there.
As such it can make for a more exploratory syntax than say graphQL where you need to define joins at design-time.
“Locked” for 300 years: Virtual unfolding has now revealed this letter’s secrets
Tried it a single time just to entertain a co-worker. The smell was putrid and overwhelming - like a mix between ammonia and raw intestines from a gutted fish. All got thrown away but the smell lingered in the kitchen for a day or two.

Just terrible lol. I don't eat at any of these places, but I'd be interested to see how much is sold.

Just one of those products where everyone raves about it online yet I've never heard someone actually talk about it, seen anyone actually eat it and in my own test it was just awful for even the least picky eater. Think the hype surrounding this product is all fabricated.
This is a typically frustrating fs article.

The article is not about thinking, in general, or about some nebulous thinking rate concept. It's about decision making under pressure.

There is a really good nugget in here. I've know it for a long time - but only intuitively, at first.

> If you want to make better decisions, you need to do everything you can to reduce the pressure you’re under

You need time and mentation to integrate and understand the details of a problem. This is especially the case when the situation is new/unfamiliar (to you, at least) and/or it requires learning new/unfamiliar things. Pressure disrupts your normal cognition
Does Zero Exist Outside of Human Thought? (Math Platonism vs. Nominalism)
"In a fun episode on one of my favorite podcasts, Elucidations (Episode 42, 12/12/12), philosopher Agustín Rayo argues that the number zero exists independently of human thought and behavior."
>It’s still neat though for sure.

Exactly. I've stopped getting riled up about a catchy misleading headline. Life's too short. The interesting part is afer that.
And, even better, arrays in Ada (can't speak to Pascal) can be any discrete type so long as it is a range:

type Character_Histogram is Array (range 'A'..'Z') of Integer;
-- syntax may be off, not enough practice to do this cold right now
I agree, Beyond overdoes the fake smoke flavor. But they seem to be better equipped to scale up than Impossible, they've beaten them to mass market in almost every location I've seen.
I’m not sure if you’re kidding or not but cars are way way more dangerous than horses.

Over a million people die every year in automobile related accidents.
I think the parent's point is that since price increases are capped, landlords cannot increase beyond a certain point in a single bumper year. To compensate, they may increase rents beyond what they would otherwise to be able to maintain a similar average increase. Citation is needed, of course.