skysight-inc/HackerNews huggingface dataset:
> I've never thought that what was good about the command line was that a terminal and shell are different... I don't actually know anyone who uses plain TTYs for their Shell. If you use a shell today it's 99% running inside of [iTerm2,terminal.app,Gnome Shell,uxrvt,alacritty,etc] on top of a window system.

Interactive shells can be used without opening a graphical terminal. Simple examples are calling :shell from vim, or S in the `ranger` file manager, or entering a docker container, or using ssh.

Terminals can also be used without a shell. For example, I have keybindings for opening a terminal with a file manager, or with vim, or with vim with the clipboard contents and special vim keybindings to handle it, or with nothing on it (a process that sends a stop signal to itself). This last one is to get a new unused terminal window to which I can redirect stuff. For example, with `gdb -tty` I can interact with a program from one terminal, while having another terminal control it with gdb.

They really are 2 separate types of programs that are useful on their own, and their separation allows for more flexible handling, like how separate programs can take control of the terminal at separate times, like how it happens with vim's :shell, etc.
Oracle is a decent product with all the features that you could want if you are an Enterprise and in addition they have the support for all that. Postgres has most if not all of them at this point, but if you want support you have to pick from one of many vendors.

Having used many RDBMS, one thing I very much liked about Oracle was the bitmap index. Very very useful for some performance issues that a b-tree cannot solve.
What’s politically being done against (IoT) botnets? Are members of such forced to take their devices offline?

Is there larger scale accessible research on these botnets and the devices they affect?
Because Apple doesn't break out the money from the App Store from the rest of their software/services business, and iOS isn't free, it's licensed with the purchase of a iOS device. If money from every iPhone sold goes into the software/services budget, one could conclude there's enough money coming into that budget from device sales to pay for their CDN/developers/etc.
I assume target market is for companies trying to maintain "security" in at-home networks during wfh?
is there another option? I personally would probably never have taken up programming at all if I had to sit through a year of high level concepts before I tried to apply a compiler to some source code.
What you mention is a genuine concern (however as far as I understand the issue is not precisely that one - it's not generally efficient for farmers to use their own seeds anyway), but I'm talking about people that think that GMO food is going to harm their health for nebulous reasons.
If you're interested in high-performance Clojure, these articles are good:

https://dragan.rocks/articles/18/Fluokitten-070-map-reduce-p...

Fluokitten and Neanderthal are great for high performance numerics. Can't really get any faster than Neanderthal (which uses MKL and the GPU for compute). And fluokitten can make working with arrays a bit nicer, in that it'll look a bit more like working with sequences, though you still need to be careful about the functions you use with it to avoid boxing.

https://clojure.org/reference/java_interop

Read the section about type hints and working with primitive types and the optimization tips section.
You have now been subscribed to Barrel Facts. Whiskey barrels are really expensive and the method to make certain types is passed down through generations. The tightness of the barrel and the type of wood are both considered as the wood will expand a bit from absorption of its contents. An amount of whiskey loss is accepted from evaporation of the contents through the porous wood of the barrel. A considerable expertise is necessary to create quality barrels. [1][2][3]

Each type of wood is used for aging different spirits. Oak is most common in whiskey and wine making. Sometimes the barrels are even smoked near a fire to impart a unique flavor into the alcohol that will be held in the barrel. A used barrel is very desirable and can go for higher prices on the open market than even a quality new barrel. This price parity is due to the unique flavor that can be impacted by using a used wine barrel for whiskey, used whiskey barrel for wine, or some other unique alternation of barrel contents.

Barrels that are hundreds of years old, and thick with aged bacteria are used for making traditional Japanese soy sauce. These special family heirloom barrels will be used for many generations before they are eventually retired. [4]

[1] https://youtu.be/ccoHCSKMf-E

[2] https://youtu.be/GE7QA1chUzw

[3] https://youtu.be/kaXvFw8ve_I

[4] https://youtu.be/1mc2g8Ue-hI
I was talking to my physio today (doing fine thanks for asking), and she was fed up about having to prove that a client had not paid her - manually matching payments into her bank account with appointments etc. It wasted an hour of her time or more.

Now the heart of that is 5 lines of python. It could be written by anyone after a days "starting from zero" coding experience.

But actually solving that in real world is a mess of just trying to access the data - it's her data and she only wants to see her bits. But the level of effort is ridiculous.

Anyway my point is that solving problems like software for doctor's offices is not the point - that's just building another silo. A doctor who has (secure) access to a industry wide common open data layer can do all the work to run their office themselves.

In short we are trying to solve the wrong problem - usually because proprietary code is not a profitable as proprietary data
There is no legal penalty for refusing the vaccine. You still have the choice to undergo testing instead. Mandating either testing or vaccination is a perfectly reasonable workplace safety requirement during a pandemic. No one's bodily autonomy is being violated by this rule.
> Many papers will report a p-value only if it is below a significance threshold, otherwise they will report "n.s." (no statistic) or will give a range (e.g. p > .1).

But the oddity here is a pronounced trend in the reported p-values that meet the significance threshold. The behavior you mention cannot create that trend.
Used this for a small linux GUI proof-of-concept.

I really liked it. It was awesome to use something I'm familiar with (Next.js) and have it drive the UI. Resulting application was indeed about 1MB after all said and done.
Can you go the other way, OLD enough that the relevant CPU features simply don't exist?
Alternative to a smartwatch for people who don't like wearing watches, or can't wear them in some situations. Alternative to Bluetooth headsets. Heads up display for workers and athletes who don't want to keep glancing down at a watch.
I really like your landing page! In love with the little triangles everywhere, haha.
I'm not the target group for a headless e-commerce solution, but I think your landing page makes it more clear to visitors what your software is about. In contrast to the main article, which left me wondering what Medusa exactly is.
> our "text window" is drawn using OpenGL and GNU unifont (this is something that really needs to change BTW)

What would you change it to? I've implemented a GUI toolkit from scratch a couple times, and text editing was the hardest part by far.
Saving encrypted stuff on a server is more properly known as client side encryption[1]. Any instance of cryptography used to protect the contents of anything in any way is commonly referred to as end to end encryption these days. Fortunately, the misuse of the term can serve to identify an entity with poor understanding of the technology they are try to sell you.

[1] https://en.wikipedia.org/wiki/Client-side_encryption
> So it's not economical for the offending parties to continue such behavior.

Of course it is. The only needed change is to take adequate care to not leave incriminating evidence such as emails around.
I am using xubuntu and I love it.
Gardening and making decorations for Halloween.
> But you'll have to get the covid vaccines over and over and over.

Citation please, my impression was that whether the vast majority needs a third shot ist still not decided but it's possible which is why governments prepare.
Google Displaying Header Tags Instead of Titles for Search Snippets
The ACLU's 2008 report on pandemic preparedness [pdf]
The secret superpower is: explaining stuff to others, preferably with a whiteboard session.
It's ridiculous that any states still have these antiquated laws requiring franchising for car dealerships. They serve no purpose other than to enrich middlemen.

It'd be nice if they could be struck down federally.
Because Apple doesn't allow other form of app distribution? It'd be fine if they allow third party stores like Android.
It'd give me whiteboard sessions back with my coworkers. The non-productivity boosting feeling of hanging out in the same room. The productivity boosting of having as many displays wherever I want them.
I believe that's also why there are so many options for turning fully trained TensorFlow graphs into C++ code.

You use the expensive GPU for building the AI, then dumb it down for mass-deployment on cheap CPUs.
Distributions tend not to like cross-compiling, because it's not as flexible (how do you run test-programs?) and sometimes has bugs you don't have when native compiling.
It doesn't require a hot knife:

https://www.youtube.com/watch?v=2zs34npA41I
But it's £1.55 for up to an hour of new bus journeys in the system. So this means you can reasonably take two (or more) buses if that's a sensible way to make your journey rather than considering that each is priced separately so you should try to choose only the single longest bus journey for your trip.

You can do this with the tube, although it's less often necessary, e.g. suppose you're at Barbican and you live in Amersham. It might happen that your tube from Barbican turns into a Fast to Amersham and that's actually a reasonable way to get home. But much more likely you should disembark at Baker Street, leave the station, walk a few minutes to Marylebone, tap back in and board a mainline train to Amersham, since that's actually the same exact system and counts as a single Oyster journey between Barbican and Amersham.
I actually like SQL Developer, though I haven't used it in quite awhile. Remember it making my life a lot easier though!
What are the dangers here? What happens if that thin insulation between the copper bars breaks? Can the current jump to you if you use this bare handed?
Penalties just have to be set correctly.

If I don’t pay a parking meter I’m likely to lose up to 100x as much as I saved… if Google doesn’t pay its employees…
I can't remember the source so take this as you will, but WhatsApp are appealing such a large fine because the privacy policy was in the middle of being updated during a transition. The policy was correct after the fact and ever since.
The magnetron can have insulators made of a toxic substance that can be dangerous as a dust. This guy is just using the transformer for it's convenient laminates and primary winding - probably could have used a similar transformer with suitable current handling capacity but dead microwave ovens are fairly common. I have 3
Now someone make a Linux Subsystem for Windows GUI.
Also Sega Zaxxon iirc, the only original PC game I had back in the 80s. (I guess the copy protection scheme kinda worked?)

"Cracked" copy:

https://archive.org/details/msdos_Zaxxon_1984 (it's kinda hard)
On Reading, Creativity, and Self-Reflection
Apex Up – Serverless applications and APIs in seconds
Ask HN: Feasibility of continuous automatic browser record and replay
I am curious if this is possible, and if it is, I would like to know whether there is plugin that already exists or if there is an API or SDK I can look into.

I want to be able to record and replay the last 30 seconds of my browser activity. I know there are manual tools to do this where I click a button and it starts recording my browser activity. That is not what I want. I just want a plugin that sits in the back and continously keeps the last 30sec of any session so that I whenever at any point I click replay, it will playback the last 30 seconds of my session.

I am also thinking of just building it if it doesn't exist and would be glad to hear what kind of APIs I should look into. I have done plenty of development but I have not done any browser extensions.
> > How often do people really plan trips? ... probably once or twice a year if you're lucky.

> Many many people use travel planning software as escapism

Heh yeah I caught that too. My wife plans many, many trips per year - but we certainly don't go on all of them, hah. The planning is a hobby in itself.
The only reason why the turn around time is 2-3 days is bad logistics as the PCR itself only takes a few hours
Imagine you have a system which services 50 states. In the vast majority of cases, states only look at or mutate information on their own state.

In that case, you can easily split the data between shards based on ranges of an integer key. It's very easy to code, test, deploy and understand such a design.
dir works because it's actually an alias of Get-ChildItem, which returns a list of objects (DirectoryInfo or FileInfo). My example was specifically a list of paths that are not objects but just strings.
This assumes a 100% success rate of catching such behavior.
With ubiquitous contactless payments there is no longer really a use for Oyster cards for pay-as-you-go journeys.

I think it's really only useful for season tickets now, which is probably significant so I don't think they'll disappear any time soon.
This is essentially what the new fare card in Philadelphia is. It's implemented as a prepaid MasterCard that can also hold transit specific passes.

https://en.wikipedia.org/wiki/SEPTA_Key
In the discussion of their fulfilling the request, the data they provided was described as the IP during account creation. If that was accurate then it is a neat trick that law enforcement knew which accounts would eventually be of interest.
That is completely true, but the product is actually very cool. I wish there was a database agnostic version of the product as it is such a great concept for many business apps.
Shun! Shun!

Just kidding. We all want to know what you're working on.
As long as you know what you're doing. If you're throwing an ORM like Entity Framework at a problem because you don't understand SQL, then you're going to see poor performance.
Hi, sorry to bother you, but I got the Pomera DM30 and can't seem to figure how to disable the Japanese substitution for the text. Every time I enter English text and add a punctuation mark everything changes to Japanese. I have switched the interface to English, that was pretty straightforward.
I was there for this! I actually use this as an example of a perfect mini-batch project to anyone who's skeptical of what they can get done in a week.
If only there was some way of taking those trees, and storing them under the earth instead of waiting for them to burn?

You could give it a goofy name, like “landfill”.
I completely agree with this, and I think the frequency with which people use Zillow is proof that there's a whole lot of advertising to sell around products that are aspirational, detail-heavy and very common for people to think about (vacations, buying a house/car, etc).

"Zillow for Traveling" is much closer to something that makes sense, but probably has a very small overlap with the actual work required to make a tactical planning application, which is extremely boring and probably bad to start out building.

I'm not really sure where to go with this, other than I would really love something that would let me zoom in on individual destinations and see what's popular / what "trips people do" that's a bit more guided than TripAdvisor / Yelp / Foursquare and a bit more of a journey than looking at ratings for individual things.
Docker has with no doubt much better UX. It just works and it’s very easy to use. For podman is seems you need a bit more knowing what you are doing. You need to know iptables. With Docker your database container is reachable in the Internet automatically. Not possible to lock it down with iptables rules. (Could be a disadvantage too.)
I have a special level of hate for oracle full text searches as well, which requires embedding an additional complex search syntax into a text string, so you can't use binds in any reliable way without sanitisation.

There is no interface that I can see that takes a temp table or set of parameters.

I've also grown to dislike their (+) syntax. Super convenient but mixing the left joins into the WHERE clauses makes them get lost pretty easily.

I've also spent a ton of time with mystery crashes in large queries in PHP and Java where the crash only seemed to occur if the prepared statements had \r\n instead of \n, or went away on clearing statement cache until next time a set of statements were loaded.

Oh, and the annoying VARCHAR limits - thankfully higher than the 4000 it was at for a long time, but still irritating even now. Trivial example: select listagg(level,',') from dual connect by level <= 8000
Wolfram is working on another idea, based on graph rewriting. Which is perhaps like a cellular automata whose rules can create more cells instead of working on a fixed grid, but, at this point it's not "cellular" anymore.

Wolfram has an.. issue in that he focuses on qualitative results (he runs simulations, eyeball it and tell something about it), but, I'm pretty excited by this development.

https://www.wolframphysics.org/

https://writings.stephenwolfram.com/2021/04/the-wolfram-phys...

https://writings.stephenwolfram.com/2020/04/finally-we-may-h...
Real programmers encode emptiness as ZZZ...

(I once worked maintaining a MUD that used internal memory management and marked block terminals (which were unnecessary since it stored the length of blocks it had allocated) with ZZZ)
PSA: Apple's 14.7.1 Software Update made my iPhone 12 Pro unusable
I am on AT&T with an eSIM. I updated to 14.7.1 and am getting "SIM Failure" when I try to do anything. Cannot connect voice or data.

I have tried:
- Going to AT&T store and getting a physical sim to replace my current eSIM (no dice)
- Resetting network settings
- Resetting entire phone

Do NOT update to 14.7.1 if you are on AT&T and have an eSIM! Save the hassle!
I don’t know for sure. Most think it’s natural to take the vaccine if it’s approved like other vaccines. It’s not like we don’t have antivaxxers here.
I can only add 4 holdings to my watchlist, 2 to my portfolio. There's also like 5 CTAs to upgrade my account on my home page.

I'm invested because I like the hn community but if I found this app on reddit or from a google search the second I saw the limitations on holdings and watch list I'd totally dip.

The app is screaming at me to spend 10 bucks and part of me wants to, I think the sentiment analysis integration could be valuable but I can't hear my own thoughts over the big orange buttons demanding my money...

Let people fill out their portfolios and watch lists, if there is a timed trial let them use the services, maybe they scroll through the curated news and the tweets, the sentiment analysis, they throw some money at a ticker and come up a few percent and decide it's worth 10 bucks a month to do it again.

Like what is the time limit for? There is a time limit and a feature limit? Choose one?

I don't care that much about being able to modify the colors on my table, I kind of like it but like green and red are great if you're not color blind, and if you are just put a little toggle in another tab instead of taking up half of my screen with these little hue shifters.

The market performance tab is kind of cool but I have to drop my mouse at the far edges to scroll or I'm scrolling the inner tables, might work better as a tabbed interface to swap between but I don't feel strongly about this part.

As it stands I'm just going back to the other 15 tools that do this. Sorry not trying to be harsh, I'm just a very active consumer of these tools.
who says they won't review the payment processors? they obviously won't allow apps that they consider scams
We kludged together an apex reporting solution to replace an old payroll UI. It was quick to work with in relation to the number of reports we were able to publish.
the mechanism is turning the heat up to 11. Whatever money they saved, 20x it and fine them. Do it for every minor infraction until they comply. Drag their executives in front of a camera and make them issue a public apology. What are they gonna do, drop out of the entire European or Asian market?

The problem is just lack of political willingness to reign them in, nothing else.
Agreed. Executives need to start getting personal punishment if we want corporate behavior to change.

Alternatively, start issuing fines such that it’s X percent of revenue plus Y percent of salary from all employees. Even a fine of 1% of annual pay would light a big angry fire under most employees, and perhaps incentivize them to stand up to the execs and refuse to follow illegal or unethical decisions.
I ordered one of these and applied all of the recommended "fixes. The unit failed after two spot welds. I would not recommend and my experience seems to be mirrored across the internet.

The Malectrics kit is drasticly superior with reasonable price and resale value tends to be high if you're worried about limited use against cost to aquire.
How do you handle the boundary between typed and untyped? My experience is that this is where things fail, because most code you'll want to leverage will be untyped.
How soon for anyone outside of US to participate?
Well, everything is securities fraud, so why not?

https://www.bloomberg.com/opinion/articles/2019-06-26/everyt...

https://www.bloomberg.com/opinion/articles/2021-06-22/everyt...
The crux is that one needs to be willing to pierce through the pretend veil of separation:

> “the correct outcome from a compliance perspective” and could place the staffing companies it contracts with “in a difficult position, legally and ethically”.

The systemic abuse of subcontracting companies to undermine the rule of law by these large corporations needs to stop. But it only will if executives at Google would face the same consequences as executives at the subcontractors (which tend to escape criminal punishments as well by hiding behind multiple shells and false ids).
It's still crazy expensive. An annual ticket for zone 1-5 costs 2500 pounds. For that price you get two annual adult tickets for all of public transport in Austria or 80% of a ticket for all of Switzerland.
If not being robbed is so important that it justifies buying locks we might actually decide that robbing should be illegal and punishable by jailtime....
While not a part of the community myself and it being hard to judge people's intent, it really does seem artistic subsets of the community genuinely want to support their peers. For context, I follow a bunch of NFT photographers on Twitter (most of them I followed before NFT was a thing) and the community seems really positive. I have absolutely no interest in feeding the environmental disaster that is ETH, but I recognize some people see it as a legitimate way to support creators.
> When my Rust program panics and prints that it failed in my_crate::foo::bar function, I want this to be a hyperlink to the source code of the function.

I had some success with good old plan 9 plumber (via the plan9 from user space distribution for Linux/Mac). You can define you're rules for which text to match under which context and it can send data to other programs, which can be scripts that talk to your editor and translate the clicked text into the right file and location to open.
For those that don't know, this will only be available in Windows 11, see https://github.com/microsoft/wslg/issues/347#issuecomment-87...
Well it's only 2 volts. So nothing will happen. Unless your hand is all sweaty maybe. Then maybe you'll feel it. I wouldn't worry.