jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Synergy looks like "uce" here https://gist.github.com/WebReflection/761052d6dae7c8207d2fcb... But I can see you use "Template Parts" syntax.

Can you explain, what technique you use to update DOM (I'm lazy to walk through code base), is it proxy object like Solidjs, or something like "uhtml". How do you manage to dispose event listener internally (is memory leak possible around that?)

---

Just read some docs it seems like using Proxy!
The tulip thing lasted for a few months.

Bitcoin has been the best preforming asset for the past 12 years—better than gold, stocks, bonds, etc.

It's quickly closing in on a $1 trillion market cap.
There really should be more talks in musical form!
The other side of the story is equally problematic. QCOM got into hot water for engaging in a pretty abusive licensing model. Here are a couple of examples:

If you wanted to use one QCOM patent, you'd have to pay for a suite of patents that includes IP you have no interest in using.

If you want to use a particular technology, the pricing would depend on the total price of your handset -- even if the difference in handset price has nothing to do with the Qualcomm technology.

Their business is tough because they basically spend years inventing technologies and then more years licensing them and defending their IP in court. Still, if you have to draw a moral/ethical conclusion I'd suggest that (at least in part) Qualcomm brought its 2016 Apple woes upon itself.
What would you replace capitalism with?
The $1B question is whether or not this cycle of climate tech is different. There's some good reasons to believe it is. Climate change is much more dire and we're starting to actively feel the effects. Consumers and governments are more aware of it and actively want solutions, which means there is real market demand for electric cars, clean energy generation, etc. This all means that, unlike cleantech 1.0, there are real business models for these startups.
My group at Goddard has done work on the JWST detectors. JWST is a big deal here. It also scares the crap out of me, due to the gymnastics that are needed to get it unfolded properly, in a location where repair is impossible. A lot of people will be very, very happy when this thing is in orbit and working.
I agree, but the article was specifically talking about oil, not fossil fuels. But I don't think we're dead in the water on the electrical utility front - fusion research is finally starting to enter the final stretch before commercialisation - ITER is expected to get us to the point where we can construct the first commercial-break-even reactor:
http://www.iter.org/proj/iterandbeyond

Actually, I find ITER as a pretty good indicator that governments around the world don't feel like they won't be hurting too much on the energy front for quite some time. If they wanted to, they could up the (in context) risible investment in fusion to get a working reactor up and running by the mid-2020s. I mean they're talking about investing about $1billion per year for the next 30 years, from the entire planet. Up that to $5billion, and you can halve the development time. They really aren't terribly concerned at the moment.

On other fronts, Laurence Livermore is starting to get interesting with their inertial fusion designs:
https://lasers.llnl.gov/programs/ife/how_ife_works.php

And of course nanotech may yet allow us to produce the cheap, efficient solar panels that would be needed to use solar as a baseline energy source. So no, I don't think it as being much of a risk to move car energy over to electricity, starting today.
Interesting. Any reason it sounds so much like "Haskell"?
Even after your explanation, the name "reset" and "--mixed" make no sense to me. "reset" is not indicative of what's being reset. "--mixed" is almost meaningless. "--soft" and "--hard" are also mostly meaningless.

I'm OK with having a low-level primitive like "reset" that doesn't have a simple meaning so cannot have a meaningful name. But then, it should be wrapped with meaningful commands such as "moveto" with flags to avoid touching index or working tree, and "unadd" on top of "reset". Then, I don't think anyone would ever use reset directly, so it would probably be phased out :-)
I do get your point.

I read a comment once: "Uncomment this if the site crashes!"
And there was an SQL query commented just below.

While that does make for pretty bad code, I guess you need to take circumstances into account. Stuff like "did they have time or budget to fix the bug the right way?" "Is this piece of code meant to run when testing the app locally so it doesn't send emails?" And all that jazz.

But, as you pointed out, an explanatory comment does wonders and conveys the right context for the commented code -- which was my original problem.

Thank you for taking the time to reply, Chris.
Running an application written in Javascript in my browser is more convenient and surely no more dangerous than installing and running an application written in C/C++/Java/whatever directly on my computer?
What would be the difference between such a flat tax and inflation? If you want to tax everything that is denominated in US dollars, simply print more money and allow a higher rate of inflation.
Merely a coincidence, we're JavaScript all the way down. Although if you really wanted to, you could run something like this: https://github.com/sviperll/ghcjs
Easier said than done :(
Google Appengine (and presumably Azure) takes you some of the way there - it removes all the sysadmin side of things, and solves the scaling problem at the same time. You still need to choose a framework etc, but it is a compelling choice for a developer-centric startup.
You don't think the tests are cheap and fast to allow waiting lines to move faster and to save money?

Everything would move much slower if you had to wait 5 minutes in an 'expensive and slow' device.
How accurate is the explosives detector? What is the rate of false positives?
why do people insist on using the phrase "repeatedly set off the explosive detector"? if there is a substance on his person or bags that made the detector register a false positive, it is naturally going to register that same false positive every time it is run over said substance. the repetition means nothing.
Thanks for the thoughtful reply, but respectfully, this seems to still be begging the question.

> ...it is wrong on the populace's part to think that just because they aren't privy to the oversight that it isn't there.

The populace seems to be decreasingly comfortable with the information currently available, especially when much of that information seems contradictory or deliberately deceptive. I have no doubt that you're right, that a more complete picture would obviate a lot of the public's concerns; so it's sensible for the public to demand a more complete picture.
I'm curious, what do you feel "Google's offerings" are when it comes to education?

I'm asking because besides search, and the ability to search effectively, which I think is a very necessary skill for a modern education, I've never considered Google as company with educational offerings.
It's certainly possible to both be rude and write books that help people. The two behaviors are not mutually exclusive. I think it's completely reasonable to laud Zed for his efforts to teach while questioning his manner.
Yep, bought a Pentium 66 MHz in 1995 with 8 MB, around the same price.
The 9/11 attack was a mass murder event.

Saying “America deserved 9/11” and “I’m okay with arsonists being killed by militias when the police can no longer maintain the peace” are both moral statements about mass casualty events — but neither is a call to commit a violent act.

> “if it takes someone committing mass murder to stop [serial arsonist gangs, when the police fail to stop them], it is justified”

This is clearly a statement of personal ethics — it’s discussing the cases in which the speaker believes violence is just, not calling for specific acts of violence.

I think you know that.
Thanks for writing this up. I'm always interested in new approaches to visual programming, that move away from text -- your comment tells me that DynamicLand is still firmly anchored in text-based territory.
I think the time has passed, both in terms of there no longer being a BDFL, as well as Python passing a point where the call can be made.
well if you realize there was misconduct 25 years in to the 30 year sentence then there wouldn't be much reason to come clean, I mean you might be part of a team where X did something wrong, did you do something wrong - when you find out about it and don't come clean you did. Anyway a law should maybe take that scenario into consideration, or, in the American system the courts would have to decide the edge case.
Do you have an actual response to this point or are you just criticizing that multiple people made that same argument?
If you read my comment I think it’s clear that’s exactly what I was saying (albeit in less detail).
A couple big companies versus hundreds of small companies in a given industry is a strong feature of leftist driven governance, whether it comes from republicans or democrats. For the little guy they are definitely not.

Big governments love a couple big businesses because it’s much easier to infiltrate, influence, control and ultimately procur wealth with that small group of businesses rather than attempting to influence 100’s or even 1000’s of smaller and independent companies.

So the next time you see 3 domestic car companies, and 3 airplane makers, and 4 toilet paper makers, 3 oil companies, etc. Understand they want it that way because of control and $$$$.
Generally these are crimes of intent so good faith mistakes are unlikely to yield a sentence.
I assume because these are huge claims however they support these claims with their own blog site rather than a peer reviewed journal etc
Yeah, the not invented here syndrome.
There's probably some performance degradation and I've occasionally experienced weird behavior, but it's caused much fewer problems than Alfred did.
The author forgot to add a license for this project. What shall we assume?
One thing yield/await does is that if plays nice with existing control-flow mechanisms in the language. You can put them inside a for loop, if statement, try-catch block, etc. With promises all of those have to be reimplemented in a library and all your code needs to be converted to the "promisified" version of things.

The different syntax also prevents you from creating functions that can be reused by both sync and async code.

The big thing promises and other callback-based control flow libraries do is that they fix exception handling in async code (its a PITA to add error handlers in every callback when writing async code by hand). They also let you avoid some of the awkward "pyramid of doom" nesting but thats not really killer feature because you can also achieve that by using tons of named functions.
What's terrible about throwing in such a case?

Edit: Apart from the terrible behaviors of browsers to just silently ignore all errors.
A while back I had to compile my own version of DOSBox because the official version doesn't call glClear() when swapping buffers. The issue tracker had a multi-year-old bug report about it, but the developers insisted that the driver was bad despite the OpenGL specifications stating quite clearly that one cannot assume a buffer hasn't been modified when using SwapBuffers and must clear it.

So it really comes as no surprise to me that there are actually many DOSBox forks.
Russia invaded Ukraine. If you don’t like the new democratically elected government in a nation you can’t invade them.
It's called Biological Immortality[1] and there are a few examples of animals that are considered immortal.

[1] - https://en.wikipedia.org/wiki/Biological_immortality
You can download the program from a PLC that supplies the logic aside from labels and comments, if that isn't available anymore. Some PLC even supply the complete project, but that is unlikely on such an old device.
Public ownership meaning open source?

Source for localCDN - https://codeberg.org/nobody/LocalCDN

LocalCDN's developer is extremely pro-privacy. The extension collects nothing. Privacy policy is one sentence.

https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork...
https://www.localcdn.org/privacy.
You have: 1 kelvin
You want: degcelsius
* 1
/ 1

This does not seem right
Counterpoint: This isn't a "loophole" or a "flaw" in capitalism. This is just capitalism working exactly as it was designed.

The entire point of capitalism is to acquire as much capital as possible, not to be the best at what you do. It's not a meritocracy. The best idea doesn't win - the best FUNDED idea wins, which means whichever dumb idea that benefits the rich the most is what you're going to get.

And if the rich people who own Match.com decide that buying up every competitor and rolling them into their platform is what's going to make them the most money, that's what they are going to do.

Don't view it as a flaw of capitalism that needs to be fixed, think of it as a feature of capitalism that necessitates a conversation about alternatives.
You're right, I completely assumed DNA as any other data point about a person. Except it is quite clear there is no need for that unless you are planning on super soldiers research, or some other way of separating people through genetics (violence like genocide, or a sort of discriminant for creating an elite class).

Both of these sound more like Nazi Germany, but we are also coming from a western tradition of democracy and individualism. But again, there really shouldn't be a need for DNA collection of EVERYONE, that's Orwellian.
My use case would be to use it on macOS-10.15 to run DOSsy apps, but it doesn't work: ‘The application “dosbox-x” can’t be opened’. No indication as to why exactly. The current original DOSBox does work, however. So, at least for that OS, the current verdict is: Mission failed. Maybe future releases will fix that? Why the devs put a clearly nonfunctional app up for download is beyond me.
Yep, I wouldn't be surprised if the tax write-offs for this made the 'real' impact far less.
My jaw dropped at this point. It's more like "fuck being a well-rounded person". Or fuck understanding references that educated people make in everyday life.
One thing I've found helpful over the years is mixing free and paid work. You can use them as a ratchet to work your way up the mountain of your career. In my experience you usually get paid to do what you don't love and you usually don't get paid to do what you do love. So if there's an area you're interested in you may need to do some free work there - an open source library, or offering your time free/cheap to prove yourself or learn. If all goes well, you have something in your portfolio you can point to and say - "I can do that" and some people you worked with who will vouch for you. It's a slow process and requires you to know what you want. Bottom line, if there's an area you're interested in and don't have experience there, you need to spend effort figuring out how to get experience there.
On a Mac, you can store the key password in Keychain. The key is still protected but you don't need to enter the password on every push.

Just create the key and then try to use it. An OS X password dialog window will pop up. Enter the key password and check the box to save it. Done.
Shameless Plug: I built a simple app which allows creating/managing and hosting static websites using Dropbox: http://www.websrvr.in/
It minifies and gzips all your html, js and css too.
Side question: Any advice for a stats junkie wanting to transition into data science? I did graduate statistics on small data sets so I'm missing the big data piece of the puzzle.
Releasing is good! I would like to see a "real world" example of crafty, though.

I have to admit, I got sticker shock from Impact.
> LET* indicates bad code, something I never understood

Neither did I, until I encountered something along the lines of:

(let* ((foo ...)

(foo ...)

(foo ...)

(foo ...)

(foo ...)

(foo ...)

(foo ...))

...)
I anticipate a lot of people would think so (which is why I called it a tradeoff no one would agree to). It would be more interesting to know why you think it's a terrible idea.
Thank you. This is a modern approach. I'll look more into it, and the other CMSes you list. I totally agree on the non tech mindset of blocks, and not templates.
Hmm, I always thought it came from the Beatles' record company.

The more you know...
Mine are all still down.
Sid Nagel (experimental) and Tom Witten (theoretical)

Papers
http://jfi.uchicago.edu/~tten/Coffee.drops/
News
https://mrsec.uchicago.edu/research/nuggets/coffee/stories.h...
Oh boy. Screenshot that!
I thought SilverStripe was pretty good when I first looked at it. The framework it's built on is actually not as good as they hype (in my experience) and documentation lacking... but from the enduser standpoint it is a pretty good mix of ease-of-use and power. The blending of traditional concept of posts and versioning of a wiki - all centered around the mighty URL - was one of the best executions I've seen.
Suggest also hanging out in #linode on irc.oftc.net. Perihelion is being very patient and answering questions.
Renewable energy sources such as solar and wind work much better in a distributed system in which individual homes and business are responsible for their own energy production. Besides energy, I think the shift toward healthier and organic food will lead to many people with land to have their own gardens and grow their own food.
I mean the intellisense (autocomplete + docs
+ method signature) in xcode blows chunks
compared to Visual Studio or even Eclipse.

That last sentence left me puzzled, seeing as how eclipse has much better "intellisense" for java than VS does for c++ & c# (at least out of the box - resharper brings it close to eclipse-levels with c#).
Surely that's a redundant concern? Wikipedia is already open to being edited; companies can and have been caught editing entries relevant to their interests.

Now, Wikipedia is not a reliable source, and never will be in its current guise, i.e. with the anyone-can-edit philosophy. It's no bad thing, I love Wikipedia and can spend hours enjoying articles there.

Where I'm going with this is that claiming conflict of interest or impartiality problems if advertising is to be introduced, well that just doesn't make sense - there are too many other factors that make Wikipedia unreliable.

Personally, I think it's a convenient excuse for an otherwise noble cause: advertising is ugly and intrusive, and in a perfect world it wouldn't be required.
After reading about the money they spend... no thanks. I'll find the link, but apparently they spend over $10,000,0000 a year and this year they're aiming for $25,000,000. That to me is just ever so slightly ridiculous.

Actually that was easy, here is their financial information: http://wikimediafoundation.org/wiki/Financial_reports and a specific outline of what they want to make/spend is on page 12 of this PDF: http://upload.wikimedia.org/wikipedia/foundation/d/dd/2010-1... (Scribd: http://www.scribd.com/doc/43973767/Untitled?secret_password=... )

Edit: To clarify, the issue I have is with the increase, not the costs for this year. They're going from 10m to 25m and I don't understand how, if there's an explanation somewhere please do link :-)
Giant African pouched rats are even better sniffers than dogs. Might be some, uh, cultural challenges to deployment though.
That's a good point. Certainly simpler expressions are possible in the case where the divisor (5 in this case) is a factor of some power of the base: if the divisor is a factor of (base)^n, then it suffices to check the last n digits.

I didn't want to add a special case for that, because this is intended as a demonstration of the general algorithm. I do think it's remarkable that such a simple algorithm works. The actual algorithm is just this code:

/**
* Generate a DFA that takes a string representation of a number in base `base'
* that computes its numeric value modulo `modulus'.
*/
function modular_dfa(base, modulus) {
if (base < 2 || base > digits.length) {
throw "base ("+ base +") is out of range";
}

var dfa = DFA.create();
for (var i = 0; i < modulus; i++) {
dfa.addState(i);
}
for (var i = 0; i < modulus; i++) {
for (var j = 0; j < base; j++) {
dfa.addTransition(i, (i * base + j) % modulus, C(digits.charAt(j)));
}
}

return dfa;
}

/**
* Generate a regular expression that matches only multiples
* of `divisor', when expressed in base `base'.
*/
function divisibility_regex(base, divisor) {
var dfa = modular_dfa(base, divisor);
for (var i = 1; i < divisor; i++) {
dfa.eliminateState(i);
}
return dfa.transitionRegex(0, 0).toString();
}

I'm not sure why you couldn't make it work. Perhaps it wasn't clear that you need to anchor the expression with ^ at the beginning and $ at the end? I just tried it in Ruby, and it works just fine:

re = /^
(
[05]
|[16][16]*[05]
|([27]|[16][16]*[27])([27]|[16][16]*[27])*([05]|[16][16]*[05])
|([38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))
([38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))*
([05]|[16][16]*[05]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([05]|[16][16]*[05]))
|(
[49]|[16][16]*[49]
|([27]|[16][16]*[27])([27]|[16][16]*[27])*([49]|[16][16]*[49])
|([38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))
([38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))*
([49]|[16][16]*[49]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([49]|[16][16]*[49]))
)(
[49]|[16][16]*[49]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([49]|[16][16]*[49])
|(
[38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))
([38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))*
([49]|[16][16]*[49]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([49]|[16][16]*[49]))
)*(
[05]|[16][16]*[05]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([05]|[16][16]*[05])
|([38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))
([38]|[16][16]*[38]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([38]|[16][16]*[38]))*
([05]|[16][16]*[05]|([27]|[16][16]*[27])([27]|[16][16]*[27])*([05]|[16][16]*[05]))
)
)*$/x;

0.upto(1000) { |i|
puts (i.to_s =~ re) ? "#{i}: yes" : "#{i}: no";
}
I'd add - The best marketing is baked into the product, not bolted on later.
If the slides are good to be read instead of the paper, they were probably awful as a support for the actual talk.
I voted with my feet - I have long since stopped using Facebook for anything other than an occasional game playing platform. Unfortunately I haven't yet found a suitable replacement to use as a social network, but I live in hope...
"Bringing Sockets to the Web" the title is a "bit" misleading.
I also prefer google meets, specifically because its live transcription imo beats out zoom's. This is useful/important for people that can have disabilities which involve speech processing. (eg. I know of people with ADHD or autism who would need to request something be repeated simply because the brain didn't process the sounds as speech the first time or something similar, when this isn't a problem when reading text.)