HNHacker News
TopNewBestAskShowJobs

lancebeet

1,045 karma · joined October 4, 2017

submissionscomments
lancebeet··on Mitmproxy 9: WireGuard Mode
I use mitmproxy (mainly mitmweb as a reverse proxy) on a daily basis to test and debug front-end applications. Mitmproxy allows me to reach application states that would otherwise be unreachable without modifying the application code. There are or course alternatives but mitmproxy is very capable, the mitmweb ui is really convenient and the scripting interface is a pleasure to use.
lancebeet··on Why Is Markdown Popular?
It's also amusing given that Microsoft teams has at least limited support for markdown. Depending on how you define a markdown user, it may be a that the majority of people typing markdown have never written a line of code but have discovered the convenience of markdown from being power users of Microsoft teams.
lancebeet··on My dad's resume and skills from 1980
I can recommend Gary Bernhardt's execute program[0]. One of the courses offered is "Modern Javascript" which goes through additions in ES5 and ES2020. There are also multiple courses on typescript. It does cost some money, but there are occasionally special offers.

[0] https://www.executeprogram.com/

lancebeet··on Ask HN: Is it possible to have a structured work day in software dev?
The way I see it, the pressure has been "outsourced" to the employer rather than being an implicit pressure on the employee. Western European companies can also require workers to be on pager duty or work outside normal working hours, but it needs to be treated as actual work, adhere to the regulations, and be appropriately compensated. Prohibitive costs may convince the employer not to exercise this option and instead "outsource" the pressure to employees in areas with more lenient regulations. This is the choice of the employer, not of the employee working in the western European country.
lancebeet··on Helix: A Neovim inspired editor, written in Rust
I use vim with ale. Linting, go-to- definition etc. for typescript (or really any other language I use) just works automagically. It took more effort to get it working in vscode. I haven't tried neovim or helix yet. They both seem great, but it seems to me that people here might be slightly exaggerating the difficulty of getting this working with regular old vim.
lancebeet··on Ask HN: Why is Microsoft Teams still so bad?
I have also experienced this but I'm quite sure that it was a bug in my cases. Is this actually a service they offer?
lancebeet··on The movie Hackers was released 27 years ago
One of the most amusing quotes in the movies given how obvious the statement must have seemed at the time. Tanenbaum made a statement hinting at the same development in the famous usenet debate with Torvalds in 1992.

"Of course 5 years from now that will be different, but 5 years from now everyone will be running free GNU on their 200 MIPS, 64M SPARCstation-5."

lancebeet··on About Lockdown Mode
>Overall it's very interesting to see Apple invest so significantly in something that will benefit relatively few users -- not that I'm complaining!

Getting world leaders, celebrities and CEOs to use their devices might make this part of their marketing budget.

lancebeet··on Ask HN: Which software do you use for your presentations?
I usually run beamer for presentations but I've been looking for a markdown alternative for some time, since it would allow me to transform notes into presentations quickly. This package looks really promising. Thank you for sharing it.
lancebeet··on Increased wind turbine rotor blade visibility to reduce avian fatalities
You can put a bell around their neck, which apparently reduces their catch by half[1]. The cats usually don't look happy about it though.

[1] https://www.publish.csiro.au/wr/WR09127

lancebeet··on Coping with Copilot
I wasn't allowed to have a calculator until I was around 10 or 12 years old. I didn't like it at the time but now I'm quite happy about it.
lancebeet··on Swedish tech startups and scaleups
This art style is called "Alegria" or "Corporate Memphis".

https://en.wikipedia.org/wiki/Corporate_Memphis

lancebeet··on Choosing Julia, Matlab, Python or R in economics?
I think what he/she is looking for is the Poisson-Binomial distribution[1]. There is mention of one python package in the wikipedia article[2], but it doesn't seem to be widely used. There's an open issue from 2016 to implement it in scipy.stats[3].

[1] https://en.wikipedia.org/wiki/Poisson_binomial_distribution

[2] https://github.com/tsakim/poibin

[3] https://github.com/scipy/scipy/issues/6000

lancebeet··on Excel never dies (2021)
I find this statement quite fascinating because despite my limited experience working with excel I've seen countless compatibility issues, caused either by change of version of excel or change of locale. Perhaps this is caused by user error, but then it sure seems easy to make these mistakes.
lancebeet··on European Central Bank rises rates by 0.5%
Well, it's a "medium term" goal. Medium term in economics generally refers to a timescale of 2-10 years. Pushing the inflation down to 2% this year would be unreasonable, but they may be able to push the inflation rate down below 2% in the upcoming years to at least partially compensate for the high inflation rate this year.
lancebeet··on Show HN: This Food Does Not Exist
I ran it locally and it generated images as PNGs in the "generated_images" directory (named 0.png, 42.png etc. after the seeds provided to the script). If it works and does the same in the notebook, you should be able to click the folder icon in the menu on the left to open the file browser, expand the "generated_images" directory, then click the ellipses next to each file to select "Download".
lancebeet··on Flu vaccination linked to 40% reduced risk of Alzheimer’s disease
It's quite remarkable that an effect of this size on such a large group seems to have gone undetected for such a long time. As a layman, I would almost have expected geriatricians to have made the observation during their own practice.
lancebeet··on Engage with an unemployment algorithm
Unemployment sure doesn't seem to be a big issue for front-end developers in Denmark.
lancebeet··on Web scraping with Python open knowledge
In my experience, XPath selectors are easier to write but usually result in selectors that are less robust to DOM changes. It is possible to write reliable XPath selectors as well, but I often see XPath selectors breaking because of implicit assumptions about the DOM structure. I don't see this as often for CSS selectors since they encourage you to make more explicit assumptions.

This is in the context of test automation of modern web apps with a virtual DOM. I'm sure things might be different in other areas.

lancebeet··on Time Traveler by Merriam-Webster: Search Words by First Known Use Date
Many of these seem dubious but there seem to be no sources so there's no way to check what they actually refer to. Pretty annoying.
lancebeet··on Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs
This is a really clever project. It seems like an obvious idea once you've seen it, but it clearly isn't. Thank you for sharing it.
lancebeet··on Wordle and grep
I was also curious about this as I use grep -P (for PCRE regexes) if I need to use them. Looking at the manual, lookaheads and lookbehinds don't seem to be supported by regular gnu grep or grep -E, so you do need to use grep -P for them.

https://www.gnu.org/software/grep/manual/grep.pdf

lancebeet··on Paleontologists Are Trying to Understand Why the Fossil Record Is Mostly Males
I think that's unnecessarily dismissive. Males do tend to have higher bone density among other things. Such things could contribute to the DNA being better preserved. I think it's a perfectly valid question in our layman conversation, even though it's certainly something the researchers of this field have already thought about.
lancebeet··on NotepadNext: A cross-platform reimplementation of Notepad++
There seems to be at least one person agreeing with you: https://github.com/notepad-plus-plus/notepad-plus-plus/issue...
lancebeet··on Sweden sends just 1% of its trash to landfills
What you say is true, but the alternative used by neighboring countries right now is that the garbage is buried in the ground while gas, oil and coal are produced or imported and burned in the place of trash.
lancebeet··on An AI designed keyboard layout (2021)
Now that the doors of pedantry have been opened, the sources used in the article don't actually specify that it was a Finnish "road sign" first, only that it was first suggested as an official symbol by the Finnish national local history association in the 1950s (having been used in all of the nordics in an unofficial capacity a lot longer), and that it started being used in all of the nordics in this official capacity in the 60s. The sources that say where Susan Kare got the inspiration more specifically than "from the nordic/Scandinavian countries" all seem to state a Swedish road sign, though exactly where she/apple got the inspiration (if they even remember correctly) is probably unimportant.
lancebeet··on High prices will outlast the war
There's a significant difference. American society is largely built around the use of cars. Large parts of the US are unlivable without a car. In Europe, this is much less common.
lancebeet··on Mapping and Seizing the Oligarchs' Assets
>Pretty much. San Francisco fired the SF Symphony Director because... he's from Russia.

Who would this be? A casual googling shows an individual from Finland has been the director since 2020. What am I missing here?

lancebeet··on My journey for dual displays with my M1 Pro Mac (2021)
I have a USB C monitor and a second monitor connected to the first monitor with a DP cable. The USB C cable is connected to a ThinkPad x270 (a machine from 2017) running linux. Am I missing something regarding TB vs USB C + DP, or are you saying that this setup wouldn't work on a newly released MacBook? It sounds pretty unbelievable to me.
lancebeet··on Learn the Cypher query language in 10 days
Does anyone here know if there is any fundamental difference between memgraph and neo4j? It looks to me like there is roughly feature parity between them, but I am not very familiar with graph databases. As I understand the Cypher language is used by both.
← PreviousPage 4 of 8Next →