skysight-inc/HackerNews huggingface dataset:
There are all sorts of bells and whistles you can choose when it comes to Clojure, but I would recommend you focus in one thing for a start, just plain Clojure with the JVM.

Download a Clojure jar [0], the following command opens the REPL:

$ java -jar clojure-1.10.1.jar

... you can also run the file you are editing:

$ java -jar clojure-1.10.1.jar file.clj

... that's it! You can go a long way just like that, the start up time of running scripts is not that bad.

Gradual improvements:

* Perhaps install a clojure package [1] instead of using the jar. The jar is nice to understand the main Clojure compiler is at its core just that, a Java program... but the package installed with brew or apt will probably (depending on your OS and how up to date the packages are) also give you a global `clojure` or `clj` command that you will see around in tutorials. Just makes it easier to follow the tutorials!

* Use rebel-readline [2]. Just follow the readme!. It gives you a nice coloured command line REPL with all sorts of cool features, but you don't need to make use of all of them at once. Take your time!

* Choose an editor with good integrations. Obvious choices: VSCode+Calva extension, IntelliJ+Cursive, or Emacs+Cider. The main thing about having a good integration is the instantaneous feedback of sending chunks of code to the REPL, although for a slow start you can do the same just copying and pasting code from the editor to the REPL!

About books: I read 3 or 4 different ones... most books I read were pretty good, some of them are available online for free! Confidence comes from writing lots of code mostly, though, not just reading. I'm not proficient enough yet that I remember the APIs yet so books help to gimme a cohesive roadmap of things to learn.

Suggested little "project": I also found this library [3] that is cool to play a bit with random things to produce some graphical output. It is a wrapper around Processing.

Good luck!

Caveat: there are many ways to do teh same thing. This comes from a focus on libraries over frameworks. Also, the whole JVM API is available to you so for a lot of things you are supposed to just use the Java APIs. Don't bother about wrappers or clojars for a start, just call Java from your clojure. Is fast, fun and easy! :-) Pick one way of doing things and do it for a while... even if it doesn't give you the "fullest of the performance" for any given task, it will be an OK vehicle for you to learn and get familiar with the ecosystem. Classical example: http servers.

0: https://repo1.maven.org/maven2/org/clojure/clojure/1.10.1/

1: https://clojure.org/guides/getting_started

2: https://github.com/bhauman/rebel-readline

3: http://quil.info/
Actually, this power plant was old, but that was not even a proper argument to close this one. The safety assessments made on it classified it as safe, and representative of the average safety of the other nuclear plants in France. The decision is purely political, and the age is just used as a political symbol, nothing else. Otherwise, France would need to phase out the vast majority of its nuclear power within the next five years, and it would screw up the country.
I'm sure IBM has a Quantum Watson for this.
tar1090 pleases me. Thank you for bringing that up!
> In reality, it's impossible for a households to get a contract that follows market rate, you always pay the same per kWh no matter if it's Sunday or Monday, windy or calm.

In the UK you can use the Agile tariff from Octopus Energy (https://octopus.energy/agile/) which has half hourly dynamic pricing per electricity kWh. The next 24hrs worth of prices are released each day around 4pm and follow market cost. There’s a 12p/kWh surcharge between 4pm and 7pm during peak demand. Used in conjunction with a smart meter it bills per half hour usage and can go negative.

Twice in the last two week’s it has gone below zero due to recent storms. It’s a great tariff if you have an electric car to charge in the early hours when prices are cheapest and can reduce usage during the peak three hours. A home battery would also help out as it could be charged during cheap periods and discharged when prices are too high.
9 To 5 University Student
I wonder what Tesler thought about modern user interfaces in light of his "no modes" philosophy.

Today, each program/website effectively functions as a separate "mode" where everything potentially looks, behaves, and responds completely differently. There's no consistency and it's a huge part of the reason computers are frustrating to use for most people.
I'm not the OP, but share his views.

I wash my clothes in the washing machine, then hang them to dry, that's all there is to it. It takes time (about a day) and some space for the clothes hanger in a rather small apartment, but that doesn't bother me.
Deliver the documents via your HTTPS website, secured with a username, password, + 2FA if possible.

Send email just to notify the user that a document is available, providing a link to your website.
is it because you were small when you were child and thats why these spaces are bigger in your memmory than you experience them now. for example for my kids ceiling is 5 times theyr own heigt. that would be huge for adult me to have ceiling 10meter high.
Being in the UK myself, I'm curious about this.

Does Octopus provide the price of electricity at the current moment?

I had a quick look at their website but couldn't see anything obvious.
I think those links look interesting, can't speak for the rest of HN. If you don't want to post them, can I? (specifically that last one?)
Another thing I would love that I forgot to mention is hosted Kafka (or even hosted rabbitmq or similar), as I find them a pain to manage myself.
Thank you.

But how do you hang wet clothes and not ruin your floors?

Sorry if I sound stupid. American apartments aren't set up for this and I would rather handle it this way and I've had challenges.
"Laws are mainly pre written by the industry which is afraid..."
That's actually how lots of laws are written. Because when politicians write new laws, they listen to expert opinion. And the best experts come - of course - from the relative industry.

Sometimes this makes sense, and sometimes to inane protection of incumbent interests like happened with digital content (it's illegal to copy the DVD you've purchased etc).
We built guardrail[0] because we weren't happy with the output of the reference generators. We only support Java (Dropwizard) and Scala (akka-http, http4s, and endpoints.js) so far, however.

[0] https://github.com/twilio/guardrail
On sled 0.31 the memory growth does not run away as with the earlier version. Note that some in-memory metadata tracking does accrue as nodes split and sled tracks where to find them in the future when the actual data is paged in. But this is still a fraction of data stored.

The important thing is that sled is not stable yet. Don't bet your business on databases less than 5 years old. Sled doesn't turn 5 for a few more months, and I'm ironing out a few issues still that relate to production readiness. For now, treat it as a cache, as a responsible SRE would treat any database younger than 5 years old.
I audited 3 different implementation of async RwLock
From privacy point the standard is using separate identity for every action, if possible. - That's also a major bummer for Briar.
Advertising is far ahead of you: the driers have a feature to keep the clothes just damp enough for perfect ironing. The same driers have A+++ energy ratings, because progress. They carefully avoid hinting at a connection between these two because the virtuous ones are not in the market for a drier.
Interesting, I live in Denmark, and we pay a premium for electricity.. Average consumer price is 0,33 USD per KW/h, almost three times the US average.
The rules around deprecation and so on are at least intended to give a “better” picture about the health of some business, so it’s somewhat strange when we start going back the “lesser” data of cash flow.

As just one example, if you pay for supplies in one accounting period, but only sell (and get paid) in the next, cash flow will fluctuate widely, even if your business is entirely stable.
Ah! http://unsuck-it.com/
Exploring the galaxy in Elite is incredible, but just like everything else in the game, it's so damn boring and repetitive. FSD charging, jump, cooldown/fuel scoop. Repeat 1000x.
A theory on personal development for early stage founders
It means they are a member of the American Society of Cinematographers (ASC) and I believe the Australian Cinematographers Society (ACS).
A startup I worked for was constantly seeking to have everyone aligned on things. The original concept of having people pointed in the same direction was admirable, but it quickly became something like a capital-A ‘Aligned’ (meaning good) with the inverse capital-U ‘Unaligned’ being about the worst thing you could be. God help the person who found the word ‘Unaligned’ on their semester review...
You're being downvoted but you're correct. A glance at some of the potential Democratic presidential nominees tells the whole story: Biden (classic case of "weak-minded Democrats easily baited into acting like Republicans"), Warren (actually was a Republican, during the Reagan years no less!), Buttigieg (previously a firm supporter of M4A then was somehow persuaded to water it down to "Medicare for all...who want it") ... Bloomberg!
> Clojure still hasn't really found a niche

To me Clojures sweet spot was dynamically typed, functional programming with an extremely large ecosystem of tools (due to Java interop).
Of course. The cost is fairly small, though, since you only need to generate very tiny thumbnails, and can then just scale them up.
Except some places in Russia it's still common to go below -20, and in a post-global warming world, these areas will likely experience a new ice-age. Electricity is the best bet, as gas can freeze too, while copper just becomes able to carry higher loads.
That's why I added the qualifier "generally". When there's little or no intersecting traffic and no ambiguity about right of way, it seems perfectly safe to me to slow down but not completely stop at stop signs (i.e. the "Idaho Stop"). But I admit it's technically not legal where I am. Of course, most cars don't come to a full stop at stop signs in those situations either.
KidsGuard, spyware app, leaked phone data
1. Summers is not a neuroscientist. He is an economist, and he is ill equipped to make any meaningful claims about this.

2. Proposing a hypothesis is not doing science. Science would involve actually testing a hypothesis by applying rigorous and reliable methods that suit the phenomenon being investigated, verifying the validity of results, interpreting the results and having the results reviewed by peer experts.

3. Summers’ remarks were merely pulled out of his ass and we’re in no way informed by any scientific process.

4. He has crucially undermined the work of countless women working as scientists at Harvard, and therefore failed in his duties as leader of that world class institution.

4. He resigned as a result of a no-confidence vote from the faculty (i.e. all the smart people who work at Harvard), which underscores how shitty he was at his job and how dumb his remarks were.

> Lawrence Summers is the Galileo of our time.

5. lol
Is your SaaS – product led or sales led?
This is flat wrong. The Emancipation Proclamation was drafted in late 1862, the second year of the war when things were very much in doubt. Lincoln issued it in the wake of the major battle at Antietam, which was a brutal "tie" and the deadliest day in American history. The tactical purpose of the Proclamation to try to recapture the momentum and make it clear that the North was now on a path of total war with the South.
Would love to talk to you! Are you at ILM or a partner like Fuse or ROE? You can contact me at devin at techcrunch dot com, I'm working on more pieces on this tech.
Any Startups Hiring Intern's on J1?
What If Big Law Pulled the Plug on Legal Innovation?
I answered this in another post as well but this is straight up misinforming.

Generative models do not necessarily know P(X,Y), often they simply give samples of (X,Y) using some map

G: Q -> (X,Y);
Q~N(0,1)

Actually getting P(X,Y) would mean inverting G, which is not always possible (although there are some invertible GANs).

Computing P(X) is often computationally intractable as tracing out variables can be arbitrarily expensive.
Every industry thinks they are the ones who run the world. Plumbers are reasonably sure the world turns to shit without them, but I'm not sure you use a toilet.

This rant is more sad than entertaining, though I was on-board at the start of the comment. Plug back into reality, even just a little bit.
Nice, looking forward to your contributions. Let me know if you'd like to discuss anything upfront. On a general note, have you considered to rely on the schema of change events themselves (inline JSON schema, or Avro schema in a registry)? Not all connectors provide the separate schema history topic, you won't have to parse DDL and the synchronization issue is avoided at all. Happy to discuss in more detail.

Disclaimer: I'm the Debezium lead.
> I'm somewhat shocked that they do they not load those subsidies onto the electricity charge on consumers as a tax

They do both. The fixed amount is (officially) for infrastructure improvements, but there is an additional tax for consumption per kWh.

> Of course you can allocate people a higher initial rate they can use without paying tax upon the charge for things like disabilities, health needs etc

Probably too burocratic and inefficient in practice. Energy just has to be affordable for any household.
Most washing machines have the spin cycle which removes almost all water that could drip out. So I haven't noticed any water that drips out as such. Also, you have a specific place in some apartments for this with different type of floor.
At least in my small European country, I believe you can use a deprecation schedule for software as long you buy it externally, instead of creating it in-house.

The same is true for other creative work/IP. The reasoning being, I believe, that it is hard to appreciate (as in: set a monetary value) for such work. If you buy, you’ve given the open market a chance to work its magic and the price is believed to be closer to something like truth.
Unless I put too much in the washing machine that it can't spin properly, most things don't drip when they are hung up. And for thick wool jumpers that do drip we have a mesh thing to lay them on over the bathtub, and anyway the floor is tiled.
GP is being part sarcastic, part claiming that China would just keep it under wraps. It worked for the Soviets, for three whole days.
> What problem does revoking section 230 solve that antitrust law doesn't?

From the point of view of AG Barr, whose objective is to weaponize the DOJ for the purpose of expanding Russian oligarch interests in the US, revoking section 230 is effective because it is laser-focused on tech companies. On the other hand, antitrust law affects all monopolists in all industries equally - and most of those monopolists are Barr's allies. He doesn't want to bite the hand that feeds him.
Yeah, okay, to be fair, I was hand washing clothes, not machine washing. And I do recall living in Germany and there were places to hang wet things that we don't have in American apartments.

But I've seen some hang-to-dry things that could be used over a bathtub.

Thank you!

I at least have a place to start doing research.
Why Is Rust the Most Loved Programming Language? By Me?
I abandoned iOS when Apple made the decision to limit the programming languages you could use to write apps in (the infamous "section 3.3.1" change in 2010 that was quickly backtracked). That was probably the high water mark for control over the platform. Since then they have opened up the platform in various way, such as adding app extensions in 2014, but the rate is excruciatingly slow. Here it is 2020 and Apple is still "considering" whether to allow users to select a default web browser or mail client? Obviously this hasn't hurt them in the market, but personally I have no interest in a computing platform that works against its users like this.
yeah, le-be conversions are not generally measurable above noise compared to other database-related work.

sled stores arbitrary bytes. endianness is the concern of the person who wants to store higher-level types than bytes, like integers. I do imagine having a story for letting people deserialize/view bytes once, and having that view sit in cache so that hot items are not repeatedly deserialized.

I agree with Adya's work " Fast key-value stores: An idea whose time has come and gone " https://research.google/pubs/pub48030/ where it makes the case that stateful systems should not have to pay repeated deserialization and network costs. I want sled to be well-situated for the world that we're headed into, where this view will become more prominent. This means caching deserialized data, better replication stories, and maybe nice helpers for distributed database authors that allow for atomic tree splits / merges and per-tree replication settings.
Do I understand correctly from the article, that these negative prices are so that the suppliers can still claim their subsidy for supplying you. They are effectively giving you a cut of the subsidy?
> I'm not criticising the JPEG XL code, it seems to be quite clean at first glance!
Thanks, I understood your point about each project including its own definitions.
At one point there was http://www.bookofhook.com/poshlib/, but I'm not aware of anything similar that's maintained, complete enough but still small.

> That's a real worry. Not just because of the word "Windows", but what else it implies.
We have put a great deal of thought into an adoption plan. "This time is different" because we actually provide value to existing clients/servers with JPEG, rather than giving them yet another bitstream to store, or lossy transcoding that just adds more artifacts. The lossless JPEG transcoding is a game-changer, as is the feasibility nowadays of decoding via WebAssembly - even with SIMD for speed.

> If you stop with the JPEG XL library, with Windows compilation an afterthought
Good news, we are absolutely not stopping there. The project started in 2015. We're now moving out of the research phase and into productionizing, with integrations and plugins underway. Investing in such things too early would have meant less R&D.

> You'd have to do something drastic, like leaving the image planes unnamed and randomised
Interesting idea, thanks for this suggestion.
The market currently has some weird effects, but the 0 price you mention is not the price of electricity on the market. It is the price on the spot market in some days or hours. The whole market is larger than short-term traded electricity.
If you are the type of person that fiddles with Clojure and other functional languages (OCaml? Haskell? Scala?) I'm pretty sure you will change your mind on and off, in different seasons of your career :-)

I used to think only languages with good algebraic data types (mostly ML based) where worth my time... but types can really become an straight jacket in large programs and become tedious to use. Clojure code, when reasonably well structured, is not a bad solution for a lot of varied problems, and is beyond great for personal projects! Low ceremony, fast feedback loop, excellent performance, and a huge library of ready made quality libraries.
All modern washing machines spin >1000 RPM in the end. Clothes are pretty dry already after that, there's no dripping.
Thank you for your suggestion. It's not exactly what I look for but it can help me as inspiration.
Thanks.

Most US apartments have wall-to-wall carpeting, not wood or tile floors. God, how I hate it.
They do, they expose it via an API, so you can use IFTTT (or anything you make that's similar to this) to optimise when you use power.

This website does some analysis on the pricing: https://www.energy-stats.uk/octopus-agile/

The useful part is that, if a user of the tariff is sufficiently engaged, not only do they save money, but by shifting their demand to follow supply it helps with the increasing adoption of renewable sources.
Bloomberg's video was a lie, he kept talking after a second and the rest let him
Sales Development Representative – Philippines
https://www.nordpoolgroup.com/Market-data1/#/n2ex/table this is the market price you need to find out the margin + transmission costs yourself.
We called it storm Ciara in the UK. I wonder why we don’t unify names.
How to Say “Pgnttrp”
parents who "disown" their children" to make them look poor during college application

I'm sure this happens. Parents can also get divorced, the kid then becomes a dependent of a poor parent.

But it goes both ways. E.g. in a case I'm familiar with, a friend of my daughter:

1) her father died when she was young, IIRC a junior in high school

2) now she's poor, mother doesn't have or make much money. Fortunately there are things like life insurance and social security survivors benefits to help.

3) colleges like to give good financial aid packages to poor people.

4) mother remarries, but this is a 2nd marriage and so people are older, with existing children

5) now mother is part of a household with a lot higher income; sucks for the daughter because now she isn't getting jack-shit in terms of college financial aid

I certainly wouldn't expect her new stepfather to want to pay $20,000 or more per year tuition for an 18 year old girl whose mother he just married. Especially when he has his own kids to think of for college.

Unfortunately for the kid, community college became the only option.
I mean, you're complaining about high margins on mattresses, yet you were able to return two mattresses. Hell, you didn't even return the $2000 mattress because you disliked it, you just decided "nvm lol".

Is it not obvious that part of the high margin that you scoff at goes towards covering your (and everyone else's) ability to return one of the most unwieldy household items on a whim?

Your post makes me wish I could take $500 off my purchase price by checking a "waive ability to refund" box on the checkout page instead of paying extra to subsidize this sort of consumer behavior. ;)
We use the most expensive power provider in Germany (Greenpeace Energy) and it's also 0,33 USD per KW/h.
$ grep pgnttrp /usr/share/dict/*
/usr/share/dict/american-english-insane:pgnttrp
/usr/share/dict/british-english-insane:pgnttrp
/usr/share/dict/words:pgnttrp

What is pgnttrp?
I also found fascinating reading Herodotus book, we really haven't changed much in that regard.
Here is the code repository for the model https://github.com/chemprop/chemprop . I am surprised by the (high) quality of the code published there. It is quite a rare case in the academic world :).
I am always amazed to see trolls in this forum.

I see that you created the account in 2015.. that is a looooong time and only 34 karma? You must be a level 50 Troll by now.
On an extreme example:

Being 5 years old, having cancer, being in intolerable pain, and having no certainty that this torment will end sooner rather than later is a topic well worth discussing.

Another aspect is the impact to the loved ones. No father wants to see their child die. No father wants to pull the plug on their child. But no father wants to see their child screaming in pain for months and months and months.

Please put aside the cost of the bullet, US elections, politics and process this instead. And if you can, please rejoin the dialogue using your love, not your hate.
can some1 please please make a html/pwa version of this?
House coal and wet wood to be phased out by 2023 to cut pollution
It's generally fine to mark down your assets faster than they actually become obsolete, so you can take all the depreciation in year 0 if you want. Marking them down slower and overstating profitability is not so cool.